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()
template<typename Writer >
| void Education::Serialize |
( |
Writer & |
writer | ) |
const |
|
inline |
Definition at line 51 of file serialize.cpp.
55 #if RAPIDJSON_HAS_STDSTRING 58 writer.
String(school_.c_str(),
static_cast<SizeType>(school_.length()));
RAPIDJSON_NAMESPACE_BEGIN typedef unsigned SizeType
Size type (for string lengths, array sizes, etc.)
bool EndObject(SizeType memberCount=0)
bool String(const Ch *str, SizeType length, bool copy=false)
bool Double(double d)
Writes the given double value to the stream.
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