OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
Debug::Tee Class Reference

#include <debugging.hpp>

Inheritance diagram for Debug::Tee:
Collaboration diagram for Debug::Tee:

Public Member Functions

 Tee (std::ostream &stream, std::ostream &stream2)
 
virtual std::streamsize writeImpl (const char *str, std::streamsize size, Level debugLevel)
 
virtual ~Tee ()
 
- Public Member Functions inherited from Debug::DebugOutputBase
 DebugOutputBase ()
 
virtual std::streamsize write (const char *str, std::streamsize size)
 

Static Private Member Functions

static bool useColoredOutput ()
 

Private Attributes

std::ostream & out
 
std::ostream & out2
 
bool mUseColor
 
std::map< Level, intmColors
 

Additional Inherited Members

- Static Protected Member Functions inherited from Debug::DebugOutputBase
static Level getLevelMarker (const char *str)
 
static void fillCurrentDebugLevel ()
 

Constructor & Destructor Documentation

Debug::Tee::Tee ( std::ostream &  stream,
std::ostream &  stream2 
)
inline

Here is the call graph for this function:

virtual Debug::Tee::~Tee ( )
inlinevirtual

Member Function Documentation

static bool Debug::Tee::useColoredOutput ( )
inlinestaticprivate

Here is the caller graph for this function:

virtual std::streamsize Debug::Tee::writeImpl ( const char *  str,
std::streamsize  size,
Level  debugLevel 
)
inlinevirtual

Reimplemented from Debug::DebugOutputBase.

Member Data Documentation

std::map<Level, int> Debug::Tee::mColors
private
bool Debug::Tee::mUseColor
private
std::ostream& Debug::Tee::out
private
std::ostream& Debug::Tee::out2
private

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