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_); }
◆ ~Dependent()
Dependent::~Dependent |
( |
| ) |
|
|
virtual |
◆ operator=()
Definition at line 78 of file serialize.cpp.
78 {
79 if (this == &rhs)
80 return *this;
81 delete education_;
82 education_ = (rhs.education_ == 0) ? 0 : new
Education(*rhs.education_);
83 return *this;
84 }
◆ Serialize()
void Dependent::Serialize |
( |
Writer & | writer | ) |
const |
|
inline |
Definition at line 87 of file serialize.cpp.
87 {
89
91
92 writer.
String(
"education");
93 if (education_)
95 else
97
99 }
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:
- libraries/fc/include/fc/crypto/webauthn_json/example/serialize/serialize.cpp