Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
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
#define US_MSVC_POP_WARNING
#define US_HASH_FUNCTION_FRIEND(type)
#define US_MSVC_PUSH_DISABLE_WARNING(wn)
US_MSVC_POP_WARNING US_Core_EXPORT std::ostream & operator<<(std::ostream &os, const us::ModuleResource &resource)
bool operator<(const StaticParameterMap::ValueType &a, const StaticParameterMap::ValueType &b)
Compares two var lists and returns true if the first list's first item is lower than the second one's...
#define US_HASH_FUNCTION_END
#define US_HASH_FUNCTION_NAMESPACE_BEGIN
#define US_HASH_FUNCTION_BEGIN(type)
MITKCORE_EXPORT bool operator!=(const InteractionEvent &a, const InteractionEvent &b)
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
#define US_BEGIN_NAMESPACE
#define US_PREPEND_NAMESPACE(name)
#define US_HASH_FUNCTION_NAMESPACE_END
US_HASH_FUNCTION_NAMESPACE_BEGIN return arg Hash()