#include <DTKeyedConfig.h>
Public Types | |
typedef std::vector < std::string > ::const_iterator | data_iterator |
typedef std::vector< int > ::const_iterator | link_iterator |
Public Member Functions | |
void | add (const std::string &data) |
void | add (int id) |
data_iterator | dataBegin () const |
data_iterator | dataEnd () const |
DTKeyedConfig (const DTKeyedConfig &obj) | |
DTKeyedConfig () | |
int | getId () const |
link_iterator | linkBegin () const |
link_iterator | linkEnd () const |
void | setId (int id) |
virtual | ~DTKeyedConfig () |
Private Attributes | |
int | cfgId |
std::vector< std::string > | dataList |
std::vector< int > | linkList |
typedef std::vector<std::string>::const_iterator DTKeyedConfig::data_iterator |
Definition at line 56 of file DTKeyedConfig.h.
typedef std::vector< int>::const_iterator DTKeyedConfig::link_iterator |
Definition at line 57 of file DTKeyedConfig.h.
DTKeyedConfig::DTKeyedConfig | ( | ) |
DTKeyedConfig::DTKeyedConfig | ( | const DTKeyedConfig & | obj | ) |
Definition at line 38 of file DTKeyedConfig.cc.
References cfgId, dataList, and linkList.
{ cfgId = obj.cfgId; data_iterator d_iter = obj.dataList.begin(); data_iterator d_iend = obj.dataList.end(); while ( d_iter != d_iend ) dataList.push_back( *d_iter++ ); link_iterator l_iter = obj.linkList.begin(); link_iterator l_iend = obj.linkList.end(); while ( l_iter != l_iend ) linkList.push_back( *l_iter++ ); }
DTKeyedConfig::~DTKeyedConfig | ( | ) | [virtual] |
void DTKeyedConfig::add | ( | const std::string & | data | ) |
Definition at line 68 of file DTKeyedConfig.cc.
References dataList.
Referenced by DTUserKeyedConfigHandler::chkConfigList(), DTKeyedConfigHandler::chkConfigList(), and DTKeyedConfigDBInit::endJob().
void DTKeyedConfig::add | ( | int | id | ) |
DTKeyedConfig::data_iterator DTKeyedConfig::dataBegin | ( | ) | const |
Definition at line 78 of file DTKeyedConfig.cc.
References dataList.
Referenced by DTKeyedConfigDBDump::analyze(), DTConfigPluginHandler::get(), and DTConfigPluginHandler::getData().
{ return dataList.begin(); }
DTKeyedConfig::data_iterator DTKeyedConfig::dataEnd | ( | ) | const |
Definition at line 83 of file DTKeyedConfig.cc.
References dataList.
Referenced by DTConfigPluginHandler::get(), and DTConfigPluginHandler::getData().
{ return dataList.end(); }
int DTKeyedConfig::getId | ( | ) | const |
Operations
Definition at line 58 of file DTKeyedConfig.cc.
References cfgId.
Referenced by DTKeyedConfigDBDump::analyze(), DTUserKeyedConfigPopConAnalyzer::analyze(), DTKeyedConfigPopConAnalyzer::analyze(), DTUserKeyedConfigHandler::chkConfigList(), DTKeyedConfigHandler::chkConfigList(), and DTConfigPluginHandler::get().
{ return cfgId; }
DTKeyedConfig::link_iterator DTKeyedConfig::linkBegin | ( | ) | const |
Definition at line 88 of file DTKeyedConfig.cc.
References linkList.
Referenced by DTConfigPluginHandler::getData().
{ return linkList.begin(); }
DTKeyedConfig::link_iterator DTKeyedConfig::linkEnd | ( | ) | const |
Definition at line 93 of file DTKeyedConfig.cc.
References linkList.
Referenced by DTConfigPluginHandler::getData().
{ return linkList.end(); }
void DTKeyedConfig::setId | ( | int | id | ) |
Definition at line 63 of file DTKeyedConfig.cc.
References cfgId, and ExpressReco_HICollisions_FallBack::id.
Referenced by DTUserKeyedConfigHandler::chkConfigList(), DTKeyedConfigHandler::chkConfigList(), and DTKeyedConfigDBInit::endJob().
int DTKeyedConfig::cfgId [private] |
Definition at line 65 of file DTKeyedConfig.h.
Referenced by DTKeyedConfig(), getId(), and setId().
std::vector<std::string> DTKeyedConfig::dataList [private] |
Definition at line 66 of file DTKeyedConfig.h.
Referenced by add(), dataBegin(), dataEnd(), and DTKeyedConfig().
std::vector<int> DTKeyedConfig::linkList [private] |
Definition at line 67 of file DTKeyedConfig.h.
Referenced by add(), DTKeyedConfig(), linkBegin(), and linkEnd().