The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
filesystem::scoped_ostream Class Reference

#include <filesystem.hpp>

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 287 of file filesystem.hpp.

Constructor & Destructor Documentation

filesystem::scoped_ostream::scoped_ostream ( std::ostream *  s)
inline

Definition at line 290 of file filesystem.hpp.

filesystem::scoped_ostream::~scoped_ostream ( )

Definition at line 41 of file filesystem_common.cpp.

References stream.

Member Function Documentation

std::ostream& filesystem::scoped_ostream::operator* ( )
inline

Definition at line 292 of file filesystem.hpp.

References stream.

std::ostream* filesystem::scoped_ostream::operator-> ( )
inline

Definition at line 293 of file filesystem.hpp.

References stream.

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

Definition at line 34 of file filesystem_common.cpp.

References stream.

Member Data Documentation

std::ostream* filesystem::scoped_ostream::stream
private

Definition at line 288 of file filesystem.hpp.

Referenced by operator*(), operator->(), operator=(), and ~scoped_ostream().


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