IN2OSM  1.0.1
GenericMember< Encoding, Allocator >

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

#include <document.h>

Collaboration diagram for GenericMember< Encoding, Allocator >:
Collaboration graph

Public Attributes

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

Friends

void swap (GenericMember &a, GenericMember &b) 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

Definition at line 66 of file document.h.

Friends And Related Function Documentation

◆ swap

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

Definition at line 71 of file document.h.

71  {
72  a.name.Swap(b.name);
73  a.value.Swap(b.value);
74  }
GenericValue< Encoding, Allocator > name
name of member (must be a string)
Definition: document.h:67
GenericValue< Encoding, Allocator > value
value of member.
Definition: document.h:68

Member Data Documentation

◆ name

GenericValue<Encoding, Allocator> name

name of member (must be a string)

Definition at line 67 of file document.h.

◆ value

GenericValue<Encoding, Allocator> value

value of member.

Definition at line 68 of file document.h.


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