ADTF
3.18.2
|
Public Member Functions | |
Version () | |
default CTOR | |
Version (const std::string &version) | |
CTOR - Version from string. More... | |
Version (uint32_t major, uint32_t minor) | |
CTOR. More... | |
uint32_t | getMajor () const |
Get the Major value. More... | |
uint32_t | getMinor () const |
Get the Minor value. More... | |
std::string | toString () const |
the vrsion as string More... | |
bool | isValidVersion () const |
is valid or not More... | |
Static Public Member Functions | |
static const Version & | getDefaultVersion () |
Get the Default Version. More... | |
static const Version & | getLatestVersion () |
Get the latest DDL version. More... | |
Static Public Attributes | |
static const Version | ddl_version_invalid |
invalid Version. More... | |
static const Version | ddl_version_notset |
version not set Version. More... | |
static const Version | ddl_version_10 |
Language Version 1.0. More... | |
static const Version | ddl_version_11 |
Language Version 1.0+. More... | |
static const Version | ddl_version_12 |
Language Version 1.2. More... | |
static const Version | ddl_version_20 |
Language Version 2.0. More... | |
static const Version | ddl_version_30 |
Language Version 3.0. More... | |
static const Version | ddl_version_40 |
Language Version 4.0. More... | |
static const Version | ddl_version_41 |
Language Version 4.1. More... | |
static const Version | ddl_version_current |
the newest version (currently it is ddl_version_41). More... | |
Private Attributes | |
uint32_t | _major = {} |
uint32_t | _minor = {} |
DDL Version.
Definition at line 203 of file dd_common_types.h.
Version | ( | uint32_t | major, |
uint32_t | minor | ||
) |
CTOR.
major | the major value |
minor | the minor value |
|
inlinestatic |
Get the Default Version.
@dev_essential_deprecated Use getLatestVersion() instead.
Definition at line 259 of file dd_common_types.h.
References Version::getLatestVersion().
|
static |
uint32_t getMajor | ( | ) | const |
Get the Major value.
uint32_t getMinor | ( | ) | const |
Get the Minor value.
bool isValidVersion | ( | ) | const |
is valid or not
std::string toString | ( | ) | const |
the vrsion as string
|
static |
Language Version 1.0.
@dev_essential_deprecated Use Version(1, 0)
Definition at line 298 of file dd_common_types.h.
|
static |
Language Version 1.0+.
@dev_essential_deprecated Use Version(1, 1)
Definition at line 304 of file dd_common_types.h.
|
static |
Language Version 1.2.
@dev_essential_deprecated Use Version(1, 2)
Definition at line 310 of file dd_common_types.h.
|
static |
Language Version 2.0.
@dev_essential_deprecated Use Version(2, 0)
Definition at line 316 of file dd_common_types.h.
|
static |
Language Version 3.0.
@dev_essential_deprecated Use Version(3, 0)
Definition at line 322 of file dd_common_types.h.
|
static |
Language Version 4.0.
@dev_essential_deprecated Use Version(4, 0)
Definition at line 328 of file dd_common_types.h.
|
static |
Language Version 4.1.
@dev_essential_deprecated Use Version(4, 1)
Definition at line 334 of file dd_common_types.h.
|
static |
the newest version (currently it is ddl_version_41).
@dev_essential_deprecated Use Version::getLatestVersion()
Definition at line 340 of file dd_common_types.h.
|
static |
invalid Version.
@dev_essential_deprecated Use Version(0, 0)
Definition at line 286 of file dd_common_types.h.
|
static |
version not set Version.
@dev_essential_deprecated Use Version(0, 0)
Definition at line 292 of file dd_common_types.h.