GenericMember< Encoding, Allocator > Class Template Reference#
GenericMember< Encoding, Allocator > Class Template Reference
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... | |
Friends | |
void | swap (GenericMember &a, GenericMember &b) RAPIDJSON_NOEXCEPT |
Detailed Description
template<typename Encoding, typename Allocator>
class 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
Member Function Documentation
◆ operator=()
template<typename Encoding , typename Allocator >
|
inline |
Assignment with move semantics.
- Parameters
-
rhs Source of the assignment. Its name and value will become a null value after assignment.
Friends And Related Function Documentation
◆ swap
template<typename Encoding , typename Allocator >
|
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 class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/document.h