9 static const char*
fmt =
"%3d.%3d.%3d";
26 char*
p = (
char*)tmp.c_str();
46 m_label( rhs.m_label ),
48 m_release( rhs.m_release ),
49 m_patch( rhs.m_patch ){
69 if( m_main > rhs.
m_main )
return true;
70 if( m_main == rhs.
m_main ){
71 if( m_release > rhs.
m_release )
return true;
73 if(m_patch > rhs.
m_patch )
return true;
80 if( m_main < rhs.
m_main )
return true;
81 if( m_main == rhs.
m_main ){
82 if( m_release < rhs.
m_release )
return true;
84 if(m_patch < rhs.
m_patch )
return true;
91 if( m_main >= rhs.
m_main )
return true;
92 if( m_main == rhs.
m_main ){
93 if( m_release >= rhs.
m_release )
return true;
95 if(m_patch >= rhs.
m_patch )
return true;
102 if( m_main <= rhs.
m_main )
return true;
103 if( m_main == rhs.
m_main ){
104 if( m_release <= rhs.
m_release )
return true;
106 if(m_patch <= rhs.
m_patch )
return true;
static Version fromString(const std::string &versionString)
static const Version & thisSchemaVersion()
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
static const Version & poolSchemaVersion()
bool operator==(const Version &rhs) const
static const char * poolSchemaVersionLabel
std::vector< std::vector< double > > tmp
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 std::string const source