CGEM BOSS 6.6.5.f
BESIII Offline Software System
|
Miscalenous constants. More...
#include <Core.h>
Static Public Member Functions | |
static severity_t | parse_severity (const char *s) throw () |
string to severity_t | |
static severity_t | parse_severity (const std::string &s) throw () |
string to severity_t | |
static const char * | to_string (severity_t s) throw () |
severity_t to string | |
static responsibility_t | parse_responsibility (const char *s) throw () |
string to responsibility | |
static responsibility_t | parse_responsibility (const std::string &s) throw () |
string to responsibility | |
static const char * | to_string (responsibility_t s) throw () |
responsibility to string | |
static int | parse_boolean (const char *s) throw () |
string to boolean | |
static const char * | to_string (bool b) throw () |
boolean to string | |
static std::string | parse_prefix_string (const char **ptr) throw () |
prefix string data to string | |
static std::string | umangle_gcc_class_name (const char *name) throw () |
unmangles gcc RTTI names | |
static std::vector< std::string > | tokenize (const std::string &text, const std::string &separators) |
static severity_t | parse_severity (const char *s) throw () |
string to severity_t | |
static severity_t | parse_severity (const std::string &s) throw () |
string to severity_t | |
static const char * | to_string (severity_t s) throw () |
severity_t to string | |
static responsibility_t | parse_responsibility (const char *s) throw () |
string to responsibility | |
static responsibility_t | parse_responsibility (const std::string &s) throw () |
string to responsibility | |
static const char * | to_string (responsibility_t s) throw () |
responsibility to string | |
static int | parse_boolean (const char *s) throw () |
string to boolean | |
static const char * | to_string (bool b) throw () |
boolean to string | |
static std::string | parse_prefix_string (const char **ptr) throw () |
prefix string data to string | |
static std::string | umangle_gcc_class_name (const char *name) throw () |
unmangles gcc RTTI names | |
static std::vector< std::string > | tokenize (const std::string &text, const std::string &separators) |
Static Public Attributes | |
static const std::string | empty_string = "" |
Miscalenous constants.
This class contains some general constants.
Definition at line 32 of file Event/ers/ers-00-00-03/ers/Core.h.
|
static |
string to boolean
Parse a string and extract a boolean
s | the string to parse |
Definition at line 88 of file Core.cxx.
Referenced by ers::Issue::transience().
|
static |
string to boolean
|
static |
prefix string data to string
This method parses a string in the format used by gcc class names The string begins with the length of the string expressed in ascii encoded integer, followed by the character data (no 0 character at the end).
ptr | pointer to the character data pointer, this pointer is incremented by the parsing. |
Definition at line 114 of file Core.cxx.
|
static |
prefix string data to string
|
static |
string to responsibility
Parses a string and extracts a responsibility
s | the string to parse |
Definition at line 65 of file Core.cxx.
Referenced by ers::Issue::responsibility().
|
static |
string to responsibility
|
static |
string to responsibility
Parses a string and extracts a responsibility
s | the string to parse |
Definition at line 77 of file Core.cxx.
|
static |
string to responsibility
|
static |
string to severity_t
Parses a string and extracts a severity_t
s | the string to parse |
Definition at line 33 of file Core.cxx.
Referenced by ers::Issue::severity().
|
static |
string to severity_t
|
static |
string to severity_t
Parses a string and extracts a severity_t
s | the string to parse |
Definition at line 45 of file Core.cxx.
|
static |
string to severity_t
|
static |
|
static |
boolean to string
|
static |
responsibility to string
Transforms a responsibility value into a string
r | the responsibility |
Definition at line 54 of file Core.cxx.
|
static |
responsibility to string
|
static |
severity_t to string
Transforms a severity_t type into the corresponding string.
s | severity |
Definition at line 22 of file Core.cxx.
Referenced by ers::StreamFactory::debug(), ers::StreamFactory::key_for_severity(), ers::Issue::responsibility(), ers::Issue::severity(), and ers::Issue::transience().
|
static |
severity_t to string
|
static |
Definition at line 151 of file Core.cxx.
Referenced by ers::FilterStream::factory(), and ers::Issue::qualifiers().
|
static |
|
static |
unmangles gcc RTTI names
This method tries to unmangle GCC class names given by the RTTI system This works for GCC 3.2 and 3.4. It should not be used for anything else than human display or fallback mechanism.
name | the mangled name of the object |
Definition at line 135 of file Core.cxx.
Referenced by ers::Issue::get_class_name().
|
static |
unmangles gcc RTTI names
|
static |
Definition at line 38 of file Event/ers/ers-00-00-03/ers/Core.h.
Referenced by ers::Issue::get_value(), parse_prefix_string(), and umangle_gcc_class_name().