Struct GuidPrefix_t
Defined in File GuidPrefix_t.hpp
Struct Documentation
-
struct GuidPrefix_t
Structure GuidPrefix_t, Guid Prefix of GUID_t.
Public Functions
-
inline GuidPrefix_t()
Default constructor. Set the Guid prefix to 0.
-
inline bool operator==(const GuidPrefix_t &prefix) const
Guid prefix comparison operator
- Parameters
prefix – guid prefix to compare
- Returns
True if the guid prefixes are equal
-
inline bool operator!=(const GuidPrefix_t &prefix) const
Guid prefix comparison operator
- Parameters
prefix – Second guid prefix to compare
- Returns
True if the guid prefixes are not equal
-
inline bool operator<(const GuidPrefix_t &prefix) const
Guid prefix minor operator
- Parameters
prefix – Second guid prefix to compare
- Returns
True if prefix is higher than this
Public Static Functions
-
static inline GuidPrefix_t unknown()
-
static inline int cmp(const GuidPrefix_t &prefix1, const GuidPrefix_t &prefix2)
Guid Prefix compare static method.
- Parameters
prefix1 – First guid prefix to compare
prefix2 – Second guid prefix to compare
- Returns
0 if
prefix1
is equal toprefix2
.- Returns
< 0 if
prefix1
is lower thanprefix2
.- Returns
> 0 if
prefix1
is higher thanprefix2
.
Public Static Attributes
-
static constexpr unsigned int size = 12
-
inline GuidPrefix_t()