Name-value pair in a JSON object value. More...
#include <document.h>
Public Member Functions | |
| GenericMember & | operator= (GenericMember &rhs) RAPIDJSON_NOEXCEPT |
| Assignment with move semantics. More... | |
Public Attributes | |
| GenericValue< Encoding, Allocator > | name |
| name of member (must be a string) More... | |
| GenericValue< Encoding, Allocator > | value |
| value of member. More... | |
Private Member Functions | |
| GenericMember (const GenericMember &rhs) | |
| Copy constructor is not permitted. More... | |
Friends | |
| void | swap (GenericMember &a, GenericMember &b) RAPIDJSON_NOEXCEPT |
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 72 of file document.h.
|
private |
Copy constructor is not permitted.
|
inline |
Assignment with move semantics.
| rhs | Source of the assignment. Its name and value will become a null value after assignment. |
Definition at line 94 of file document.h.
|
friend |
Definition at line 103 of file document.h.
| GenericValue<Encoding, Allocator> GenericMember< Encoding, Allocator >::name |
name of member (must be a string)
Definition at line 75 of file document.h.
| GenericValue<Encoding, Allocator> GenericMember< Encoding, Allocator >::value |
value of member.
Definition at line 76 of file document.h.