16#define __ERS_UTIL__ "0.3"
24 typedef enum _severity_t {
severity_none,
debug_0,
debug_1,
debug_2,
debug_3,
information,
notification,
warning,
error,
fatal,
severity_max }
severity_t ;
33 static const char*
const SEVERITY_NAMES[] ;
34 static const char*
const BOOLEAN_NAMES[] ;
35 static const char*
const RESPONSIBILITY_NAMES[] ;
46 static const char*
to_string(
bool b)
throw ();
49 static std::vector<std::string>
tokenize(
const std::string &text,
const std::string &separators) ;
static int parse_boolean(const char *s)
string to boolean
static std::string parse_prefix_string(const char **ptr)
prefix string data to string
static std::string umangle_gcc_class_name(const char *name)
unmangles gcc RTTI names
static responsibility_t parse_responsibility(const char *s)
string to responsibility
static std::vector< std::string > tokenize(const std::string &text, const std::string &separators)
static const std::string empty_string
static const char * to_string(severity_t s)
severity_t to string
static severity_t parse_severity(const char *s)
string to severity_t
enum ers::_responsibility_t responsibility_t
std::vector< std::string > string_vector
std::map< std::string, std::string > string_map_type
enum ers::_severity_t severity_t