- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UDebugStream Class Reference

#include <ufo_debug.hpp>

List of all members.

Public Types

typedef std::ostream ostream_type

Public Member Functions

 UDebugStream (std::streambuf *buf)
UDebugStreamoperator<< (ostream_type &(*)(ostream_type &))
template<typename T> UDebugStreamoperator<< (const T &t)
UFO_EXPORT UDebugStreamprintf (const char *format,...)

Public Attributes

USharedPtr< ostream_type > m_stream


Detailed Description

The UDebugStream is a text stream for outputting error messages. It has to be initialized with a stream buffer, like std::cerr.rdbuf() or a string stream buffer. This class typically isn't used directly but by uDebug() uWarning(), uError() or uFatal


Member Function Documentation

UFO_EXPORT UDebugStream& ufo::UDebugStream::printf const char *  format,
  ...
 

Prints the string format which can contain printf-style formatted values.

Parameters:
format the printf-style format
Returns:
this stream


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt