Definition at line 11 of file serialize.cpp.
◆ Person() [1/2]
| Person::Person |
( |
const std::string & |
name, |
|
|
unsigned |
age |
|
) |
| |
|
inline |
◆ Person() [2/2]
| Person::Person |
( |
const Person & |
rhs | ) |
|
|
inline |
Definition at line 14 of file serialize.cpp.
14 : name_(rhs.name_), age_(rhs.age_) {}
◆ ~Person()
◆ operator=()
◆ Serialize()
template<typename Writer >
| void Person::Serialize |
( |
Writer & |
writer | ) |
const |
|
inlineprotected |
Definition at line 25 of file serialize.cpp.
28 #if RAPIDJSON_HAS_STDSTRING 31 writer.
String(name_.c_str(),
static_cast<SizeType>(name_.length()));
RAPIDJSON_NAMESPACE_BEGIN typedef unsigned SizeType
Size type (for string lengths, array sizes, etc.)
bool String(const Ch *str, SizeType length, bool copy=false)
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/external/rapidjson/example/serialize/serialize.cpp