Public Types | |
enum | Level { LVL_DEBUG, LVL_OK, LVL_THROW, LVL_EXTRA, LVL_INFO, LVL_WARN, LVL_ERROR, LVL_USER, LVL_BUSY, LVL_NONE } |
Public Member Functions | |
Status (int level=LVL_OK, const std::string &msg="") | |
Status (Deserializer &) | |
virtual void | Serialize (Serializer &) const |
Status & | SetTag (const std::string &name, const std::string &val) |
std::string | GetTag (const std::string &name, const std::string &def="") const |
virtual void | print (std::ostream &) const |
int | GetLevel () const |
Static Public Member Functions | |
static std::string | Level2String (int level) |
static int | String2Level (const std::string &) |
Protected Types | |
typedef std::map< std::string, std::string > | map_t |
Protected Attributes | |
int | m_level |
std::string | m_msg |
map_t | m_tags |
Metadata tags in (name=value) pairs of strings. | |