CMS 3D CMS Logo

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 258 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 267 of file EgHLTTrigTools.cc.

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

Definition at line 260 of file EgHLTTrigTools.cc.

261  {return keyLess(lhs.first,rhs.first);}
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 262 of file EgHLTTrigTools.cc.

263  {return keyLess(lhs.first,rhs);}
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 264 of file EgHLTTrigTools.cc.

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