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

Definition at line 98 of file cprintf_formats.hh.

References data.

Referenced by formatChar().

◆ _formatFloat()

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

◆ _formatInteger()

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

◆ _formatString()

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

Definition at line 221 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 261 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 255 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 291 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 303 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 315 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 279 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 273 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 267 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 297 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 309 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 321 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 285 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 366 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 378 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 372 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 336 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 356 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 331 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 351 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 346 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 341 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 388 of file cprintf_formats.hh.

References _formatString(), and data.

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


Generated on Tue Sep 21 2021 12:28:59 for gem5 by doxygen 1.8.17