TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Protected Attributes | List of all members
common::zstd::fsholder< T > Class Template Reference

This class enables [io]fstream below to inherit from [io]stream (required for setting a custom streambuf) while still constructing a corresponding [io]fstream first (required for initializing the Zstd streambufs). More...

#include <zstdstream.h>

Public Member Functions

 fsholder (const std::string &path, std::ios_base::openmode mode=std::ios_base::out)
 

Protected Attributes

fs_
 

Detailed Description

template<typename T>
class common::zstd::fsholder< T >

This class enables [io]fstream below to inherit from [io]stream (required for setting a custom streambuf) while still constructing a corresponding [io]fstream first (required for initializing the Zstd streambufs).

Constructor & Destructor Documentation

template<typename T>
common::zstd::fsholder< T >::fsholder ( const std::string &  path,
std::ios_base::openmode  mode = std::ios_base::out 
)
inlineexplicit

Member Data Documentation

template<typename T>
T common::zstd::fsholder< T >::fs_
protected

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