#include <ClassID.h>
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 |
virtual cond::ClassInfo::~ClassInfo | ( | ) | [inline, virtual] |
cond::ClassInfo::ClassInfo | ( | const std::type_info & | t | ) | [inline] |
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.
virtual std::string cond::ClassInfo::resource | ( | ) | const [pure virtual] |
Implemented in cond::ClassID< T >.
const std::type_info& cond::ClassInfo::type | ( | ) | const [inline] |
const std::type_info& cond::ClassInfo::tinfo [private] |
Definition at line 29 of file ClassID.h.
Referenced by pluginName(), and type().