22 #ifndef USMODULEVERSION_H
23 #define USMODULEVERSION_H
25 #include <usCoreExport.h>
30 # pragma warning(push)
31 # pragma warning(disable: 4251)
58 friend class ModulePrivate;
60 unsigned int majorVersion;
61 unsigned int minorVersion;
62 unsigned int microVersion;
63 std::string qualifier;
65 static const char SEPARATOR;
105 ModuleVersion(
unsigned int majorVersion,
unsigned int minorVersion,
unsigned int microVersion);
115 ModuleVersion(
unsigned int majorVersion,
unsigned int minorVersion,
unsigned int microVersion,
const std::string& qualifier);
160 static ModuleVersion ParseVersion(
const std::string& version);
168 bool IsUndefined()
const;
175 unsigned int GetMajor()
const;
182 unsigned int GetMinor()
const;
189 unsigned int GetMicro()
const;
196 std::string GetQualifier()
const;
208 std::string ToString()
const;
255 # pragma warning(pop)
263 #endif // USMODULEVERSION_H
US_Core_EXPORT std::ostream & operator<<(std::ostream &os, const us::ModuleVersion &v)
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)