#include <EgHLTComCodes.h>
Public Member Functions | |
ComCodes ()=default | |
ComCodes (const ComCodes &rhs)=default | |
int | getCode (const char *descript) const |
void | getCodeName (int code, std::string &id) const |
void | setCode (const char *descript, int code) |
void | sort () |
~ComCodes ()=default | |
Static Public Member Functions | |
static bool | keyComp (const std::pair< std::string, int > &lhs, const std::pair< std::string, int > &rhs) |
Private Attributes | |
std::vector< std::pair< std::string, int > > | _codeDefs |
Definition at line 12 of file EgHLTComCodes.h.
|
default |
|
default |
|
default |
int ComCodes::getCode | ( | const char * | descript | ) | const |
Definition at line 19 of file EgHLTComCodes.cc.
References _codeDefs, HltBtagPostValidation_cff::c, mps_fire::end, spr::find(), newFWLiteAna::found, AlCaHLTBitMon_QueryRunRegistry::string, and unpackBuffers-CaloStage2::token.
Referenced by egHLT::EgCutCodes::getCode().
void ComCodes::getCodeName | ( | int | code, |
std::string & | id | ||
) | const |
Definition at line 48 of file EgHLTComCodes.cc.
References _codeDefs, and relativeConstraints::empty.
Referenced by egHLT::EgCutCodes::getCodeName().
|
static |
Definition at line 44 of file EgHLTComCodes.cc.
Referenced by sort().
void ComCodes::setCode | ( | const char * | descript, |
int | code | ||
) |
Definition at line 7 of file EgHLTComCodes.cc.
References _codeDefs, dqmdumpme::first, newFWLiteAna::found, and mps_fire::i.
Referenced by egHLT::EgCutCodes::setCodes_().
|
inline |
Definition at line 30 of file EgHLTComCodes.h.
References _codeDefs, and keyComp().
Referenced by egHLT::EgCutCodes::setCodes_().
|
private |
Definition at line 14 of file EgHLTComCodes.h.
Referenced by getCode(), getCodeName(), setCode(), and sort().