#include <notify.h>
Public Member Functions | |
bool | assert_failure (const char *expression, int line, const char *source_file) |
void | config_initialized () |
Static Public Member Functions | |
ios_fmtflags | get_literal_flag () |
NotifySeverity | string_severity (const string &string) |
Private Types | |
typedef bool | AssertHandler (const char *expression, int line, const char *source_file) |
typedef map< string, NotifyCategory * > | Categories |
Private Member Functions | |
~Notify () | |
void | set_ostream_ptr (ostream *ostream_ptr, bool delete_later) |
ostream * | get_ostream_ptr () const |
void | set_assert_handler (AssertHandler *assert_handler) |
void | clear_assert_handler () |
bool | has_assert_handler () const |
AssertHandler * | get_assert_handler () const |
bool | has_assert_failed () const |
const string & | get_assert_error_message () const |
void | clear_assert_failed () |
NotifyCategory * | get_top_category () |
NotifyCategory * | get_category (const string &basename, NotifyCategory *parent_category) |
NotifyCategory * | get_category (const string &basename, const string &parent_fullname) |
NotifyCategory * | get_category (const string &fullname) |
Static Private Member Functions | |
ostream & | out () |
ostream & | null () |
void | write_string (const string &str) |
Notify * | ptr () |
Private Attributes | |
PUBLISHED | __pad0__: Notify() |
ostream * | _ostream_ptr |
bool | _owns_ostream_ptr |
ostream * | _null_ostream_ptr |
AssertHandler * | _assert_handler |
bool | _assert_failed |
string | _assert_error_message |
Categories | _categories |
Static Private Attributes | |
Notify * | _global_ptr = (Notify *)NULL |
|
Definition at line 53 of file notify.h. Referenced by clear_assert_handler(), and has_assert_handler(). |
|
|
|
Definition at line 55 of file notify.cxx. References _null_ostream_ptr, and _ostream_ptr. |
|
Definition at line 411 of file notify.cxx. References _assert_error_message, _assert_failed, get_assert_abort(), has_assert_handler(), nout, and ostringstream::str(). |
|
Definition at line 227 of file notify.cxx. References _assert_failed. |
|
Definition at line 158 of file notify.cxx. References _assert_handler, AssertHandler, and NULL. |
|
Definition at line 501 of file notify.cxx. References _ostream_ptr, nout, Filename::open_write(), out(), set_ostream_ptr(), and Filename::set_text(). Referenced by Config::ConfigTable::Instance(). |
|
Definition at line 216 of file notify.cxx. References _assert_error_message. |
|
Definition at line 180 of file notify.cxx. References _assert_handler. |
|
Definition at line 319 of file notify.cxx. References _categories, get_category(), get_top_category(), NULL, and size_t. |
|
Definition at line 303 of file notify.cxx. References get_category(). |
|
Definition at line 253 of file notify.cxx. References _categories, get_top_category(), nassertr, and NULL. Referenced by get_category(), and get_top_category(). |
|
Definition at line 112 of file notify.cxx. References ios_fmtflags. |
|
Definition at line 93 of file notify.cxx. References _ostream_ptr. |
|
Definition at line 240 of file notify.cxx. References get_category(). Referenced by get_category(). |
|
Definition at line 205 of file notify.cxx. References _assert_failed. |
|
Definition at line 169 of file notify.cxx. References _assert_handler, AssertHandler, and NULL. Referenced by assert_failure(). |
|
Definition at line 365 of file notify.cxx. References _null_ostream_ptr, and ptr(). Referenced by NotifyCategory::out(). |
|
Definition at line 353 of file notify.cxx. References _ostream_ptr, and ptr(). Referenced by config_initialized(), and write_string(). |
|
Definition at line 389 of file notify.cxx. References _global_ptr, and NULL. Referenced by Config::ConfigTable::Instance(), null(), and out(). |
|
Definition at line 147 of file notify.cxx. References _assert_handler. |
|
Definition at line 72 of file notify.cxx. References _ostream_ptr, _owns_ostream_ptr, NULL, and ostream. Referenced by config_initialized(). |
|
Definition at line 458 of file notify.cxx. References NS_debug, NS_error, NS_fatal, NS_info, NS_spam, NS_unspecified, and NS_warning. Referenced by Config::Config< GetConfig >::Init(), and NotifyCategory::NotifyCategory(). |
|
Definition at line 378 of file notify.cxx. References out(). |
|
|
|
Definition at line 94 of file notify.h. Referenced by assert_failure(), and get_assert_error_message(). |
|
Definition at line 93 of file notify.h. Referenced by assert_failure(), clear_assert_failed(), and has_assert_failed(). |
|
Definition at line 92 of file notify.h. Referenced by clear_assert_handler(), get_assert_handler(), has_assert_handler(), and set_assert_handler(). |
|
Definition at line 97 of file notify.h. Referenced by get_category(). |
|
Definition at line 31 of file notify.cxx. Referenced by ptr(). |
|
|
|
Definition at line 88 of file notify.h. Referenced by config_initialized(), get_ostream_ptr(), out(), set_ostream_ptr(), and ~Notify(). |
|
Definition at line 89 of file notify.h. Referenced by set_ostream_ptr(). |