Pyrogenesis  trunk
Public Member Functions | Private Attributes | List of all members
PrintfWriter Class Reference

Public Member Functions

 PrintfWriter (wchar_t *buf, size_t maxChars)
 
bool operator() (const wchar_t *fmt,...) WPRINTF_ARGS(2)
 
wchar_tPosition () const
 
size_t CharsLeft () const
 
void CountAddedChars ()
 

Private Attributes

wchar_tm_pos
 
size_t m_charsLeft
 

Constructor & Destructor Documentation

PrintfWriter::PrintfWriter ( wchar_t buf,
size_t  maxChars 
)
inline

Member Function Documentation

size_t PrintfWriter::CharsLeft ( ) const
inline
void PrintfWriter::CountAddedChars ( )
inline
bool PrintfWriter::operator() ( const wchar_t fmt,
  ... 
)
inline
wchar_t* PrintfWriter::Position ( ) const
inline

Member Data Documentation

size_t PrintfWriter::m_charsLeft
private
wchar_t* PrintfWriter::m_pos
private

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