#include <fileVersion.h>
Definition at line 21 of file fileVersion.h.
| constexpr SdfFileVersion::SdfFileVersion |
( |
| ) |
|
|
inline |
| constexpr SdfFileVersion::SdfFileVersion |
( |
uint8_t |
majver, |
|
|
uint8_t |
minver, |
|
|
uint8_t |
patchver |
|
) |
| |
|
inline |
| SdfFileVersion::SdfFileVersion |
( |
const uint8_t |
version[] | ) |
|
|
inlineexplicit |
| SDF_API std::string SdfFileVersion::AsFullString |
( |
| ) |
const |
Return a dotted decimal integer string for this version, the patch version is excluded if it is 0, e.g. "1.0.0" or "1.2.3".
| constexpr uint32_t SdfFileVersion::AsInt |
( |
| ) |
const |
|
inline |
Return a version number as a single 32-bit integer. From most to least significant, the returned integer's bytes are 0, major-version, minor-version, patch-version.
Definition at line 49 of file fileVersion.h.
| SDF_API std::string SdfFileVersion::AsString |
( |
| ) |
const |
Return a dotted decimal integer string for this version, the patch version is excluded if it is 0, e.g. "1.0" or "1.2.3".
Create a version from a dot-separated c-style string, e.g. "1.2.3".
Create a version from a dot-separated std::string.
Definition at line 42 of file fileVersion.h.
| bool SdfFileVersion::IsValid |
( |
| ) |
const |
|
inline |
Return true if this version is not zero in all components.
Definition at line 66 of file fileVersion.h.
| SdfFileVersion::LOGIC_OP |
( |
| ) |
|
| SdfFileVersion::LOGIC_OP |
( |
! |
| ) |
|
| SdfFileVersion::LOGIC_OP |
( |
| ) |
|
| SdfFileVersion::LOGIC_OP |
( |
| ) |
|
| SdfFileVersion::LOGIC_OP |
( |
>= |
| ) |
|
| SdfFileVersion::LOGIC_OP |
( |
<= |
| ) |
|
| SdfFileVersion::operator bool |
( |
| ) |
const |
|
inlineexplicit |
| uint8_t SdfFileVersion::majver |
| uint8_t SdfFileVersion::minver |
| uint8_t SdfFileVersion::patchver |
The documentation for this class was generated from the following file: