gem5
|
#include <cprintf_formats.hh>
Public Types | |
enum | { dec, hex, oct } |
enum | { none, string, integer, character, floating } |
enum | { best, fixed, scientific } |
Public Member Functions | |
Format () | |
void | clear () |
Public Attributes | |
bool | alternate_form |
bool | flush_left |
bool | print_sign |
bool | blank_space |
bool | fill_zero |
bool | uppercase |
enum cp::Format:: { ... } | base |
enum cp::Format:: { ... } | format |
enum cp::Format:: { ... } | float_format |
int | precision |
int | width |
bool | get_precision |
bool | get_width |
Definition at line 40 of file cprintf_formats.hh.
anonymous enum |
Enumerator | |
---|---|
dec | |
hex | |
oct |
Definition at line 48 of file cprintf_formats.hh.
anonymous enum |
Enumerator | |
---|---|
none | |
string | |
integer | |
character | |
floating |
Definition at line 49 of file cprintf_formats.hh.
anonymous enum |
Enumerator | |
---|---|
best | |
fixed | |
scientific |
Definition at line 50 of file cprintf_formats.hh.
|
inline |
Definition at line 56 of file cprintf_formats.hh.
References clear().
|
inline |
Definition at line 58 of file cprintf_formats.hh.
References alternate_form, base, best, blank_space, dec, fill_zero, float_format, flush_left, format, get_precision, get_width, none, precision, print_sign, uppercase, and width.
Referenced by Format(), and cp::Print::process().
bool cp::Format::alternate_form |
Definition at line 42 of file cprintf_formats.hh.
Referenced by cp::_format_integer(), clear(), and cp::Print::process_flag().
enum { ... } cp::Format::base |
Referenced by cp::_format_integer(), clear(), and cp::Print::process_flag().
bool cp::Format::blank_space |
Definition at line 45 of file cprintf_formats.hh.
Referenced by clear(), and cp::Print::process_flag().
bool cp::Format::fill_zero |
Definition at line 46 of file cprintf_formats.hh.
Referenced by cp::_format_integer(), clear(), and cp::Print::process_flag().
enum { ... } cp::Format::float_format |
Referenced by cp::_format_float(), clear(), and cp::Print::process_flag().
bool cp::Format::flush_left |
Definition at line 43 of file cprintf_formats.hh.
Referenced by cp::_format_integer(), cp::_format_string(), clear(), and cp::Print::process_flag().
enum { ... } cp::Format::format |
Referenced by cp::Print::add_arg(), clear(), and cp::Print::process_flag().
bool cp::Format::get_precision |
Definition at line 53 of file cprintf_formats.hh.
Referenced by cp::Print::add_arg(), clear(), and cp::Print::process_flag().
bool cp::Format::get_width |
Definition at line 54 of file cprintf_formats.hh.
Referenced by cp::Print::add_arg(), clear(), and cp::Print::process_flag().
int cp::Format::precision |
Definition at line 51 of file cprintf_formats.hh.
Referenced by cp::_format_float(), cp::Print::add_arg(), clear(), and cp::Print::process_flag().
bool cp::Format::print_sign |
Definition at line 44 of file cprintf_formats.hh.
Referenced by cp::_format_integer(), clear(), and cp::Print::process_flag().
bool cp::Format::uppercase |
Definition at line 47 of file cprintf_formats.hh.
Referenced by cp::_format_float(), cp::_format_integer(), clear(), and cp::Print::process_flag().
int cp::Format::width |
Definition at line 52 of file cprintf_formats.hh.
Referenced by cp::_format_float(), cp::_format_integer(), cp::_format_string(), cp::Print::add_arg(), clear(), and cp::Print::process_flag().