Public Member Functions | |
float_format (int w=current_output_max_field_width(), int p=current_output_precision(), int f=0) | |
float_format (int w, int e, int p, int f) | |
float_format (const float_format &ff) | |
~float_format (void) | |
float_format & | fixed (void) |
float_format & | general (void) |
float_format & | lowercase (void) |
float_format & | operator= (const float_format &ff) |
float_format & | precision (int p) |
float_format & | scientific (void) |
float_format & | trailing_zeros (bool tz=true) |
float_format & | uppercase (void) |
float_format & | width (int w) |
Private Attributes | |
int | ex |
int | fmt |
int | fw |
int | prec |
int | sp |
int | up |
Friends | |
std::ostream & | operator<< (std::ostream &os, const pr_engineering_float &pef) |
std::ostream & | operator<< (std::ostream &os, const pr_rational_float &prf) |
std::ostream & | operator<< (std::ostream &os, const pr_formatted_float &pff) |
Definition at line 136 of file pr-output.cc.
float_format::float_format | ( | int | w = current_output_max_field_width () , |
|
int | p = current_output_precision () , |
|||
int | f = 0 | |||
) | [inline] |
Definition at line 141 of file pr-output.cc.
Definition at line 145 of file pr-output.cc.
float_format::float_format | ( | const float_format & | ff | ) | [inline] |
Definition at line 148 of file pr-output.cc.
float_format::~float_format | ( | void | ) | [inline] |
Definition at line 166 of file pr-output.cc.
float_format& float_format::fixed | ( | void | ) | [inline] |
Definition at line 169 of file pr-output.cc.
float_format& float_format::general | ( | void | ) | [inline] |
Definition at line 170 of file pr-output.cc.
float_format& float_format::lowercase | ( | void | ) | [inline] |
Definition at line 173 of file pr-output.cc.
float_format& float_format::operator= | ( | const float_format & | ff | ) | [inline] |
float_format& float_format::precision | ( | int | p | ) | [inline] |
Definition at line 175 of file pr-output.cc.
float_format& float_format::scientific | ( | void | ) | [inline] |
Definition at line 168 of file pr-output.cc.
float_format& float_format::trailing_zeros | ( | bool | tz = true |
) | [inline] |
Definition at line 179 of file pr-output.cc.
float_format& float_format::uppercase | ( | void | ) | [inline] |
Definition at line 172 of file pr-output.cc.
Referenced by set_complex_format(), set_complex_matrix_format(), set_range_format(), set_real_format(), and set_real_matrix_format().
float_format& float_format::width | ( | int | w | ) | [inline] |
Definition at line 177 of file pr-output.cc.
std::ostream& operator<< | ( | std::ostream & | os, | |
const pr_engineering_float & | pef | |||
) | [friend] |
Definition at line 283 of file pr-output.cc.
std::ostream& operator<< | ( | std::ostream & | os, | |
const pr_rational_float & | prf | |||
) | [friend] |
Definition at line 451 of file pr-output.cc.
std::ostream& operator<< | ( | std::ostream & | os, | |
const pr_formatted_float & | pff | |||
) | [friend] |
Definition at line 328 of file pr-output.cc.
int float_format::ex [private] |
Definition at line 197 of file pr-output.cc.
Referenced by operator<<(), and operator=().
int float_format::fmt [private] |
Definition at line 203 of file pr-output.cc.
Referenced by operator<<(), and operator=().
int float_format::fw [private] |
Definition at line 194 of file pr-output.cc.
Referenced by operator<<(), and operator=().
int float_format::prec [private] |
Definition at line 200 of file pr-output.cc.
Referenced by operator<<(), and operator=().
int float_format::sp [private] |
Definition at line 209 of file pr-output.cc.
Referenced by operator<<(), and operator=().
int float_format::up [private] |
Definition at line 206 of file pr-output.cc.
Referenced by operator<<(), and operator=().