Navigation

Operators and Keywords

Function List:

C++ API

float_format Class Reference

List of all members.


Public Member Functions

 float_format (int w=current_output_max_field_width(), int p=current_output_precision(), int f=0)
 float_format (const float_format &ff)
float_formatoperator= (const float_format &ff)
 ~float_format (void)
float_formatscientific (void)
float_formatfixed (void)
float_formatgeneral (void)
float_formatuppercase (void)
float_formatlowercase (void)
float_formatprecision (int p)
float_formatwidth (int w)
float_formattrailing_zeros (bool tz=true)

Friends

std::ostreamoperator<< (std::ostream &os, const pr_formatted_float &pff)
std::ostreamoperator<< (std::ostream &os, const pr_rational_float &pff)

Constructor & Destructor Documentation

float_format::float_format ( int  w = current_output_max_field_width (),
int  p = current_output_precision (),
int  f = 0 
) [inline]

float_format::float_format ( const float_format ff  )  [inline]

float_format::~float_format ( void   )  [inline]


Member Function Documentation

float_format& float_format::fixed ( void   )  [inline]

float_format& float_format::general ( void   )  [inline]

float_format& float_format::lowercase ( void   )  [inline]

float_format& float_format::operator= ( const float_format ff  )  [inline]

float_format& float_format::precision ( int  p  )  [inline]

float_format& float_format::scientific ( void   )  [inline]

float_format& float_format::trailing_zeros ( bool  tz = true  )  [inline]

float_format& float_format::uppercase ( void   )  [inline]

float_format& float_format::width ( int  w  )  [inline]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream os,
const pr_rational_float pff 
) [friend]

std::ostream& operator<< ( std::ostream os,
const pr_formatted_float pff 
) [friend]


The documentation for this class was generated from the following file: