全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
rapidjson::GenericArray< bool, typename > 模板类 参考

Helper class for accessing Value of array type. 更多...

#include <document.h>

Public 类型

typedef GenericArray< true,
ValueT > 
ConstArray
 
typedef GenericArray< false,
ValueT > 
Array
 
typedef ValueT PlainType
 
typedef
internal::MaybeAddConst< Const,
PlainType >::Type 
ValueType
 
typedef ValueType * ValueIterator
 
typedef const ValueT * ConstValueIterator
 
typedef ValueType::AllocatorType AllocatorType
 
typedef ValueType::StringRefType StringRefType
 

Public 成员函数

 GenericArray (const GenericArray &rhs)
 
GenericArrayoperator= (const GenericArray &rhs)
 
SizeType Size () const
 
SizeType Capacity () const
 
bool Empty () const
 
void Clear () const
 
ValueType & operator[] (SizeType index) const
 
ValueIterator Begin () const
 
ValueIterator End () const
 
GenericArray Reserve (SizeType newCapacity, AllocatorType &allocator) const
 
GenericArray PushBack (ValueType &value, AllocatorType &allocator) const
 
GenericArray PushBack (StringRefType value, AllocatorType &allocator) const
 
template<typename T >
const GenericArrayPushBack (T value, AllocatorType &allocator) const
 
GenericArray PopBack () const
 
ValueIterator Erase (ConstValueIterator pos) const
 
ValueIterator Erase (ConstValueIterator first, ConstValueIterator last) const
 

友元

template<typename , typename >
class GenericValue
 

详细描述

template<bool, typename>
class rapidjson::GenericArray< bool, typename >

Helper class for accessing Value of array type.

Instance of this helper class is obtained by GenericValue::GetArray(). In addition to all APIs for array type, it provides range-based for loop if RAPIDJSON_HAS_CXX11_RANGE_FOR=1.


该类的文档由以下文件生成: