file_stream Class

File stream class containing factory functions for file streams.

template<
   typename _CharType
>
class file_stream;

Parameters

  • _CharType
    The data type of the basic element of the file_stream.

Members

Public Methods

Name

Description

file_stream::open_istream Method

Overloaded. Open a new input stream representing the given file. The file should already exist on disk, or an exception will be thrown.

file_stream::open_ostream Method

Overloaded. Open a new ouput stream representing the given file. If the file does not exist, it will be create unless the folder or directory where it is to be found also does not exist.

Requirements

Header: filestream.h

Namespace: concurrency::streams

See Also

Reference

concurrency::streams Namespace