gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
cp::Format Struct Reference

#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
 

Detailed Description

Definition at line 40 of file cprintf_formats.hh.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

cp::Format::Format ( )
inline

Definition at line 56 of file cprintf_formats.hh.

References clear().

Member Function Documentation

void cp::Format::clear ( )
inline

Member Data Documentation

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
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
bool cp::Format::flush_left
enum { ... } cp::Format::format
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
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
int cp::Format::width

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

Generated on Fri Jun 9 2017 13:04:30 for gem5 by doxygen 1.8.6