#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 Version &rhs) | |
~Version () | |
Static Public Member Functions | |
static Version | fromString (const std::string &versionString) |
static Version & | poolSchemaVersion () |
static Version & | thisSchemaVersion () |
Private Attributes | |
std::string | m_label |
int | m_main |
int | m_patch |
int | m_release |
Version::Version | ( | ) |
Definition at line 34 of file Version.cc.
Version::Version | ( | const Version & | rhs | ) |
Definition at line 41 of file Version.cc.
|
static |
Definition at line 24 of file Version.cc.
References fmt, m_label, m_main, m_patch, m_release, AlCaHLTBitMon_ParallelJobs::p, ora::poolSchemaVersion(), poolSchemaVersionLabel, LaserTracksInput_cfi::source, and tmp.
Referenced by cond::DbSession::isOldSchema(), and 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 m_label, m_main, and poolSchemaVersionLabel.
Referenced by cond::DbSession::isOldSchema().
|
static |
Definition at line 18 of file Version.cc.
References pat::helper::ParametrizationHelper::fromString(), and thisSchemaVersionLabel.
void Version::toOutputStream | ( | std::ostream & | os | ) | const |
Definition at line 112 of file Version.cc.
Referenced by operator<<().
std::string Version::toString | ( | ) | const |
Definition at line 108 of file Version.cc.
|
private |
Definition at line 34 of file Version.h.
Referenced by fromString(), operator=(), and poolSchemaVersion().
|
private |
Definition at line 35 of file Version.h.
Referenced by fromString(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), and poolSchemaVersion().
|
private |
Definition at line 37 of file Version.h.
Referenced by fromString(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().
|
private |
Definition at line 36 of file Version.h.
Referenced by fromString(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().