C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Static Public Member Functions | List of all members
Concurrency::streams::file_buffer< _CharType > Class Template Reference

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
_CharTypeThe data type of the basic element of the file_buffer.

Member Function Documentation

template<typename _CharType >
static pplx::task<streambuf<_CharType> > Concurrency::streams::file_buffer< _CharType >::open ( const utility::string_t &  file_name,
std::ios_base::openmode  mode = std::ios_base::out,
int  prot = 0 
)
inlinestatic

Open a new stream buffer representing the given file.

Parameters
file_nameThe name of the file
modeThe opening mode of the file
protThe 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: