全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
rapidjson::StreamTraits< Stream > 模板结构体 参考

Provides additional information for stream. 更多...

#include <rapidjson.h>

Public 类型

enum  { copyOptimization = 0 }
 Whether to make local copy of stream for optimization during parsing. 更多...
 

详细描述

template<typename Stream>
struct rapidjson::StreamTraits< Stream >

Provides additional information for stream.

By using traits pattern, this type provides a default configuration for stream. For custom stream, this type can be specialized for other configuration. See TEST(Reader, CustomStringStream) in readertest.cpp for example.

成员枚举类型说明

template<typename Stream >
anonymous enum

Whether to make local copy of stream for optimization during parsing.

By default, for safety, streams do not use local copy optimization. Stream that can be copied fast should specialize this, like StreamTraits<StringStream>.


该结构体的文档由以下文件生成: