gem5 v25.0.0.1
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

Definition at line 47 of file cprintf_formats.hh.

Referenced by gem5::cp::_formatInteger(), and clear().

◆ []

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

Referenced by gem5::cp::_formatInteger(), and clear().

◆ blankSpace

bool gem5::cp::Format::blankSpace

Definition at line 50 of file cprintf_formats.hh.

Referenced by clear().

◆ fillZero

bool gem5::cp::Format::fillZero

Definition at line 51 of file cprintf_formats.hh.

Referenced by gem5::cp::_formatFloat(), gem5::cp::_formatInteger(), and clear().

◆ []

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

Referenced by gem5::cp::_formatFloat(), and clear().

◆ flushLeft

bool gem5::cp::Format::flushLeft

Definition at line 48 of file cprintf_formats.hh.

Referenced by gem5::cp::_formatInteger(), gem5::cp::_formatString(), and clear().

◆ []

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

Referenced by clear().

◆ getPrecision

bool gem5::cp::Format::getPrecision

Definition at line 75 of file cprintf_formats.hh.

Referenced by clear().

◆ getWidth

bool gem5::cp::Format::getWidth

Definition at line 76 of file cprintf_formats.hh.

Referenced by clear().

◆ precision

int gem5::cp::Format::precision

Definition at line 73 of file cprintf_formats.hh.

Referenced by gem5::cp::_formatFloat(), and clear().

◆ printSign

bool gem5::cp::Format::printSign

Definition at line 49 of file cprintf_formats.hh.

Referenced by gem5::cp::_formatInteger(), and clear().

◆ uppercase

bool gem5::cp::Format::uppercase

Definition at line 52 of file cprintf_formats.hh.

Referenced by gem5::cp::_formatFloat(), gem5::cp::_formatInteger(), and clear().

◆ width

int gem5::cp::Format::width

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

Generated on Sat Oct 18 2025 08:06:58 for gem5 by doxygen 1.14.0