Celartem::Printf< wchar_t > Struct Template Reference

#include <cel_printf.h>

List of all members.

Static Public Member Functions

static wchar_t * sprintf (const wchar_t *format,...)
static wchar_t * vsprintf (const wchar_t *format, std::va_list ap)


Detailed Description

template<>
struct Celartem::Printf< wchar_t >

Printf Implementation for wchar_t.

Definition at line 101 of file cel_printf.h.


Member Function Documentation

static wchar_t* Celartem::Printf< wchar_t >::sprintf ( const wchar_t *  format,
  ... 
) [static]

This function works much like as sprintf except it allocates the buffer using std::malloc function. The details of the parameters are identical to _vsnwprintf.
This function is a portable version of sprintf and it does not depend on platform specific implementation. It is not affected by any locales.

Parameters:
format Format specification.
ap Pointer to list of parameters.
Returns:
Pointer to the allocated string. It should be released using std::free function.

static wchar_t* Celartem::Printf< wchar_t >::vsprintf ( const wchar_t *  format,
std::va_list  ap 
) [static]

This function works much like as vsprintf except it allocates the buffer using std::malloc function. The details of the parameters are identical to _vsnwprintf.
This function is a portable version of sprintf and it does not depend on platform specific implementation. It is not affected by any locales.

Parameters:
format Format specification.
ap Pointer to list of parameters.
Returns:
Pointer to the allocated string. It should be released using std::free function.


The documentation for this struct was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:19 2008.