34 bool load(
const std::string& _file);
52 void unregisterLoadXmlDelegate(std::string_view _key);
55 bool isExist(std::string_view _name)
const;
58 IResource* findByName(std::string_view _name)
const;
61 IResource* getByName(std::string_view _name,
bool _throw =
true)
const;
63 bool removeByName(std::string_view _name);
67 using MapResource = std::map<std::string, IResource*, std::less<>>;
72 size_t getCount()
const;
74 const std::string& getCategoryName()
const;
78 bool _loadImplement(
const std::string& _file,
bool _match, std::string_view _type, std::string_view _instance);
82 using MapLoadXmlDelegate = std::map<std::string, LoadXmlDelegate, std::less<>>;
83 MapLoadXmlDelegate mMapLoadXmlDelegate;
87 using VectorResource = std::vector<IResource*>;
88 VectorResource mRemovedResources;
90 bool mIsInitialise{
false};
91 std::string mCategoryName;
92 std::string mXmlListTagName;