CMS 3D CMS Logo

cond::ClassIDRegistry Class Reference

#include <CondCore/DBCommon/interface/ClassID.h>

List of all members.

Public Types

typedef ClassInfo Elem

Public Member Functions

 ClassIDRegistry (std::string const &pfix)
const char * registerMe (const std::type_info &t)

Public Attributes

std::vector< const char * > csids
std::vector< std::string > sids

Private Attributes

std::string prefix


Detailed Description

Definition at line 31 of file ClassID.h.


Member Typedef Documentation

typedef ClassInfo cond::ClassIDRegistry::Elem

Definition at line 33 of file ClassID.h.


Constructor & Destructor Documentation

cond::ClassIDRegistry::ClassIDRegistry ( std::string const &  pfix  ) 

Definition at line 41 of file ClassID.cc.

00041 : prefix(pfix+"/"){}


Member Function Documentation

const char * cond::ClassIDRegistry::registerMe ( const std::type_info &  t  ) 

Definition at line 43 of file ClassID.cc.

References csids, prefix, and sids.

Referenced by cond::ClassInfo::registerMe().

00043                                                                 {
00044     sids.push_back(prefix+id(t)+"\0");
00045     csids.push_back(sids.back().data());
00046     return sids.back().c_str();
00047   }


Member Data Documentation

std::vector<const char*> cond::ClassIDRegistry::csids

Definition at line 35 of file ClassID.h.

Referenced by NOT_SEAL_CAPABILITIES(), and registerMe().

std::string cond::ClassIDRegistry::prefix [private]

Definition at line 41 of file ClassID.h.

Referenced by registerMe().

std::vector<std::string> cond::ClassIDRegistry::sids

Definition at line 34 of file ClassID.h.

Referenced by registerMe().


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