A history revision number. More...
#include <DgnHistory.h>
Static Public Member Functions | |
static DGNPLATFORM_EXPORT RevisionNumber | Recent () |
Get the special RevisionNumber that indicates "recent changes". More... | |
static DGNPLATFORM_EXPORT RevisionNumber | ParseCustom (WChar const *fmt, WChar const *str) |
Construct a revision number from a string entered according to a custom format. More... | |
static DGNPLATFORM_EXPORT RevisionNumber | Parse (WChar const *str) |
Construct a revision number from a string entered according to the default n.m format. More... | |
A history revision number.
DGNPLATFORM_EXPORT RevisionNumber | ( | RevisionNumber const & | r2 | ) |
DGNPLATFORM_EXPORT WString Format | ( | ) | const |
Format a history revision number using the default n.m format.
DGNPLATFORM_EXPORT WString FormatCustom | ( | WChar const * | fmt | ) | const |
Format a history revision number according to the specified format.
[in] | fmt | The format specifier. |
fmt | IN the custom format specifier |
DGNPLATFORM_EXPORT bool IsRecent | ( | ) | const |
Query if this represents "recent changes".
DGNPLATFORM_EXPORT bool IsValid | ( | ) | const |
Query if this is a valid revision number.
DGNPLATFORM_EXPORT bool operator!= | ( | RevisionNumber const & | rn2 | ) | const |
DGNPLATFORM_EXPORT bool operator< | ( | RevisionNumber const & | rn2 | ) | const |
DGNPLATFORM_EXPORT bool operator<= | ( | RevisionNumber const & | rn2 | ) | const |
DGNPLATFORM_EXPORT RevisionNumber& operator= | ( | RevisionNumber const & | r2 | ) |
DGNPLATFORM_EXPORT bool operator== | ( | RevisionNumber const & | rn2 | ) | const |
DGNPLATFORM_EXPORT bool operator> | ( | RevisionNumber const & | rn2 | ) | const |
DGNPLATFORM_EXPORT bool operator>= | ( | RevisionNumber const & | rn2 | ) | const |
|
static |
Construct a revision number from a string entered according to the default n.m format.
str | IN the string to parse |
|
static |
Construct a revision number from a string entered according to a custom format.
fmt | IN the custom format specifier |
str | IN the string to parse |
|
static |
Get the special RevisionNumber that indicates "recent changes".