#include <declare.h>
Definition at line 86 of file declare.h.
Create an invalid version.
Create a version with the given major and minor numbers. Numbers must be non-negative, and at least one must be non-zero. On failure generates an error and yields an invalid version.
Create a version from a string. On failure generates an error and yields an invalid version.
Return an equal version marked as default. It's permitted to mark an invalid version as the default.
Definition at line 104 of file declare.h.
NDR_API std::size_t NdrVersion::GetHash |
( |
| ) |
const |
|
inline |
Return a hash for the version.
Definition at line 129 of file declare.h.
Return the major version number or zero for an invalid version.
Definition at line 111 of file declare.h.
Return the minor version number or zero for an invalid version.
Definition at line 114 of file declare.h.
Return the version as a string.
Return the version as a identifier suffix.
NDR_API bool NdrVersion::IsDefault |
( |
| ) |
const |
|
inline |
Return true iff this version is marked as default.
Definition at line 117 of file declare.h.
NDR_API NdrVersion::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Return true iff the version is valid.
Definition at line 137 of file declare.h.
Return true iff the version is invalid.
Definition at line 144 of file declare.h.
Return true iff versions are not equal.
Definition at line 158 of file declare.h.
Return true iff the left side is less than the right side.
Definition at line 165 of file declare.h.
Return true iff the left side is less than or equal to the right side.
Definition at line 173 of file declare.h.
Return true iff versions are equal.
Definition at line 151 of file declare.h.
Return true iff the left side is greater than the right side.
Definition at line 181 of file declare.h.
Return true iff the left side is greater than or equal to the right side.
Definition at line 188 of file declare.h.
The documentation for this class was generated from the following file: