gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
cp Namespace Reference

Classes

struct  Print
 
struct  Format
 

Functions

template<typename T >
void _format_char (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void _format_integer (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void _format_float (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void _format_string (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void format_char (std::ostream &out, const T &data, Format &fmt)
 
void format_char (std::ostream &out, char data, Format &fmt)
 
void format_char (std::ostream &out, unsigned char data, Format &fmt)
 
void format_char (std::ostream &out, signed char data, Format &fmt)
 
void format_char (std::ostream &out, short data, Format &fmt)
 
void format_char (std::ostream &out, unsigned short data, Format &fmt)
 
void format_char (std::ostream &out, int data, Format &fmt)
 
void format_char (std::ostream &out, unsigned int data, Format &fmt)
 
void format_char (std::ostream &out, long data, Format &fmt)
 
void format_char (std::ostream &out, unsigned long data, Format &fmt)
 
void format_char (std::ostream &out, long long data, Format &fmt)
 
void format_char (std::ostream &out, unsigned long long data, Format &fmt)
 
template<typename T >
void format_integer (std::ostream &out, const T &data, Format &fmt)
 
void format_integer (std::ostream &out, char data, Format &fmt)
 
void format_integer (std::ostream &out, unsigned char data, Format &fmt)
 
void format_integer (std::ostream &out, signed char data, Format &fmt)
 
template<typename T >
void format_float (std::ostream &out, const T &data, Format &fmt)
 
void format_float (std::ostream &out, float data, Format &fmt)
 
void format_float (std::ostream &out, double data, Format &fmt)
 
template<typename T >
void format_string (std::ostream &out, const T &data, Format &fmt)
 
void format_string (std::ostream &out, const std::stringstream &data, Format &fmt)
 

Function Documentation

template<typename T >
void cp::_format_char ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline

Definition at line 78 of file cprintf_formats.hh.

References data.

Referenced by format_char().

template<typename T >
void cp::_format_float ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline
template<typename T >
void cp::_format_integer ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline
template<typename T >
void cp::_format_string ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline

Definition at line 204 of file cprintf_formats.hh.

References data, cp::Format::flush_left, and cp::Format::width.

Referenced by format_string().

template<typename T >
void cp::format_char ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline

Definition at line 249 of file cprintf_formats.hh.

Referenced by cp::Print::add_arg().

void cp::format_char ( std::ostream &  out,
char  data,
Format &  fmt 
)
inline

Definition at line 253 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
unsigned char  data,
Format &  fmt 
)
inline

Definition at line 257 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
signed char  data,
Format &  fmt 
)
inline

Definition at line 261 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
short  data,
Format &  fmt 
)
inline

Definition at line 265 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
unsigned short  data,
Format &  fmt 
)
inline

Definition at line 269 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
int  data,
Format &  fmt 
)
inline

Definition at line 273 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
unsigned int  data,
Format &  fmt 
)
inline

Definition at line 277 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
long  data,
Format &  fmt 
)
inline

Definition at line 281 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
unsigned long  data,
Format &  fmt 
)
inline

Definition at line 285 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
long long  data,
Format &  fmt 
)
inline

Definition at line 289 of file cprintf_formats.hh.

References _format_char().

void cp::format_char ( std::ostream &  out,
unsigned long long  data,
Format &  fmt 
)
inline

Definition at line 293 of file cprintf_formats.hh.

References _format_char().

template<typename T >
void cp::format_float ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline

Definition at line 344 of file cprintf_formats.hh.

Referenced by cp::Print::add_arg().

void cp::format_float ( std::ostream &  out,
float  data,
Format &  fmt 
)
inline

Definition at line 348 of file cprintf_formats.hh.

References _format_float().

void cp::format_float ( std::ostream &  out,
double  data,
Format &  fmt 
)
inline

Definition at line 352 of file cprintf_formats.hh.

References _format_float().

template<typename T >
void cp::format_integer ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline

Definition at line 301 of file cprintf_formats.hh.

References _format_integer().

Referenced by cp::Print::add_arg().

void cp::format_integer ( std::ostream &  out,
char  data,
Format &  fmt 
)
inline

Definition at line 304 of file cprintf_formats.hh.

References _format_integer().

void cp::format_integer ( std::ostream &  out,
unsigned char  data,
Format &  fmt 
)
inline

Definition at line 307 of file cprintf_formats.hh.

References _format_integer().

void cp::format_integer ( std::ostream &  out,
signed char  data,
Format &  fmt 
)
inline

Definition at line 310 of file cprintf_formats.hh.

References _format_integer().

template<typename T >
void cp::format_string ( std::ostream &  out,
const T &  data,
Format &  fmt 
)
inline

Definition at line 360 of file cprintf_formats.hh.

References _format_string().

Referenced by cp::Print::add_arg().

void cp::format_string ( std::ostream &  out,
const std::stringstream &  data,
Format &  fmt 
)
inline

Definition at line 364 of file cprintf_formats.hh.

References _format_string().


Generated on Fri Jun 9 2017 13:04:30 for gem5 by doxygen 1.8.6