#include <formatter.h>
Public Member Functions | |
template<typename _Iterator> | |
const _Error_formatter & | _M_iterator (const _Iterator &__it, const char *__name=0) const |
const _Error_formatter & | _M_integer (long __value, const char *__name=0) const |
const _Error_formatter & | _M_string (const char *__value, const char *__name=0) const |
template<typename _Sequence> | |
const _Error_formatter & | _M_sequence (const _Sequence &__seq, const char *__name=0) const |
const _Error_formatter & | _M_message (const char *__text) const |
const _Error_formatter & | _M_message (_Debug_msg_id __id) const |
void | _M_error () const |
Static Public Member Functions | |
static _Error_formatter | _M_at (const char *__file, size_t __line) |
Private Types | |
__unknown_constness | |
__const_iterator | |
__mutable_iterator | |
__last_constness | |
__unknown_state | |
__singular | |
__begin | |
__middle | |
__end | |
__last_state | |
__max_parameters = 9 | |
_M_indent = 4 | |
enum | _Constness { __unknown_constness, __const_iterator, __mutable_iterator, __last_constness } |
Whether an iterator is constant, mutable, or unknown. More... | |
enum | _Iterator_state { __unknown_state, __singular, __begin, __middle, __end, __last_state } |
enum | { __max_parameters = 9 } |
enum | { _M_indent = 4 } |
Private Member Functions | |
_Error_formatter (const char *__file, size_t __line) | |
template<typename _Tp> | |
void | _M_format_word (char *, int, const char *, _Tp) const |
void | _M_print_word (const char *__word) const |
void | _M_print_string (const char *__string) const |
Private Attributes | |
const char * | _M_file |
size_t | _M_line |
_Parameter | _M_parameters [__max_parameters] |
size_t | _M_num_parameters |
const char * | _M_text |
size_t | _M_max_length |
size_t | _M_column |
bool | _M_first_line |
bool | _M_wordwrap |
Friends | |
struct | _Parameter |
Classes | |
struct | _Is_iterator |
struct | _Is_sequence |
struct | _Parameter |
Definition at line 116 of file formatter.h.
anonymous enum [private] |
anonymous enum [private] |
enum __gnu_debug::_Error_formatter::_Constness [private] |
enum __gnu_debug::_Error_formatter::_Iterator_state [private] |
Definition at line 128 of file formatter.h.
__gnu_debug::_Error_formatter::_Error_formatter | ( | const char * | __file, | |
size_t | __line | |||
) | [inline, private] |
Definition at line 355 of file formatter.h.
static _Error_formatter __gnu_debug::_Error_formatter::_M_at | ( | const char * | __file, | |
size_t | __line | |||
) | [inline, static] |
Definition at line 385 of file formatter.h.
void __gnu_debug::_Error_formatter::_M_error | ( | ) | const |
void __gnu_debug::_Error_formatter::_M_format_word | ( | char * | , | |
int | , | |||
const char * | , | |||
_Tp | ||||
) | const [private] |
const _Error_formatter& __gnu_debug::_Error_formatter::_M_integer | ( | long | __value, | |
const char * | __name = 0 | |||
) | const [inline] |
Definition at line 319 of file formatter.h.
const _Error_formatter& __gnu_debug::_Error_formatter::_M_iterator | ( | const _Iterator & | __it, | |
const char * | __name = 0 | |||
) | const [inline] |
Definition at line 310 of file formatter.h.
const _Error_formatter& __gnu_debug::_Error_formatter::_M_message | ( | _Debug_msg_id | __id | ) | const |
const _Error_formatter& __gnu_debug::_Error_formatter::_M_message | ( | const char * | __text | ) | const [inline] |
Definition at line 345 of file formatter.h.
void __gnu_debug::_Error_formatter::_M_print_string | ( | const char * | __string | ) | const [private] |
void __gnu_debug::_Error_formatter::_M_print_word | ( | const char * | __word | ) | const [private] |
const _Error_formatter& __gnu_debug::_Error_formatter::_M_sequence | ( | const _Sequence & | __seq, | |
const char * | __name = 0 | |||
) | const [inline] |
Definition at line 336 of file formatter.h.
const _Error_formatter& __gnu_debug::_Error_formatter::_M_string | ( | const char * | __value, | |
const char * | __name = 0 | |||
) | const [inline] |
Definition at line 327 of file formatter.h.
friend struct _Parameter [friend] |
Definition at line 305 of file formatter.h.
size_t __gnu_debug::_Error_formatter::_M_column [mutable, private] |
Definition at line 379 of file formatter.h.
const char* __gnu_debug::_Error_formatter::_M_file [private] |
Definition at line 372 of file formatter.h.
bool __gnu_debug::_Error_formatter::_M_first_line [mutable, private] |
Definition at line 380 of file formatter.h.
size_t __gnu_debug::_Error_formatter::_M_line [private] |
Definition at line 373 of file formatter.h.
size_t __gnu_debug::_Error_formatter::_M_max_length [mutable, private] |
Definition at line 377 of file formatter.h.
size_t __gnu_debug::_Error_formatter::_M_num_parameters [mutable, private] |
Definition at line 375 of file formatter.h.
_Parameter __gnu_debug::_Error_formatter::_M_parameters[__max_parameters] [mutable, private] |
Definition at line 374 of file formatter.h.
const char* __gnu_debug::_Error_formatter::_M_text [mutable, private] |
Definition at line 376 of file formatter.h.
bool __gnu_debug::_Error_formatter::_M_wordwrap [mutable, private] |
Definition at line 381 of file formatter.h.