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::ClassInfo Class Referenceabstract

#include <ClassID.h>

Inheritance diagram for cond::ClassInfo:
cond::ClassID< PythonWrapper::Class > cond::ClassID< T > pythonID::pluginName_AlCaRecoTriggerBits pythonID::pluginName_Alignments pythonID::pluginName_BeamSpotObjects pythonID::pluginName_CentralityTable pythonID::pluginName_CSCBadChambers pythonID::pluginName_DTCCBConfig pythonID::pluginName_DTDeadFlag pythonID::pluginName_DTHVStatus pythonID::pluginName_DTLVStatus pythonID::pluginName_DTMtime pythonID::pluginName_DTPerformance pythonID::pluginName_DTRangeT0 pythonID::pluginName_DTReadOutMapping pythonID::pluginName_DTStatusFlag pythonID::pluginName_DTT0 pythonID::pluginName_DTTPGParameters pythonID::pluginName_DTTtrig pythonID::pluginName_EcalADCToGeVConstant pythonID::pluginName_EcalChannelStatus pythonID::pluginName_EcalDAQTowerStatus pythonID::pluginName_EcalDCSTowerStatus pythonID::pluginName_EcalDQMChannelStatus pythonID::pluginName_EcalDQMTowerStatus pythonID::pluginName_EcalFloatCondObjectContainer pythonID::pluginName_EcalFunParams pythonID::pluginName_EcalGainRatios pythonID::pluginName_EcalLaserAPDPNRatios pythonID::pluginName_EcalMappingElectronics pythonID::pluginName_EcalPedestals pythonID::pluginName_EcalTBWeights pythonID::pluginName_EcalTimeOffsetConstant pythonID::pluginName_EcalTPGCrystalStatus pythonID::pluginName_EcalTPGFineGrainEBIdMap pythonID::pluginName_EcalTPGLinearizationConst pythonID::pluginName_EcalTPGLutIdMap pythonID::pluginName_EcalTPGPedestals pythonID::pluginName_EcalTPGPhysicsConst pythonID::pluginName_EcalTPGStripStatus pythonID::pluginName_EcalTPGTowerStatus pythonID::pluginName_EcalTPGWeightIdMap pythonID::pluginName_EcalWeightXtalGroups pythonID::pluginName_FillInfo pythonID::pluginName_HcalChannelQuality pythonID::pluginName_HcalGains pythonID::pluginName_HcalGainWidths pythonID::pluginName_HcalLUTCorrs pythonID::pluginName_HcalLutMetadata pythonID::pluginName_HcalPedestals pythonID::pluginName_HcalPFCorrs pythonID::pluginName_HcalQIEData pythonID::pluginName_HcalRespCorrs pythonID::pluginName_HcalTimeCorrs pythonID::pluginName_HcalValidationCorrs pythonID::pluginName_HcalZSThresholds pythonID::pluginName_L1TriggerScaler pythonID::pluginName_Pedestal pythonID::pluginName_RPCObGas pythonID::pluginName_RPCObImon pythonID::pluginName_RPCObPVSSmap pythonID::pluginName_RPCObTemp pythonID::pluginName_RPCObVmon pythonID::pluginName_RunInfo pythonID::pluginName_RunNumber pythonID::pluginName_RunSummary pythonID::pluginName_SiStripApvGain pythonID::pluginName_SiStripBadStrip pythonID::pluginName_SiStripBaseDelay pythonID::pluginName_SiStripConfObject pythonID::pluginName_SiStripDetVOff pythonID::pluginName_SiStripFedCabling pythonID::pluginName_SiStripLatency pythonID::pluginName_SiStripLorentzAngle pythonID::pluginName_SiStripNoises pythonID::pluginName_SiStripPedestals pythonID::pluginName_SiStripRunSummary pythonID::pluginName_SiStripSummary pythonID::pluginName_SiStripThreshold

Public Member Functions

 ClassInfo (const std::type_info &t)
 
std::string pluginName (std::string const &prefix) const
 
virtual std::string resource () const =0
 
const std::type_info & type () const
 
virtual ~ClassInfo ()
 

Private Attributes

const std::type_info & tinfo
 

Detailed Description

Definition at line 18 of file ClassID.h.

Constructor & Destructor Documentation

virtual cond::ClassInfo::~ClassInfo ( )
inlinevirtual

Definition at line 20 of file ClassID.h.

20 {}
cond::ClassInfo::ClassInfo ( const std::type_info &  t)
inline

Definition at line 21 of file ClassID.h.

21 : tinfo(t) {}
const std::type_info & tinfo
Definition: ClassID.h:29

Member Function Documentation

std::string cond::ClassInfo::pluginName ( std::string const &  prefix) const

ClassIDRegistry::ClassIDRegistry(std::string const & pfix) : prefix(pfix+"/"){}

const char * ClassIDRegistry::registerMe(const std::type_info& t) { sids.push_back(prefix+id(t)+"\0"); csids.push_back(sids.back().data()); return sids.back().c_str(); }

const char * ClassInfo::registerMe(const std::type_info& t) { return registry->registerMe(t); }

Definition at line 57 of file ClassID.cc.

References cond::className(), and tinfo.

57  {
58  return prefix + "/" +className(tinfo);
59  //return prefix + "/" +id(tinfo);
60  }
const std::type_info & tinfo
Definition: ClassID.h:29
char const * className(const std::type_info &t)
Definition: ClassID.cc:8
virtual std::string cond::ClassInfo::resource ( ) const
pure virtual
const std::type_info& cond::ClassInfo::type ( ) const
inline

Member Data Documentation

const std::type_info& cond::ClassInfo::tinfo
private

Definition at line 29 of file ClassID.h.

Referenced by pluginName(), and type().