23 #ifndef USMODULERESOURCE_H
24 #define USMODULERESOURCE_H
35 class ModuleResourcePrivate;
36 class ModuleResourceContainer;
121 bool IsValid()
const;
126 operator bool_type()
const;
140 std::string GetName()
const;
156 std::string GetPath()
const;
164 std::string GetResourcePath()
const;
178 std::string GetBaseName()
const;
192 std::string GetCompleteBaseName()
const;
209 std::string GetSuffix()
const;
226 std::string GetCompleteSuffix()
const;
251 std::vector<std::string> GetChildren()
const;
261 std::vector<ModuleResource> GetChildResources()
const;
275 time_t GetLastModified()
const;
279 ModuleResource(
const std::string& file,
const ModuleResourceContainer& resourceContainer);
280 ModuleResource(
int index,
const ModuleResourceContainer& resourceContainer);
283 friend class ModulePrivate;
284 friend class ModuleResourceContainer;
289 std::size_t
Hash()
const;
291 void* GetData()
const;
293 ModuleResourcePrivate* d;
312 #endif // USMODULERESOURCE_H