Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Stream Class Reference

Concept for reading and writing characters. More...

`#include <rapidjson.h>`

Inheritance diagram for Stream:

## Detailed Description

Concept for reading and writing characters.

For read-only stream, no need to implement PutBegin(), Put(), Flush() and PutEnd().

For write-only stream, only need to implement Put() and Flush().

concept Stream {
typename Ch;
Ch Peek() const;
Ch Take();
size_t Tell();
Ch* PutBegin();
void Put(Ch c);
void Flush();
size_t PutEnd(Ch* begin);
}

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

- persistence/rapidjson/include/rapidjson/rapidjson.h