concurrency::streams Namespace

Warning

This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at https://casablanca.codeplex.com/documentation.

namespace streams;

Members

Typedefs

Name

Description

fstream

stringstream

The stringstream allows an input stream to be constructed from std::string or std::wstring For output streams the underlying string container could be retrieved using buf->collection().

stringstreambuf

wstringstream

wstringstreambuf

Classes

Name

Description

async_iostream Class

A concrete STL istream which relies on an asynchronous stream buffer for its I/O.

async_istream Class

A concrete STL istream which relies on an asynchronous stream for its I/O.

async_ostream Class

A concrete STL ostream which relies on an asynchronous stream for its I/O.

<PAVE_OVER> basic_istream Class (C++ REST SDK)

<PAVE_OVER> basic_ostream Class (C++ REST SDK)

bytestream Class

The bytestream allows an input stream to be constructed from any STL container.

container_buffer Class

The basic_container_buffer class serves as a memory-based steam buffer that supports writing or reading sequences of characters. Note that it cannot be used as a consumer producer buffer.

container_stream Class

A static class to allow users to create input and out streams based off STL collections. The sole purpose of this class to avoid users from having to know anything about stream buffers.

file_buffer Class

Stream buffer for file streams.

file_stream Class

File stream class containing factory functions for file streams.

producer_consumer_buffer Class

The producer_consumer_buffer class serves as a memory-based steam buffer that supports both writing and reading sequences of bytes. It can be used as a consumer/producer buffer.

rawptr_buffer Class

The rawptr_buffer class serves as a memory-based stream buffer that supports reading sequences of characters to or from a fixed-size block. Note that it cannot be used simultaneously for reading as well as writing.

rawptr_stream Class

The rawptr_stream class is used to create memory-backed streams that support writing or reading sequences of characters to / from a fixed-size block.

stdio_istream Class

stdio_istream represents an async istream derived from a standard synchronous stream, as defined by the "std" namespace. It is constructed from a reference to a standard stream, which must be valid for the lifetime of the asynchronous stream.

stdio_ostream Class

stdio_ostream represents an async ostream derived from a standard synchronous stream, as defined by the "std" namespace. It is constructed from a reference to a standard stream, which must be valid for the lifetime of the asynchronous stream.

streambuf Class

Reference-counted stream buffer.

Public Classes

Name

Description

streambuf Class

Reference-counted stream buffer.

Requirements

Header: astreambuf.h, containerstream.h, filestream.h, interopstream.h, producerconsumerstream.h, rawptrstream.h

Namespace: concurrency

See Also

Reference

concurrency Namespace (C++ REST SDK)