#include <Setting.h>
Public Member Functions | |
void | addTableRow (const std::string &row, const std::vector< std::string > &types, const std::vector< std::string > &columns) |
std::string | getId () |
l1t::LUT | getLUT (size_t addrWidth=0, size_t dataWidth=31, int padding=-1, std::string delim=",") |
std::string | getProcRole () |
std::vector< TableRow > | getTableRows () |
std::string | getType () |
template<class varType > | |
varType | getValue () |
std::string | getValueAsStr () |
template<class varType > | |
std::vector< varType > | getVector () |
Setting & | operator= (const Setting &aSet) |
void | resetTableRows () |
void | setId (const std::string &id) |
void | setLogStringVar (std::string *strVar) |
void | setProcRole (const std::string &procRole) |
Setting () | |
Setting (const std::string &type, const std::string &id, const std::string &value, const std::string &procRole, std::string *lt, const std::string &delim="") | |
Setting (const std::string &id, const std::string &columns, const std::string &types, const std::vector< std::string > &rows, const std::string &procRole, std::string *lt, const std::string &delim) | |
void | setValue (const std::string &value) |
~Setting () | |
Private Attributes | |
std::string | delim_ |
std::string | id_ |
std::string * | logText_ |
std::string | procRole_ |
std::vector< TableRow > | TableRows_ |
std::string | type_ |
std::string | value_ |
l1t::Setting::Setting | ( | const std::string & | type, |
const std::string & | id, | ||
const std::string & | value, | ||
const std::string & | procRole, | ||
std::string * | lt, | ||
const std::string & | delim = "" |
||
) |
Definition at line 7 of file Setting.cc.
References delim_, logText_, lt, and setValue().
l1t::Setting::Setting | ( | const std::string & | id, |
const std::string & | columns, | ||
const std::string & | types, | ||
const std::vector< std::string > & | rows, | ||
const std::string & | procRole, | ||
std::string * | lt, | ||
const std::string & | delim | ||
) |
Definition at line 22 of file Setting.cc.
References delim_, logText_, lt, l1t::str2VecStr_(), and TableRows_.
l1t::Setting::~Setting | ( | ) |
Definition at line 55 of file Setting.cc.
void l1t::Setting::addTableRow | ( | const std::string & | row, |
const std::vector< std::string > & | types, | ||
const std::vector< std::string > & | columns | ||
) |
Definition at line 144 of file Setting.cc.
References delim_, logText_, l1t::str2VecStr_(), TableRows_, type_, and create_public_pileup_plots::vals.
|
inline |
l1t::LUT l1t::Setting::getLUT | ( | size_t | addrWidth = 0 , |
size_t | dataWidth = 31 , |
||
int | padding = -1 , |
||
std::string | delim = "," |
||
) |
Definition at line 97 of file Setting.cc.
References i, lumiPlot::lut, l1t::LUT::read(), contentValuesCheck::ss, and type_.
|
inline |
|
inline |
|
inline |
varType l1t::Setting::getValue | ( | ) |
Definition at line 100 of file Setting.h.
References getId(), getValueAsStr(), logText_, type_, and value_.
|
inline |
Definition at line 61 of file Setting.h.
References value_.
Referenced by getValue(), and getVector().
std::vector< varType > l1t::Setting::getVector | ( | ) |
Definition at line 78 of file Setting.h.
References delim_, getId(), getValueAsStr(), logText_, l1t::str2VecStr_(), type_, create_public_pileup_plots::vals, and value_.
|
inline |
|
inline |
|
inline |
|
inline |
void l1t::Setting::setValue | ( | const std::string & | value | ) |
Definition at line 60 of file Setting.cc.
References delim_, l1t::str2VecStr_(), type_, create_public_pileup_plots::vals, relativeConstraints::value, and value_.
Referenced by Setting().
|
private |
Definition at line 72 of file Setting.h.
Referenced by addTableRow(), getVector(), Setting(), and setValue().
|
private |
Definition at line 72 of file Setting.h.
Referenced by getId(), operator=(), and setId().
|
private |
Definition at line 74 of file Setting.h.
Referenced by addTableRow(), getValue(), getVector(), setLogStringVar(), and Setting().
|
private |
Definition at line 72 of file Setting.h.
Referenced by getProcRole(), operator=(), and setProcRole().
|
private |
Definition at line 73 of file Setting.h.
Referenced by addTableRow(), getTableRows(), resetTableRows(), and Setting().
|
private |
Definition at line 72 of file Setting.h.
Referenced by Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), addTableRow(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), getLUT(), getType(), getValue(), getVector(), Modules.Service::insertInto(), RandomRunSource.RandomRunSource::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), operator=(), and setValue().
|
private |
Definition at line 72 of file Setting.h.
Referenced by getValue(), getValueAsStr(), getVector(), operator=(), and setValue().