#include <DiffStruct.h>
|
| typedef std::unordered_map< std::string, std::string > | OnlyMap_t |
| |
|
| | DiffStruct (const std::string &tagname, const std::string &name="") |
| |
| | ~DiffStruct () |
| |
| void | check (const std::string &attname, const std::string &lval, const std::string &rval) |
| |
| void | check (const std::string &attname, int lval, int rval) |
| |
| void | check (const std::string &attname, unsigned int lval, unsigned int rval) |
| |
| void | check (const std::string &attname, float lval, float rval) |
| |
| void | check (const std::string &attname, bool lval, bool rval) |
| |
| void | addSub (DiffStruct *sub) |
| |
| void | addRightOnlySub (const std::string &tagname, const std::string &name) |
| |
| void | addLeftOnlySub (const std::string &tagname, const std::string &name) |
| |
| bool | empty () const |
| |
| void | writeXML (std::ofstream &xmlfile, const std::string &prefix="") const |
| |
Definition at line 14 of file DiffStruct.h.
◆ OnlyMap_t
◆ DiffStruct()
| TrigConf::DiffStruct::DiffStruct |
( |
const std::string & |
tagname, |
|
|
const std::string & |
name = "" |
|
) |
| |
◆ ~DiffStruct()
| TrigConf::DiffStruct::~DiffStruct |
( |
| ) |
|
◆ addLeftOnlySub()
| void TrigConf::DiffStruct::addLeftOnlySub |
( |
const std::string & |
tagname, |
|
|
const std::string & |
name |
|
) |
| |
◆ addRightOnlySub()
| void TrigConf::DiffStruct::addRightOnlySub |
( |
const std::string & |
tagname, |
|
|
const std::string & |
name |
|
) |
| |
◆ addSub()
| void TrigConf::DiffStruct::addSub |
( |
DiffStruct * |
sub | ) |
|
◆ check() [1/5]
| void TrigConf::DiffStruct::check |
( |
const std::string & |
attname, |
|
|
bool |
lval, |
|
|
bool |
rval |
|
) |
| |
◆ check() [2/5]
| void TrigConf::DiffStruct::check |
( |
const std::string & |
attname, |
|
|
const std::string & |
lval, |
|
|
const std::string & |
rval |
|
) |
| |
◆ check() [3/5]
| void TrigConf::DiffStruct::check |
( |
const std::string & |
attname, |
|
|
float |
lval, |
|
|
float |
rval |
|
) |
| |
◆ check() [4/5]
| void TrigConf::DiffStruct::check |
( |
const std::string & |
attname, |
|
|
int |
lval, |
|
|
int |
rval |
|
) |
| |
◆ check() [5/5]
| void TrigConf::DiffStruct::check |
( |
const std::string & |
attname, |
|
|
unsigned int |
lval, |
|
|
unsigned int |
rval |
|
) |
| |
◆ empty()
| bool TrigConf::DiffStruct::empty |
( |
| ) |
const |
◆ writeXML()
| void TrigConf::DiffStruct::writeXML |
( |
std::ofstream & |
xmlfile, |
|
|
const std::string & |
prefix = "" |
|
) |
| const |
Definition at line 76 of file DiffStruct.cxx.
82 xmlfile <<
" " <<
d.attname <<
"_l=\"" <<
d.lval <<
"\" " <<
d.attname <<
"_r=\"" <<
d.rval <<
"\"";
88 d->writeXML(xmlfile,
prefix+
" ");
91 for(OnlyMap_t::value_type tag_name :
leftonly)
92 xmlfile <<
prefix <<
" <" << tag_name.first <<
" name=\"" << tag_name.second <<
"\"/>" << endl;
97 for(OnlyMap_t::value_type tag_name :
rightonly)
98 xmlfile <<
prefix <<
" <" << tag_name.first <<
" name=\"" << tag_name.second <<
"\"/>" << endl;
◆ attdiffs
| std::vector<AttDiff> TrigConf::DiffStruct::attdiffs |
◆ leftonly
◆ name
| std::string TrigConf::DiffStruct::name |
◆ rightonly
◆ subs
| std::vector<DiffStruct*> TrigConf::DiffStruct::subs |
◆ tagname
| std::string TrigConf::DiffStruct::tagname |
The documentation for this class was generated from the following files: