gem5  v22.1.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
gem5::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 alternateForm
 
bool flushLeft
 
bool printSign
 
bool blankSpace
 
bool fillZero
 
bool uppercase
 
enum gem5::cp::Format:: { ... }  base
 
enum gem5::cp::Format:: { ... }  format
 
enum gem5::cp::Format:: { ... }  floatFormat
 
int precision
 
int width
 
bool getPrecision
 
bool getWidth
 

Detailed Description

Definition at line 42 of file cprintf_formats.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Dec 
Hex 
Oct 

Definition at line 50 of file cprintf_formats.hh.

◆ anonymous enum

anonymous enum
Enumerator
None 
String 
Integer 
Character 
Floating 

Definition at line 56 of file cprintf_formats.hh.

◆ anonymous enum

anonymous enum
Enumerator
Best 
Fixed 
Scientific 

Definition at line 64 of file cprintf_formats.hh.

Constructor & Destructor Documentation

◆ Format()

gem5::cp::Format::Format ( )
inline

Definition at line 75 of file cprintf_formats.hh.

References clear().

Member Function Documentation

◆ clear()

void gem5::cp::Format::clear ( )
inline

Member Data Documentation

◆ alternateForm

bool gem5::cp::Format::alternateForm

◆ 

enum { ... } gem5::cp::Format::base

◆ blankSpace

bool gem5::cp::Format::blankSpace

Definition at line 47 of file cprintf_formats.hh.

Referenced by clear(), and gem5::cp::Print::processFlag().

◆ fillZero

bool gem5::cp::Format::fillZero

◆ 

enum { ... } gem5::cp::Format::floatFormat

◆ flushLeft

bool gem5::cp::Format::flushLeft

◆ 

enum { ... } gem5::cp::Format::format

◆ getPrecision

bool gem5::cp::Format::getPrecision

Definition at line 72 of file cprintf_formats.hh.

Referenced by gem5::cp::Print::addArg(), clear(), and gem5::cp::Print::processFlag().

◆ getWidth

bool gem5::cp::Format::getWidth

Definition at line 73 of file cprintf_formats.hh.

Referenced by gem5::cp::Print::addArg(), clear(), and gem5::cp::Print::processFlag().

◆ precision

int gem5::cp::Format::precision

◆ printSign

bool gem5::cp::Format::printSign

◆ uppercase

bool gem5::cp::Format::uppercase

◆ width

int gem5::cp::Format::width

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

Generated on Wed Dec 21 2022 10:23:40 for gem5 by doxygen 1.9.1