CMS 3D CMS Logo

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

◆ className()

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

◆ firstNonNumeric()

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

Definition at line 8 of file ClassName.h.

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 }

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

pos
Definition: PixelAliasList.h:18
alignCSCRings.s
s
Definition: alignCSCRings.py:92
Demangle
Definition: ClassName.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644