Public Member Functions | Private Attributes

LibBoard::MessageStream Class Reference

#include <Tools.h>

Public Member Functions

 MessageStream (std::ostream &out, const char *prefix)
template<typename T >
MessageStream operator<< (const T &v)

Private Attributes

std::ostream & _out
const char * _prefix

Detailed Description

A "prefixable" message stream

Constructor & Destructor Documentation

LibBoard::MessageStream::MessageStream ( std::ostream &  out,
const char *  prefix 
) [inline]

Referenced by operator<<().

Member Function Documentation

template<typename T >
MessageStream LibBoard::MessageStream::operator<< ( const T &  v  )  [inline]

References _out, _prefix, and MessageStream().

Field Documentation

std::ostream& LibBoard::MessageStream::_out [private]

Referenced by operator<<().

const char* LibBoard::MessageStream::_prefix [private]

Referenced by operator<<().

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