#include <Version.h>
Public Member Functions | |
bool | operator!= (const Version &rhs) const |
bool | operator< (const Version &rhs) const |
bool | operator<= (const Version &rhs) const |
Version & | operator= (const Version &rhs) |
bool | operator== (const Version &rhs) const |
bool | operator> (const Version &rhs) const |
bool | operator>= (const Version &rhs) const |
void | toOutputStream (std::ostream &os) const |
std::string | toString () const |
Version () | |
Version (const std::string &label, int id) | |
Version (const Version &rhs) | |
~Version () | |
Static Public Member Functions | |
static Version | fromString (const std::string &versionString) |
static const Version & | poolSchemaVersion () |
static const Version & | thisSchemaVersion () |
Private Attributes | |
std::string | m_label |
int | m_main |
int | m_patch |
int | m_release |
Version::Version | ( | ) |
Definition at line 31 of file Version.cc.
Version::Version | ( | const std::string & | label, |
int | id | ||
) |
Definition at line 38 of file Version.cc.
Version::Version | ( | const Version & | rhs | ) |
Definition at line 45 of file Version.cc.
|
static |
Definition at line 21 of file Version.cc.
References fmt, m_label, m_main, m_patch, m_release, AlCaHLTBitMon_ParallelJobs::p, ora::poolSchemaVersion(), poolSchemaVersionLabel, source, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by ora::Database::schemaVersion().
bool Version::operator!= | ( | const Version & | rhs | ) | const |
bool Version::operator< | ( | const Version & | rhs | ) | const |
bool Version::operator<= | ( | const Version & | rhs | ) | const |
ora::Version & Version::operator= | ( | const Version & | rhs | ) |
bool Version::operator== | ( | const Version & | rhs | ) | const |
bool Version::operator> | ( | const Version & | rhs | ) | const |
bool Version::operator>= | ( | const Version & | rhs | ) | const |
|
static |
Definition at line 11 of file Version.cc.
References poolSchemaVersionLabel, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 16 of file Version.cc.
References pat::helper::ParametrizationHelper::fromString(), AlCaHLTBitMon_QueryRunRegistry::string, and thisSchemaVersionLabel.
void Version::toOutputStream | ( | std::ostream & | os | ) | const |
Definition at line 116 of file Version.cc.
Referenced by operator<<().
std::string Version::toString | ( | ) | const |
Definition at line 112 of file Version.cc.
|
private |
Definition at line 35 of file Version.h.
Referenced by fromString(), and operator=().
|
private |
Definition at line 36 of file Version.h.
Referenced by fromString(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().
|
private |
Definition at line 38 of file Version.h.
Referenced by fromString(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().
|
private |
Definition at line 37 of file Version.h.
Referenced by fromString(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().