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 191 of file File.h.

Constructor & Destructor Documentation

◆ FileStream() [1/2]

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

Definition at line 716 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 733 of file File.cpp.


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