BOSS 7.0.4
BESIII Offline Software System
|
#include <Version.h>
Public Member Functions | |
Version (uint16_t minor, uint16_t major=MAJOR_DEFAULT_VERSION) | |
Version (uint32_t v=DEFAULT_VERSION) | |
uint16_t | major2 (void) const |
uint16_t | minor2 (void) const |
uint32_t | code (void) const |
std::string | human_major (void) const |
std::string | human_minor (void) const |
std::string | human (void) const |
Version (uint16_t minor, uint16_t major=MAJOR_DEFAULT_VERSION) | |
Version (uint32_t v=DEFAULT_VERSION) | |
uint16_t | major2 (void) const |
uint16_t | minor2 (void) const |
uint32_t | code (void) const |
std::string | human_major (void) const |
std::string | human_minor (void) const |
std::string | human (void) const |
Defines converters between version numbers and its components
Definition at line 41 of file Event/eformat/eformat-00-00-04/eformat/Version.h.
|
inline |
Constructor. Takes the components to form a version
minor | The minor version |
major | The major version |
Definition at line 50 of file Event/eformat/eformat-00-00-04/eformat/Version.h.
eformat::helper::Version::Version | ( | uint32_t | v = DEFAULT_VERSION | ) |
Constructor. Takes the version to understand the components from.
v | The version number, fully built. |
Definition at line 16 of file Version.cxx.
|
inline |
Constructor. Takes the components to form a version
minor | The minor version |
major | The major version |
Definition at line 50 of file InstallArea/include/eformat/eformat/Version.h.
eformat::helper::Version::Version | ( | uint32_t | v = DEFAULT_VERSION | ) |
Constructor. Takes the version to understand the components from.
v | The version number, fully built. |
uint32_t eformat::helper::Version::code | ( | void | ) | const |
Gets the full 32-bit number made by assembling the 2 numbers above.
Definition at line 21 of file Version.cxx.
uint32_t eformat::helper::Version::code | ( | void | ) | const |
Gets the full 32-bit number made by assembling the 2 numbers above.
std::string eformat::helper::Version::human | ( | void | ) | const |
Returns a string representation of the version number
Definition at line 43 of file Version.cxx.
std::string eformat::helper::Version::human | ( | void | ) | const |
Returns a string representation of the version number
std::string eformat::helper::Version::human_major | ( | void | ) | const |
Returns a string representation of the major version number
Definition at line 29 of file Version.cxx.
std::string eformat::helper::Version::human_major | ( | void | ) | const |
Returns a string representation of the major version number
std::string eformat::helper::Version::human_minor | ( | void | ) | const |
Returns a string representation of the minor version number
Definition at line 36 of file Version.cxx.
std::string eformat::helper::Version::human_minor | ( | void | ) | const |
Returns a string representation of the minor version number
|
inline |
Extracts the major version part of this version
Definition at line 65 of file Event/eformat/eformat-00-00-04/eformat/Version.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Extracts the major version part of this version
Definition at line 65 of file InstallArea/include/eformat/eformat/Version.h.
|
inline |
Extracts the minor version part of this version
Definition at line 70 of file Event/eformat/eformat-00-00-04/eformat/Version.h.
Referenced by eformat::old::convert(), and convert_ros().
|
inline |
Extracts the minor version part of this version
Definition at line 70 of file InstallArea/include/eformat/eformat/Version.h.