Torque2D Reference

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

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

Public Types | Public Member Functions | Public Attributes | List of all members
GenericStringStream< Encoding > Struct Template Reference

Read-only string stream. More...

`#include <rapidjson.h>`

Inheritance diagram for GenericStringStream< Encoding >:

## Public Types
typedef Encoding::Ch | Ch

## Public Member Functions
| GenericStringStream (const Ch *src)
Ch | Peek () const
Ch | Take ()
size_t | Tell () const
Ch * | PutBegin ()
void | Put (Ch)
void | Flush ()
size_t | PutEnd (Ch *)

## Public Attributes
const Ch * | src_
| Current read position. More...
const Ch * | head_
| Original head of the string. More...

## Detailed Description

### template<typename Encoding>
struct rapidjson::GenericStringStream< Encoding >

Read-only string stream.

## Member Typedef Documentation

typedef Encoding::Ch Ch

## Constructor & Destructor Documentation

GenericStringStream | ( | const Ch * | src | ) |
| inline

## Member Function Documentation

void Flush | ( |  | ) |
| inline

Ch Peek | ( |  | ) | const
| inline

void Put | ( | Ch |  | ) |
| inline

Ch* PutBegin | ( |  | ) |
| inline

size_t PutEnd | ( | Ch * |  | ) |
| inline

Ch Take | ( |  | ) |
| inline

size_t Tell | ( |  | ) | const
| inline

## Member Data Documentation

const Ch* head_

Original head of the string.

const Ch* src_

Current read position.

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

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