#include <CondFormats/DTObjects/interface/DTConfigData.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 (int id) |
void | add (const std::string &data) |
data_iterator | dataBegin () const |
data_iterator | dataEnd () const |
DTConfigData (const DTConfigData &obj) | |
DTConfigData () | |
Constructor. | |
int | getId () const |
Operations. | |
link_iterator | linkBegin () const |
link_iterator | linkEnd () const |
void | setId (int id) |
virtual | ~DTConfigData () |
Destructor. | |
Private Attributes | |
int | cfgId |
std::vector< std::string > | dataList |
std::vector< int > | linkList |
Definition at line 35 of file DTConfigData.h.
typedef std::vector<std::string>::const_iterator DTConfigData::data_iterator |
Definition at line 56 of file DTConfigData.h.
typedef std::vector< int>::const_iterator DTConfigData::link_iterator |
Definition at line 57 of file DTConfigData.h.
DTConfigData::DTConfigData | ( | ) |
DTConfigData::DTConfigData | ( | const DTConfigData & | obj | ) |
Definition at line 38 of file DTConfigData.cc.
References cfgId, dataList, and linkList.
00038 { 00039 cfgId = obj.cfgId; 00040 data_iterator d_iter = obj.dataList.begin(); 00041 data_iterator d_iend = obj.dataList.end(); 00042 while ( d_iter != d_iend ) dataList.push_back( *d_iter++ ); 00043 link_iterator l_iter = obj.linkList.begin(); 00044 link_iterator l_iend = obj.linkList.end(); 00045 while ( l_iter != l_iend ) linkList.push_back( *l_iter++ ); 00046 }
DTConfigData::~DTConfigData | ( | ) | [virtual] |
Definition at line 73 of file DTConfigData.cc.
References linkList.
00073 { 00074 linkList.push_back( id ); 00075 }
void DTConfigData::add | ( | const std::string & | data | ) |
Definition at line 68 of file DTConfigData.cc.
References dataList.
Referenced by DTCCBConfigHandler::chkConfigList().
DTConfigData::data_iterator DTConfigData::dataBegin | ( | ) | const |
Definition at line 78 of file DTConfigData.cc.
References dataList.
Referenced by DTConfigDBDump::beginJob(), DTConfigHandler::get(), and DTConfigHandler::getData().
00078 { 00079 return dataList.begin(); 00080 }
DTConfigData::data_iterator DTConfigData::dataEnd | ( | ) | const |
Definition at line 83 of file DTConfigData.cc.
References dataList.
Referenced by DTConfigDBDump::beginJob(), DTConfigHandler::get(), and DTConfigHandler::getData().
00083 { 00084 return dataList.end(); 00085 }
int DTConfigData::getId | ( | ) | const |
Operations.
Definition at line 58 of file DTConfigData.cc.
References cfgId.
00058 { 00059 return cfgId; 00060 }
DTConfigData::link_iterator DTConfigData::linkBegin | ( | ) | const |
Definition at line 88 of file DTConfigData.cc.
References linkList.
Referenced by DTConfigDBDump::beginJob(), and DTConfigHandler::getData().
00088 { 00089 return linkList.begin(); 00090 }
DTConfigData::link_iterator DTConfigData::linkEnd | ( | ) | const |
Definition at line 93 of file DTConfigData.cc.
References linkList.
Referenced by DTConfigDBDump::beginJob(), and DTConfigHandler::getData().
00093 { 00094 return linkList.end(); 00095 }
Definition at line 63 of file DTConfigData.cc.
References cfgId.
Referenced by DTConfigDBInit::beginJob(), and DTCCBConfigHandler::chkConfigList().
int DTConfigData::cfgId [private] |
std::vector<std::string> DTConfigData::dataList [private] |
Definition at line 66 of file DTConfigData.h.
Referenced by add(), dataBegin(), dataEnd(), and DTConfigData().
std::vector<int> DTConfigData::linkList [private] |
Definition at line 67 of file DTConfigData.h.
Referenced by add(), DTConfigData(), linkBegin(), and linkEnd().