gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 45 of file cprintf_formats.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Dec 
Hex 
Oct 

Definition at line 53 of file cprintf_formats.hh.

◆ anonymous enum

anonymous enum
Enumerator
None 
String 
Integer 
Character 
Floating 

Definition at line 59 of file cprintf_formats.hh.

◆ anonymous enum

anonymous enum
Enumerator
Best 
Fixed 
Scientific 

Definition at line 67 of file cprintf_formats.hh.

Constructor & Destructor Documentation

◆ Format()

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

Definition at line 78 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 50 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 75 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 76 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


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

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0