CMS 3D CMS Logo

Macros
registration_macros.h File Reference
#include "CondCore/ESSources/interface/ProxyFactory.h"
#include "CondCore/ESSources/interface/DataProxy.h"

Go to the source code of this file.

Macros

#define INSTANTIATE_PROXY(record_, type_)   template class DataProxyWrapper<record_, type_>;
 
#define INSTANTIATE_PROXY_INIT(record_, type_, initializer_)   template class DataProxyWrapper<record_, type_, initializer_>;
 
#define ONLY_REGISTER_PLUGIN(record_, type_)
 
#define ONLY_REGISTER_PLUGIN_INIT(record_, type_, initializer_)
 
#define REGISTER_KEYLIST_PLUGIN(record_, type_, source_)
 
#define REGISTER_PLUGIN(record_, type_)
 
#define REGISTER_PLUGIN_INIT(record_, type_, initializer_)
 

Macro Definition Documentation

#define INSTANTIATE_PROXY (   record_,
  type_ 
)    template class DataProxyWrapper<record_, type_>;

Definition at line 30 of file registration_macros.h.

#define INSTANTIATE_PROXY_INIT (   record_,
  type_,
  initializer_ 
)    template class DataProxyWrapper<record_, type_, initializer_>;

Definition at line 41 of file registration_macros.h.

#define ONLY_REGISTER_PLUGIN (   record_,
  type_ 
)
Value:
DEFINE_EDM_PLUGIN( cond::ProxyFactory, EDM_PLUGIN_SYM(Proxy , __LINE__ ), #record_ "@NewProxy")
#define EDM_PLUGIN_SYM(x, y)
#define DEFINE_EDM_PLUGIN(factory, type, name)

Definition at line 33 of file registration_macros.h.

#define ONLY_REGISTER_PLUGIN_INIT (   record_,
  type_,
  initializer_ 
)
Value:
DEFINE_EDM_PLUGIN( cond::ProxyFactory, EDM_PLUGIN_SYM(Proxy , __LINE__ ), #record_ "@NewProxy")
#define EDM_PLUGIN_SYM(x, y)
#define DEFINE_EDM_PLUGIN(factory, type, name)

Definition at line 43 of file registration_macros.h.

#define REGISTER_KEYLIST_PLUGIN (   record_,
  type_,
  source_ 
)
Value:
struct EDM_PLUGIN_SYM(Proxy , record_ ) : public DataProxyWrapper<record_, type_> { EDM_PLUGIN_SYM(Proxy , record_ ) () : DataProxyWrapper<record_, type_>(#source_){};}; \
DEFINE_EDM_PLUGIN( cond::ProxyFactory, EDM_PLUGIN_SYM(Proxy , record_ ), #record_ "@NewProxy")
#define EDM_PLUGIN_SYM(x, y)
#define DEFINE_EDM_PLUGIN(factory, type, name)

Definition at line 54 of file registration_macros.h.

#define REGISTER_PLUGIN (   record_,
  type_ 
)
Value:
INSTANTIATE_PROXY(record_, type_ ) \
ONLY_REGISTER_PLUGIN(record_, type_ )
#define ONLY_REGISTER_PLUGIN(record_, type_)
#define INSTANTIATE_PROXY(record_, type_)

Definition at line 37 of file registration_macros.h.

#define REGISTER_PLUGIN_INIT (   record_,
  type_,
  initializer_ 
)
Value:
INSTANTIATE_PROXY_INIT(record_, type_, initializer_ ) \
ONLY_REGISTER_PLUGIN_INIT(record_, type_, initializer_ )
#define ONLY_REGISTER_PLUGIN_INIT(record_, type_, initializer_)
#define INSTANTIATE_PROXY_INIT(record_, type_, initializer_)

Definition at line 47 of file registration_macros.h.