Stream buffer for file streams.
More...
#include <filestream.h>
Static Public Member Functions
static
pplx::task<
streambuf< _CharType > >
open (const utility::string_t &file_name, std::ios_base::openmode mode=std::ios_base::out, int prot=0)
Open a new stream buffer representing the given file.
More...
Detailed Description
template<typename _CharType>
class Concurrency::streams::file_buffer< _CharType >
Stream buffer for file streams.
- Template Parameters
-
_CharType The data type of the basic element of the
file_buffer
.
Member Function Documentation
template<typename _CharType >
std::ios_base::openmode
mode = std::ios_base::out
,
int
prot = 0
)
inlinestatic
Open a new stream buffer representing the given file.
- Parameters
-
file_name The name of the file
mode The opening mode of the file
prot The file protection mode
- Returns
- A
task
that returns an opened stream buffer on completion.
The documentation for this class was generated from the following file: