CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Typedefs | Functions
ClassID.h File Reference
#include <typeinfo>
#include <vector>
#include <string>
#include "FWCore/PluginManager/interface/PluginFactory.h"

Go to the source code of this file.

Classes

struct  cond::ClassID< T >
 
class  cond::ClassIDRegistry
 
class  cond::ClassInfo
 

Namespaces

 cond
 
 cond::idCategories
 

Macros

#define CLASS_ID(type_)
 
#define ELEM_CONSTR(xx_)   cond::ClassInfo::ClassInfo(const std::type_info& t,int) : tinfo(t) {registry = &xx_;registerMe(t);}
 
#define PYTHON_ID(type_, plugName_, uname_)
 

Typedefs

typedef
edmplugin::PluginFactory
< ClassInfo *() > 
cond::ClassInfoFactory
 

Functions

char const * cond::className (const std::type_info &t)
 
std::string const cond::idCategories::dictIDCategory ("LCGDictID")
 
std::string const cond::idCategories::pythonIDCategory ("CondPythonID")
 

Macro Definition Documentation

#define CLASS_ID (   type_)
Value:
namespace{ cond::ClassID<type_> EDM_PLUGIN_SYM(instance_cld, __LINE__)(0); } \
std::string const dictIDCategory("LCGDictID")
#define EDM_PLUGIN_SYM(x, y)
#define DEFINE_EDM_PLUGIN(factory, type, name)

Definition at line 72 of file ClassID.h.

#define ELEM_CONSTR (   xx_)    cond::ClassInfo::ClassInfo(const std::type_info& t,int) : tinfo(t) {registry = &xx_;registerMe(t);}

Definition at line 63 of file ClassID.h.

#define PYTHON_ID (   type_,
  plugName_,
  uname_ 
)
Value:
namespace pythonID { struct EDM_PLUGIN_SYM(plugName_, uname_) : public cond::ClassID<type_> { EDM_PLUGIN_SYM(plugName_ , uname_) () : cond::ClassID<type_>(::plugName_){}};} \
DEFINE_EDM_PLUGIN(cond::ClassInfoFactory, EDM_PLUGIN_SYM(pythonID::plugName_, uname_) , EDM_PLUGIN_SYM(pythonID::plugName_, uname_)().pluginName(cond::idCategories::pythonIDCategory).c_str() )
std::string const pythonIDCategory("CondPythonID")
#define EDM_PLUGIN_SYM(x, y)
#define DEFINE_EDM_PLUGIN(factory, type, name)

Definition at line 76 of file ClassID.h.