|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TrigConf_DiffStruct
6 #define TrigConf_DiffStruct
8 #include <unordered_map>
19 void check(
const std::string& attname,
const std::string& lval,
const std::string& rval);
20 void check(
const std::string& attname,
int lval,
int rval);
21 void check(
const std::string& attname,
unsigned int lval,
unsigned int rval);
22 void check(
const std::string& attname,
float lval,
float rval);
23 void check(
const std::string& attname,
bool lval,
bool rval);
31 void writeXML(std::ofstream & xmlfile,
const std::string&
prefix=
"")
const;
34 AttDiff(
const std::string& attname_,
const std::string& lval_,
const std::string& rval_) :
attname(attname_),
lval(lval_),
rval(rval_) {}
42 std::vector<DiffStruct*>
subs;
43 typedef std::unordered_map<std::string, std::string>
OnlyMap_t;
void writeXML(std::ofstream &xmlfile, const std::string &prefix="") const
DiffStruct(const std::string &tagname, const std::string &name="")
void addRightOnlySub(const std::string &tagname, const std::string &name)
std::unordered_map< std::string, std::string > OnlyMap_t
void check(const std::string &attname, const std::string &lval, const std::string &rval)
Forward iterator to traverse the main components of the trigger configuration.
void addSub(DiffStruct *sub)
AttDiff(const std::string &attname_, const std::string &lval_, const std::string &rval_)
std::vector< DiffStruct * > subs
void addLeftOnlySub(const std::string &tagname, const std::string &name)
std::vector< AttDiff > attdiffs