CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
cond::ClassInfo Class Referenceabstract

#include <ClassID.h>

Inheritance diagram for cond::ClassInfo:
cond::ClassID< T >

Public Member Functions

 ClassInfo (const std::type_info &t)
 
 ClassInfo (const std::type_info &t, int)
 
std::string pluginName (std::string const &prefix) const
 
virtual std::string resource () const =0
 
const std::type_info & type () const
 
virtual ~ClassInfo ()
 

Private Member Functions

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

Private Attributes

ClassIDRegistryregistry
 
const std::type_info & tinfo
 

Detailed Description

Definition at line 20 of file ClassID.h.

Constructor & Destructor Documentation

virtual cond::ClassInfo::~ClassInfo ( )
inlinevirtual

Definition at line 22 of file ClassID.h.

22 {}
cond::ClassInfo::ClassInfo ( const std::type_info &  t)
inline

Definition at line 23 of file ClassID.h.

23 : tinfo(t) {}
const std::type_info & tinfo
Definition: ClassID.h:31
cond::ClassInfo::ClassInfo ( const std::type_info &  t,
int   
)
inline

Member Function Documentation

std::string cond::ClassInfo::pluginName ( std::string const &  prefix) const

Definition at line 60 of file ClassID.cc.

References ExpressReco_HICollisions_FallBack::id, and tinfo.

60  {
61  return prefix + "/" +id(tinfo);
62  }
const std::type_info & tinfo
Definition: ClassID.h:31
const char * cond::ClassInfo::registerMe ( const std::type_info &  t)
private

Definition at line 56 of file ClassID.cc.

References cond::ClassIDRegistry::registerMe(), and registry.

56  {
57  return registry->registerMe(t);
58  }
const char * registerMe(const std::type_info &t)
Definition: ClassID.cc:50
ClassIDRegistry * registry
Definition: ClassID.h:29
virtual std::string cond::ClassInfo::resource ( ) const
pure virtual

Implemented in cond::ClassID< T >.

const std::type_info& cond::ClassInfo::type ( ) const
inline

Member Data Documentation

ClassIDRegistry* cond::ClassInfo::registry
private

Definition at line 29 of file ClassID.h.

Referenced by registerMe().

const std::type_info& cond::ClassInfo::tinfo
private

Definition at line 31 of file ClassID.h.

Referenced by pluginName(), and type().