scoped_ostream Class Reference

#include <filesystem.hpp>

List of all members.

Public Member Functions

 scoped_ostream (std::ostream *s)
scoped_ostreamoperator= (std::ostream *)
std::ostream & operator* ()
std::ostream * operator-> ()
 ~scoped_ostream ()

Private Attributes

std::ostream * stream


Detailed Description

Definition at line 180 of file filesystem.hpp.


Constructor & Destructor Documentation

scoped_ostream::scoped_ostream ( std::ostream *  s  )  [inline]

Definition at line 183 of file filesystem.hpp.

scoped_ostream::~scoped_ostream (  ) 


Member Function Documentation

scoped_ostream& scoped_ostream::operator= ( std::ostream *   ) 

std::ostream& scoped_ostream::operator* (  )  [inline]

Definition at line 185 of file filesystem.hpp.

References stream.

std::ostream* scoped_ostream::operator-> (  )  [inline]

Definition at line 186 of file filesystem.hpp.

References stream.


Member Data Documentation

std::ostream* scoped_ostream::stream [private]

Definition at line 181 of file filesystem.hpp.

Referenced by operator*(), and operator->().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs