CMS 3D CMS Logo

cond::ClassID< T > Struct Template Reference

#include <CondCore/DBCommon/interface/ClassID.h>

Inheritance diagram for cond::ClassID< T >:

cond::ClassInfo

List of all members.

Public Member Functions

 ClassID (int i)
 ClassID (char const *res)
 ClassID ()
virtual std::string resource () const

Private Attributes

std::string m_res


Detailed Description

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

Definition at line 46 of file ClassID.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file ClassID.h.

00047 : ClassInfo(typeid(T)) {}

template<typename T>
cond::ClassID< T >::ClassID ( char const *  res  )  [inline]

Definition at line 48 of file ClassID.h.

00048 : ClassInfo(typeid(T)), m_res(res) {}

template<typename T>
cond::ClassID< T >::ClassID ( int  i  )  [inline]

Definition at line 49 of file ClassID.h.

00049 : ClassInfo(typeid(T),i) {}


Member Function Documentation

template<typename T>
virtual std::string cond::ClassID< T >::resource (  )  const [inline, virtual]

Implements cond::ClassInfo.

Definition at line 50 of file ClassID.h.

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

00050 { return m_res;}


Member Data Documentation

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

Definition at line 52 of file ClassID.h.

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


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:36:43 2009 for CMSSW by  doxygen 1.5.4