Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
FileStream< StreamType > Class Template Referencefinal

A wrapper for file streams that enables exceptions. More...

#include <File.h>

Inheritance diagram for FileStream< StreamType >:
Inheritance graph
[legend]
Collaboration diagram for FileStream< StreamType >:
Collaboration graph
[legend]

Public Member Functions

 FileStream (const std::string &Path)
 
 FileStream (const std::string &Path, const typename FileStream::openmode Mode)
 

Detailed Description

template<class StreamType>
class FileStream< StreamType >

A wrapper for file streams that enables exceptions.

Definition at line 184 of file File.h.

Constructor & Destructor Documentation

◆ FileStream() [1/2]

template<class StreamType >
FileStream< StreamType >::FileStream ( const std::string &  Path)

Definition at line 705 of file File.cpp.

◆ FileStream() [2/2]

template<class StreamType >
FileStream< StreamType >::FileStream ( const std::string &  Path,
const typename FileStream< StreamType >::openmode  Mode 
)

Definition at line 722 of file File.cpp.


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