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_istream Class Reference

#include <filesystem.hpp>

Public Member Functions

 scoped_istream (std::istream *s)
 
scoped_istreamoperator= (std::istream *)
 
std::istream & operator* ()
 
std::istream * operator-> ()
 
 ~scoped_istream ()
 

Private Attributes

std::istream * stream
 

Detailed Description

Definition at line 277 of file filesystem.hpp.

Constructor & Destructor Documentation

filesystem::scoped_istream::scoped_istream ( std::istream *  s)
inline

Definition at line 280 of file filesystem.hpp.

filesystem::scoped_istream::~scoped_istream ( )

Definition at line 29 of file filesystem_common.cpp.

References stream.

Member Function Documentation

std::istream& filesystem::scoped_istream::operator* ( )
inline

Definition at line 282 of file filesystem.hpp.

References stream.

std::istream* filesystem::scoped_istream::operator-> ( )
inline

Definition at line 283 of file filesystem.hpp.

References stream.

scoped_istream & filesystem::scoped_istream::operator= ( std::istream *  s)

Definition at line 22 of file filesystem_common.cpp.

References stream.

Member Data Documentation

std::istream* filesystem::scoped_istream::stream
private

Definition at line 278 of file filesystem.hpp.

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


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