#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 | |
namespace | cond |
namespace | cond::idCategories |
Defines | |
#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") |
#define CLASS_ID | ( | type_ | ) |
namespace{ cond::ClassID<type_> EDM_PLUGIN_SYM(instance_cld, __LINE__)(0); } \ DEFINE_EDM_PLUGIN(cond::ClassInfoFactory, cond::ClassID<type_> , cond::ClassID<type_>().pluginName(cond::idCategories::dictIDCategory).c_str() )
#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_ | |||
) |
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() )