CMS 3D CMS Logo

DTConfigData Class Reference

Description:. More...

#include <CondFormats/DTObjects/interface/DTConfigData.h>

List of all members.

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< intlinkList


Detailed Description

Description:.

Date
2007/12/07 15:00:45
Revision
1.2
Author:
Paolo Ronchese INFN Padova

Definition at line 35 of file DTConfigData.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

DTConfigData::DTConfigData (  ) 

Constructor.

Definition at line 34 of file DTConfigData.cc.

00034                            {
00035 }

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]

Destructor.

Definition at line 52 of file DTConfigData.cc.

00052                             {
00053 }


Member Function Documentation

void DTConfigData::add ( int  id  ) 

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().

00068                                               {
00069   dataList.push_back( data );
00070 }

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 }

void DTConfigData::setId ( int  id  ) 

Definition at line 63 of file DTConfigData.cc.

References cfgId.

Referenced by DTConfigDBInit::beginJob(), and DTCCBConfigHandler::chkConfigList().

00063                                  {
00064   cfgId = id;
00065 }


Member Data Documentation

int DTConfigData::cfgId [private]

Definition at line 65 of file DTConfigData.h.

Referenced by DTConfigData(), getId(), and setId().

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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:18:48 2009 for CMSSW by  doxygen 1.5.4