9 static const char*
fmt =
"%3d.%3d.%3d";
29 char*
p = (
char*)tmp.c_str();
42 m_label( rhs.m_label ),
44 m_release( rhs.m_release ),
45 m_patch( rhs.m_patch ){
65 if( m_main > rhs.
m_main )
return true;
66 if( m_main == rhs.
m_main ){
67 if( m_release > rhs.
m_release )
return true;
69 if(m_patch > rhs.
m_patch )
return true;
76 if( m_main < rhs.
m_main )
return true;
77 if( m_main == rhs.
m_main ){
78 if( m_release < rhs.
m_release )
return true;
80 if(m_patch < rhs.
m_patch )
return true;
87 if( m_main >= rhs.
m_main )
return true;
88 if( m_main == rhs.
m_main ){
89 if( m_release >= rhs.
m_release )
return true;
91 if(m_patch >= rhs.
m_patch )
return true;
98 if( m_main <= rhs.
m_main )
return true;
99 if( m_main == rhs.
m_main ){
100 if( m_release <= rhs.
m_release )
return true;
102 if(m_patch <= rhs.
m_patch )
return true;
static Version fromString(const std::string &versionString)
Version & operator=(const Version &rhs)
bool operator==(const CaloTower &t1, const CaloTower &t2)
bool operator>(const Version &rhs) const
void toOutputStream(std::ostream &os) const
bool operator<(const Version &rhs) const
bool operator!=(const Version &rhs) const
std::string poolSchemaVersion()
bool operator<=(const Version &rhs) const
static const char * thisSchemaVersionLabel
bool operator==(const Version &rhs) const
static const char * poolSchemaVersionLabel
std::vector< std::vector< double > > tmp
static Version & poolSchemaVersion()
pat::CandKinResolution::Parametrization fromString(const std::string &name)
Convert a name into a parametrization code.
bool operator>=(const Version &rhs) const
std::string toString() const
static Version & thisSchemaVersion()