gem5  [DEVELOP-FOR-23.0]
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 99 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 222 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 262 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 256 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 292 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 304 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 316 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 280 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 274 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 268 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 298 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 310 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 322 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 286 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 367 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 379 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 373 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 337 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 357 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 332 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 352 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 347 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 342 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 389 of file cprintf_formats.hh.

References _formatString(), and data.

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


Generated on Sun Jul 30 2023 01:57:26 for gem5 by doxygen 1.8.17