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.

References 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 }