|
BOSS 8.0.0
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 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 49 of file Event/ers/include/ers/Core.h.
|
static | |||||||||||||
string to boolean
Parse a string and extract a boolean
| s | the string to parse |
Definition at line 93 of file Core.cxx.
Referenced by ers::Issue::transience().
|
static | |||||||||||||
string to boolean
|
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 118 of file Core.cxx.
Referenced by umangle_gcc_class_name().
|
static | |||||||||||||
prefix string data to string
|
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 69 of file Core.cxx.
Referenced by parse_responsibility(), and ers::Issue::responsibility().
|
static | |||||||||||||
string to responsibility
|
static | |||||||||||||
string to responsibility
|
static | |||||||||||||
string to responsibility
Parses a string and extracts a responsibility
| s | the string to parse |
Definition at line 82 of file Core.cxx.
|
static | |||||||||||||
string to responsibility
|
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 36 of file Core.cxx.
Referenced by parse_severity(), and ers::Issue::severity().
|
static | |||||||||||||
string to severity_t
|
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 49 of file Core.cxx.
|
static | |||||||||||||
string to severity_t
|
static | |||||||||||||
string to severity_t
|
static | |||||||||||||
|
static | |||||||||||||
boolean to string
|
static | |||||||||||||
boolean to string
|
static | |||||||||||||
responsibility to string
Transforms a responsibility value into a string
| r | the responsibility |
Definition at line 58 of file Core.cxx.
|
static | |||||||||||||
responsibility to string
|
static | |||||||||||||
responsibility to string
|
static | |||||||||||||
severity_t to string
Transforms a severity_t type into the corresponding string.
| s | severity |
Definition at line 25 of file Core.cxx.
Referenced by ers::StreamFactory::debug(), ers::StreamFactory::debug(), ers::StreamFactory::key_for_severity(), ers::Issue::responsibility(), ers::Issue::severity(), and ers::Issue::transience().
|
static | |||||||||||||
severity_t to string
|
static | |||||||||||||
severity_t to string
|
static |
Definition at line 157 of file Core.cxx.
Referenced by ers::FilterStream::factory(), and ers::Issue::qualifiers().
|
static |
|
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 139 of file Core.cxx.
|
static | |||||||||||||
unmangles gcc RTTI names
|
static | |||||||||||||
unmangles gcc RTTI names
|
static |
Definition at line 56 of file Event/ers/include/ers/Core.h.
Referenced by ers::Issue::get_value(), parse_prefix_string(), and umangle_gcc_class_name().