Definition at line 72 of file serialize.cpp.
◆ Dependent() [1/2]
| Dependent::Dependent |
( |
const std::string & |
name, |
|
|
unsigned |
age, |
|
|
Education * |
education = 0 |
|
) |
| |
|
inline |
Definition at line 74 of file serialize.cpp.
Person(const std::string &name, unsigned age)
◆ Dependent() [2/2]
| Dependent::Dependent |
( |
const Dependent & |
rhs | ) |
|
|
inline |
Definition at line 75 of file serialize.cpp.
75 :
Person(rhs), education_(0) { education_ = (rhs.education_ == 0) ? 0 :
new Education(*rhs.education_); }
Person(const std::string &name, unsigned age)
◆ ~Dependent()
| Dependent::~Dependent |
( |
| ) |
|
|
virtual |
◆ operator=()
Definition at line 78 of file serialize.cpp.
82 education_ = (rhs.education_ == 0) ? 0 :
new Education(*rhs.education_);
◆ Serialize()
template<typename Writer >
| void Dependent::Serialize |
( |
Writer & |
writer | ) |
const |
|
inline |
Definition at line 87 of file serialize.cpp.
92 writer.
String(
"education");
void Serialize(Writer &writer) const
void Serialize(Writer &writer) const
bool EndObject(SizeType memberCount=0)
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