NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Vprintf Class Reference

#include <vprintf.h>

Inheritance diagram for Vprintf:
Logging

Static Public Member Functions

static void vprintf (PutcFunction putc, void *data, const char *format, va_list &ap)
static void printf (PutcFunction putc, void *data, const char *format,...) __attribute__((format(printf
static void static void snprintf (char *dst, unsigned size, const char *format,...) __attribute__((format(printf
static void static void static void vsnprintf (char *dst, unsigned size, const char *format, va_list &ap)

Private Types

typedef void(* PutcFunction )(void *data, int value)

Static Private Member Functions

static void put_number (PutcFunction putc, void *data, unsigned long long value, const unsigned base, int pad, bool negative=false)
 Output a number with base.
static const char * handle_formatstring (PutcFunction putc, void *data, const char *format, va_list &ap)

Member Typedef Documentation

typedef void(* Vprintf::PutcFunction)(void *data, int value)
private

Member Function Documentation

const char * Vprintf::handle_formatstring ( PutcFunction  putc,
void *  data,
const char *  format,
va_list &  ap 
)
staticprivate
void Vprintf::printf ( PutcFunction  putc,
void *  data,
const char *  format,
  ... 
)
static
void Vprintf::put_number ( PutcFunction  putc,
void *  data,
unsigned long long  value,
const unsigned  base,
int  pad,
bool  negative = false 
)
staticprivate

Output a number with base.

void Vprintf::snprintf ( char *  dst,
unsigned  size,
const char *  format,
  ... 
)
static
void Vprintf::vprintf ( PutcFunction  putc,
void *  data,
const char *  format,
va_list &  ap 
)
static
void Vprintf::vsnprintf ( char *  dst,
unsigned  size,
const char *  format,
va_list &  ap 
)
static

The documentation for this class was generated from the following files: