CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
ClassName.h File Reference
#include <typeinfo>
#include <string>
#include <cstdlib>

Go to the source code of this file.

Classes

class  ClassName< T >
 
class  Demangle
 

Functions

template<class T >
std::string className (const T &t)
 
std::string firstNonNumeric (const char *sc)
 

Function Documentation

template<class T >
std::string className ( const T t)
inline

Definition at line 30 of file ClassName.h.

References mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by AlignmentStats::analyze(), edm::EventContentAnalyzer::analyze(), AttachSD::create(), ora::ContainerSchema::create(), ora::MappingGenerator::createNewDependentMapping(), ora::MappingGenerator::createNewMapping(), ora::ContainerSchema::evolve(), ora::ContainerSchema::extend(), fftjetcms::fftjet_ScaleSet_parser(), ora::MappingDatabase::getBaseMappingForContainer(), edm::RootAutoLibraryLoader::GetClass(), ora::OraContainerHeaderTable::getContainerData(), ora::PoolContainerHeaderTable::getContainerData(), ora::OraMappingSchema::getDependentClassesInContainerMapping(), ora::MappingDatabase::getMappingForContainer(), stor::detail::ChainData::hltClassName(), ora::DatabaseUtilitySession::importContainerSchema(), ora::MappingDatabase::insertClassVersion(), ora::ContainerSchema::loadMappingForDependentClass(), main(), ora::ContainerSchema::mappingForDependentClass(), ora::Database::nameForContainer(), ora::MappingRules::newMappingVersionForDependentClass(), ora::ContainerHeaderData::operator=(), ora::MappingTree::override(), ora::BlobMapping::process(), ora::OraReferenceMapping::process(), ora::ArrayMapping::process(), ora::CArrayMapping::process(), ora::ObjectMapping::process(), ora::processBaseClasses(), TkAlCaOverlapTagger::produce(), ora::UniqueRefReader::read(), StaticFFTJetObjectFactory< Factory >::registerType(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), HIPAlignmentAlgorithm::run(), ora::MappingRules::sequenceNameForDependentClass(), edm::SetCustomStreamer(), ora::MappingDatabase::setMappingVersionForClass(), edm::TypeWithDict::templateArgumentAt(), ora::throwException(), pat::DiObjectProxy::tryGet_(), pat::DiObjectProxy::tryGetOne_(), fwlite::RecordWriter::update(), ora::MappingDatabase::versionOfClass(), edm::wrappedClassName(), and ora::UniqueRefWriter::write().

std::string firstNonNumeric ( const char *  sc)
inline

Definition at line 8 of file ClassName.h.

References pos, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.

8  {
9  std::string s(sc);
10  size_t pos = s.find_first_not_of("0123456789");
11  s.erase(0,pos);
12  return s;
13 }