CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
edm::typelookup::NameRegistrar Class Reference

#include <typelookup.h>

Public Member Functions

 NameRegistrar (const char *iTypeName, const std::type_info &iInfo)
 

Detailed Description

Used to create file static variables which register the string iTypeName to the C++ class type associated to the std::type_info.

Definition at line 75 of file typelookup.h.

Constructor & Destructor Documentation

edm::typelookup::NameRegistrar::NameRegistrar ( const char *  iTypeName,
const std::type_info &  iInfo 
)

Definition at line 44 of file typelookup.cc.

45 {
46  typeNameToValueMap().insert(std::pair<const char*, const std::type_info*>(iTypeName,&iInfo));
47 }