gem5  v21.1.0.2
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

◆ base

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

◆ floatFormat

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

◆ flushLeft

bool gem5::cp::Format::flushLeft

◆ format

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 Tue Sep 21 2021 12:28:59 for gem5 by doxygen 1.8.17