Cafu Engine
cf::ConsoleStringBufferT Class Reference

This class implements the ConsoleI interface by printing the console output to stdout. More...

#include "ConsoleStringBuffer.hpp"

Inheritance diagram for cf::ConsoleStringBufferT:

Public Member Functions

 ConsoleStringBufferT ()
 Constructor for creating an instance of a ConsoleStringBufferT. More...
 
const std::string & GetBuffer () const
 Returns the (contents of the) buffer. More...
 
void ClearBuffer ()
 Clears (empties) the buffer. More...
 
void Print (const std::string &s)
 Print message to console. More...
 
void DevPrint (const std::string &s)
 Print dev message to console. More...
 
void Warning (const std::string &s)
 Print warning to console. More...
 
void DevWarning (const std::string &s)
 Print dev warning to console. More...
 
- Public Member Functions inherited from cf::ConsoleI
virtual ~ConsoleI ()
 Virtual dtor so that derived classes properly destroy. More...
 

Detailed Description

This class implements the ConsoleI interface by printing the console output to stdout.

Constructor & Destructor Documentation

ConsoleStringBufferT::ConsoleStringBufferT ( )

Constructor for creating an instance of a ConsoleStringBufferT.

Member Function Documentation

void ConsoleStringBufferT::ClearBuffer ( )

Clears (empties) the buffer.

void ConsoleStringBufferT::DevPrint ( const std::string &  s)
virtual

Print dev message to console.

Implements cf::ConsoleI.

void ConsoleStringBufferT::DevWarning ( const std::string &  s)
virtual

Print dev warning to console.

Implements cf::ConsoleI.

const std::string & ConsoleStringBufferT::GetBuffer ( ) const

Returns the (contents of the) buffer.

Returns
the (contents of the) buffer.
void ConsoleStringBufferT::Print ( const std::string &  s)
virtual

Print message to console.

Implements cf::ConsoleI.

void ConsoleStringBufferT::Warning ( const std::string &  s)
virtual

Print warning to console.

Implements cf::ConsoleI.


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