Definition at line 45 of file serialize.cpp.
◆ Education() [1/2]
Education::Education |
( |
const std::string & | school, |
|
|
double | GPA ) |
|
inline |
Definition at line 47 of file serialize.cpp.
47: school_(school), GPA_(GPA) {}
◆ Education() [2/2]
Education::Education |
( |
const Education & | rhs | ) |
|
|
inline |
Definition at line 48 of file serialize.cpp.
48: school_(rhs.school_), GPA_(rhs.GPA_) {}
◆ Serialize()
void Education::Serialize |
( |
Writer & | writer | ) |
const |
|
inline |
Definition at line 51 of file serialize.cpp.
51 {
53
55#if RAPIDJSON_HAS_STDSTRING
57#else
58 writer.
String(school_.c_str(),
static_cast<SizeType>(school_.length()));
59#endif
60
63
65 }
bool EndObject(SizeType memberCount=0)
bool Double(double d)
Writes the given double value to the stream.
bool String(const Ch *str, SizeType length, bool copy=false)
RAPIDJSON_NAMESPACE_BEGIN typedef unsigned SizeType
Size type (for string lengths, array sizes, etc.)
The documentation for this class was generated from the following file:
- libraries/fc/include/fc/crypto/webauthn_json/example/serialize/serialize.cpp