Implements versioning functionality.
More...
#include <peak/version/peak_version.hpp>
Implements versioning functionality.
This class allows to create and compare different versions.
◆ Version() [1/4]
| peak::core::Version::Version |
( |
| ) |
|
|
delete |
◆ Version() [2/4]
| peak::core::Version::Version |
( |
uint32_t |
major, |
|
|
uint32_t |
minor, |
|
|
uint32_t |
subminor |
|
) |
| |
|
inline |
◆ ~Version()
| peak::core::Version::~Version |
( |
| ) |
|
|
default |
◆ Version() [3/4]
| peak::core::Version::Version |
( |
const Version & |
other | ) |
|
|
default |
◆ Version() [4/4]
| peak::core::Version::Version |
( |
Version && |
other | ) |
|
|
default |
◆ Major()
| uint32_t peak::core::Version::Major |
( |
| ) |
const |
|
inline |
Returns the major part of the version which is the first part of the version scheme separated by dots.
- Returns
- x.y.z
- Since
- 1.0
◆ Minor()
| uint32_t peak::core::Version::Minor |
( |
| ) |
const |
|
inline |
Returns the minor part of the version which is the second part of the version scheme separated by dots.
- Returns
- x.y.z
- Since
- 1.0
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Subminor()
| uint32_t peak::core::Version::Subminor |
( |
| ) |
const |
|
inline |
Returns the subminor part of the version which is the third part of the version scheme separated by dots.
- Returns
- x.y.z
- Since
- 1.0
◆ ToString()
| std::string peak::core::Version::ToString |
( |
| ) |
const |
|
inline |
Returns the version as string.
- Since
- 1.0
The documentation for this class was generated from the following file: