22 #ifndef __MYGUI_RESOURCE_MANAGER_H__
23 #define __MYGUI_RESOURCE_MANAGER_H__
48 bool load(
const std::string& _file);
64 void unregisterLoadXmlDelegate(
const std::string& _key);
67 bool isExist(
const std::string& _name)
const;
70 IResource* findByName(
const std::string& _name)
const;
73 IResource* getByName(
const std::string& _name,
bool _throw =
true)
const;
75 bool removeByName(
const std::string& _name);
84 size_t getCount()
const;
88 bool _loadImplement(
const std::string& _file,
bool _match,
const std::string& _type,
const std::string& _instance);
92 typedef std::map<std::string, LoadXmlDelegate> MapLoadXmlDelegate;
93 MapLoadXmlDelegate mMapLoadXmlDelegate;
97 typedef std::vector<IResource*> VectorResource;
98 VectorResource mRemovedResoures;
105 #endif // __MYGUI_RESOURCE_MANAGER_H__
std::map< std::string, IResource * > MapResource
delegates::CDelegate3< xml::ElementPtr, const std::string &, Version > LoadXmlDelegate
Enumerator< MapResource > EnumeratorPtr