Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PrintfWriter Class Reference

Public Member Functions

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

Private Attributes

wchar_t * m_pos
 
size_t m_charsLeft
 

Constructor & Destructor Documentation

◆ PrintfWriter()

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

Member Function Documentation

◆ CharsLeft()

size_t PrintfWriter::CharsLeft ( ) const
inline

◆ CountAddedChars()

void PrintfWriter::CountAddedChars ( )
inline

◆ operator()()

bool PrintfWriter::operator() ( const wchar_t *  fmt,
  ... 
)
inline

◆ Position()

wchar_t * PrintfWriter::Position ( ) const
inline

Member Data Documentation

◆ m_charsLeft

size_t PrintfWriter::m_charsLeft
private

◆ m_pos

wchar_t* PrintfWriter::m_pos
private

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