CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
StringPairCompare Class Reference

Public Member Functions

bool operator() (const std::pair< std::string, std::string > &lhs, const std::pair< std::string, std::string > &rhs) const
 
bool operator() (const std::pair< std::string, std::string > &lhs, const std::pair< std::string, std::string >::first_type &rhs) const
 
bool operator() (const std::pair< std::string, std::string >::first_type &lhs, const std::pair< std::string, std::string > &rhs) const
 

Private Member Functions

bool keyLess (const std::pair< std::string, std::string >::first_type &k1, const std::pair< std::string, std::string >::first_type &k2) const
 

Detailed Description

Definition at line 271 of file EgHLTTrigTools.cc.

Member Function Documentation

bool StringPairCompare::keyLess ( const std::pair< std::string, std::string >::first_type &  k1,
const std::pair< std::string, std::string >::first_type &  k2 
) const
inlineprivate

Definition at line 287 of file EgHLTTrigTools.cc.

References relval_steps::k2.

288  {
289  return k1 < k2;
290  }
bool StringPairCompare::operator() ( const std::pair< std::string, std::string > &  lhs,
const std::pair< std::string, std::string > &  rhs 
) const
inline

Definition at line 273 of file EgHLTTrigTools.cc.

274  {
275  return keyLess(lhs.first, rhs.first);
276  }
bool keyLess(const std::pair< std::string, std::string >::first_type &k1, const std::pair< std::string, std::string >::first_type &k2) const
bool StringPairCompare::operator() ( const std::pair< std::string, std::string > &  lhs,
const std::pair< std::string, std::string >::first_type &  rhs 
) const
inline

Definition at line 277 of file EgHLTTrigTools.cc.

278  {
279  return keyLess(lhs.first, rhs);
280  }
bool keyLess(const std::pair< std::string, std::string >::first_type &k1, const std::pair< std::string, std::string >::first_type &k2) const
bool StringPairCompare::operator() ( const std::pair< std::string, std::string >::first_type &  lhs,
const std::pair< std::string, std::string > &  rhs 
) const
inline

Definition at line 281 of file EgHLTTrigTools.cc.

282  {
283  return keyLess(lhs, rhs.first);
284  }
bool keyLess(const std::pair< std::string, std::string >::first_type &k1, const std::pair< std::string, std::string >::first_type &k2) const