NDDEM
Public Attributes | Friends | List of all members
GenericMember< Encoding, Allocator > Struct Template Reference

Name-value pair in a JSON object value. More...

#include <document.h>

Public Attributes

GenericValue< Encoding, Allocatorname
 name of member (must be a string) More...
 
GenericValue< Encoding, Allocatorvalue
 value of member. More...
 

Friends

void swap (GenericMember &a, GenericMember &b) CEREAL_RAPIDJSON_NOEXCEPT
 

Detailed Description

template<typename Encoding, typename Allocator>
struct GenericMember< Encoding, Allocator >

Name-value pair in a JSON object value.

This class was internal to GenericValue. It used to be a inner struct. But a compiler (IBM XL C/C++ for AIX) have reported to have problem with that so it moved as a namespace scope struct. https://code.google.com/p/rapidjson/issues/detail?id=64

Friends And Related Function Documentation

◆ swap

template<typename Encoding , typename Allocator >
void swap ( GenericMember< Encoding, Allocator > &  a,
GenericMember< Encoding, Allocator > &  b 
)
friend

Member Data Documentation

◆ name

template<typename Encoding , typename Allocator >
GenericValue<Encoding, Allocator> GenericMember< Encoding, Allocator >::name

name of member (must be a string)

◆ value

template<typename Encoding , typename Allocator >
GenericValue<Encoding, Allocator> GenericMember< Encoding, Allocator >::value

value of member.


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