gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::cp Namespace Reference

Classes

struct  Format
 
struct  Print
 

Functions

template<typename T >
static void _formatChar (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void _formatInteger (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void _formatFloat (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void _formatString (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void formatChar (std::ostream &out, const T &data, Format &fmt)
 
static void formatChar (std::ostream &out, char data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned char data, Format &fmt)
 
static void formatChar (std::ostream &out, signed char data, Format &fmt)
 
static void formatChar (std::ostream &out, short data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned short data, Format &fmt)
 
static void formatChar (std::ostream &out, int data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned int data, Format &fmt)
 
static void formatChar (std::ostream &out, long data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned long data, Format &fmt)
 
static void formatChar (std::ostream &out, long long data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned long long data, Format &fmt)
 
template<typename T >
static void formatInteger (std::ostream &out, const T &data, Format &fmt)
 
static void formatInteger (std::ostream &out, char data, Format &fmt)
 
static void formatInteger (std::ostream &out, unsigned char data, Format &fmt)
 
static void formatInteger (std::ostream &out, signed char data, Format &fmt)
 
static void formatInteger (std::ostream &out, const unsigned char *data, Format &fmt)
 
static void formatInteger (std::ostream &out, const signed char *data, Format &fmt)
 
template<typename T >
static void formatFloat (std::ostream &out, const T &data, Format &fmt)
 
static void formatFloat (std::ostream &out, float data, Format &fmt)
 
static void formatFloat (std::ostream &out, double data, Format &fmt)
 
template<typename T >
static void formatString (std::ostream &out, const T &data, Format &fmt)
 

Function Documentation

◆ _formatChar()

template<typename T >
static void gem5::cp::_formatChar ( std::ostream & out,
const T & data,
Format & fmt )
inlinestatic

◆ _formatFloat()

template<typename T >
static void gem5::cp::_formatFloat ( std::ostream & out,
const T & data,
Format & fmt )
inlinestatic

◆ _formatInteger()

◆ _formatString()

template<typename T >
static void gem5::cp::_formatString ( std::ostream & out,
const T & data,
Format & fmt )
inlinestatic

Definition at line 224 of file cprintf_formats.hh.

References data, gem5::cp::Format::flushLeft, and gem5::cp::Format::width.

Referenced by formatString().

◆ formatChar() [1/12]

static void gem5::cp::formatChar ( std::ostream & out,
char data,
Format & fmt )
inlinestatic

Definition at line 265 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [2/12]

template<typename T >
static void gem5::cp::formatChar ( std::ostream & out,
const T & data,
Format & fmt )
inlinestatic

Definition at line 259 of file cprintf_formats.hh.

Referenced by gem5::cp::Print::addArg().

◆ formatChar() [3/12]

static void gem5::cp::formatChar ( std::ostream & out,
int data,
Format & fmt )
inlinestatic

Definition at line 295 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [4/12]

static void gem5::cp::formatChar ( std::ostream & out,
long data,
Format & fmt )
inlinestatic

Definition at line 307 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [5/12]

static void gem5::cp::formatChar ( std::ostream & out,
long long data,
Format & fmt )
inlinestatic

Definition at line 319 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [6/12]

static void gem5::cp::formatChar ( std::ostream & out,
short data,
Format & fmt )
inlinestatic

Definition at line 283 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [7/12]

static void gem5::cp::formatChar ( std::ostream & out,
signed char data,
Format & fmt )
inlinestatic

Definition at line 277 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [8/12]

static void gem5::cp::formatChar ( std::ostream & out,
unsigned char data,
Format & fmt )
inlinestatic

Definition at line 271 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [9/12]

static void gem5::cp::formatChar ( std::ostream & out,
unsigned int data,
Format & fmt )
inlinestatic

Definition at line 301 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [10/12]

static void gem5::cp::formatChar ( std::ostream & out,
unsigned long data,
Format & fmt )
inlinestatic

Definition at line 313 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [11/12]

static void gem5::cp::formatChar ( std::ostream & out,
unsigned long long data,
Format & fmt )
inlinestatic

Definition at line 325 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [12/12]

static void gem5::cp::formatChar ( std::ostream & out,
unsigned short data,
Format & fmt )
inlinestatic

Definition at line 289 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatFloat() [1/3]

template<typename T >
static void gem5::cp::formatFloat ( std::ostream & out,
const T & data,
Format & fmt )
inlinestatic

Definition at line 370 of file cprintf_formats.hh.

Referenced by gem5::cp::Print::addArg().

◆ formatFloat() [2/3]

static void gem5::cp::formatFloat ( std::ostream & out,
double data,
Format & fmt )
inlinestatic

Definition at line 382 of file cprintf_formats.hh.

References _formatFloat(), and data.

◆ formatFloat() [3/3]

static void gem5::cp::formatFloat ( std::ostream & out,
float data,
Format & fmt )
inlinestatic

Definition at line 376 of file cprintf_formats.hh.

References _formatFloat(), and data.

◆ formatInteger() [1/6]

static void gem5::cp::formatInteger ( std::ostream & out,
char data,
Format & fmt )
inlinestatic

Definition at line 340 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [2/6]

static void gem5::cp::formatInteger ( std::ostream & out,
const signed char * data,
Format & fmt )
inlinestatic

Definition at line 360 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [3/6]

template<typename T >
static void gem5::cp::formatInteger ( std::ostream & out,
const T & data,
Format & fmt )
inlinestatic

Definition at line 335 of file cprintf_formats.hh.

References _formatInteger(), and data.

Referenced by gem5::cp::Print::addArg().

◆ formatInteger() [4/6]

static void gem5::cp::formatInteger ( std::ostream & out,
const unsigned char * data,
Format & fmt )
inlinestatic

Definition at line 355 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [5/6]

static void gem5::cp::formatInteger ( std::ostream & out,
signed char data,
Format & fmt )
inlinestatic

Definition at line 350 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [6/6]

static void gem5::cp::formatInteger ( std::ostream & out,
unsigned char data,
Format & fmt )
inlinestatic

Definition at line 345 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatString()

template<typename T >
static void gem5::cp::formatString ( std::ostream & out,
const T & data,
Format & fmt )
inlinestatic

Definition at line 392 of file cprintf_formats.hh.

References _formatString(), and data.

Referenced by gem5::cp::Print::addArg().


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