18 mSingletonHolder(this)
37 mIsInitialise =
false;
43 mRegisterFactoryItems[_category][_type] = _delegate;
48 MapRegisterFactoryItem::iterator category = mRegisterFactoryItems.find(_category);
49 if (category == mRegisterFactoryItems.end())
53 MapFactoryItem::iterator type = category->second.find(_type);
54 if (type == category->second.end())
59 category->second.erase(type);
64 MapRegisterFactoryItem::iterator category = mRegisterFactoryItems.find(_category);
65 if (category == mRegisterFactoryItems.end())
69 mRegisterFactoryItems.erase(category);
74 MapRegisterFactoryItem::iterator category = mRegisterFactoryItems.find(_category);
75 if (category == mRegisterFactoryItems.end())
81 MapFactoryItem::iterator type = category->second.find(typeName);
82 if (type == category->second.end())
86 if (type->second.empty())
120 MapRegisterFactoryItem::iterator category = mRegisterFactoryItems.find(_category);
121 if (category == mRegisterFactoryItems.end())
125 MapFactoryItem::iterator type = category->second.find(_type);
126 if (type == category->second.end())
#define MYGUI_ASSERT(exp, dest)
#define MYGUI_LOG(level, text)
static std::string getFactoryRename(const std::string &_categoryName, const std::string &_factoryName)
void unregisterFactory(const std::string &_category, const std::string &_type)
bool isFactoryExist(const std::string &_category, const std::string &_type)
static const char * getClassTypeName()
void registerFactory(const std::string &_category, const std::string &_type, Delegate::IDelegate *_delegate)
IObject * createObject(const std::string &_category, const std::string &_type)
void destroyObject(IObject *_object)
MYGUI_SINGLETON_DEFINITION(ClipboardManager)