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 Attributes
cond::ClassID< T > Struct Template Reference

#include <ClassID.h>

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

Public Member Functions

 ClassID ()
 
 ClassID (char const *res)
 
 ClassID (int i)
 
virtual std::string resource () const
 
- Public Member Functions inherited from cond::ClassInfo
 ClassInfo (const std::type_info &t)
 
 ClassInfo (const std::type_info &t, int)
 
std::string pluginName (std::string const &prefix) const
 
const std::type_info & type () const
 
virtual ~ClassInfo ()
 

Private Attributes

std::string m_res
 

Detailed Description

template<typename T>
struct cond::ClassID< T >

Definition at line 50 of file ClassID.h.

Constructor & Destructor Documentation

template<typename T >
cond::ClassID< T >::ClassID ( )
inline

Definition at line 51 of file ClassID.h.

51 : ClassInfo(typeid(T)) {}
ClassInfo(const std::type_info &t)
Definition: ClassID.h:23
template<typename T >
cond::ClassID< T >::ClassID ( char const *  res)
inline

Definition at line 52 of file ClassID.h.

52 : ClassInfo(typeid(T)), m_res(res) {}
ClassInfo(const std::type_info &t)
Definition: ClassID.h:23
std::string m_res
Definition: ClassID.h:56
template<typename T >
cond::ClassID< T >::ClassID ( int  i)
inline

Definition at line 53 of file ClassID.h.

53 : ClassInfo(typeid(T),i) {}
int i
Definition: DBlmapReader.cc:9
ClassInfo(const std::type_info &t)
Definition: ClassID.h:23

Member Function Documentation

template<typename T >
virtual std::string cond::ClassID< T >::resource ( ) const
inlinevirtual

Implements cond::ClassInfo.

Definition at line 54 of file ClassID.h.

References cond::ClassID< T >::m_res.

54 { return m_res;}
std::string m_res
Definition: ClassID.h:56

Member Data Documentation

template<typename T >
std::string cond::ClassID< T >::m_res
private

Definition at line 56 of file ClassID.h.

Referenced by cond::ClassID< T >::resource().