|
| MyHandler () |
|
bool | Null () |
|
bool | Bool (bool b) |
|
bool | Int (int i) |
|
bool | Uint (unsigned u) |
|
bool | Int64 (int64_t i) |
|
bool | Uint64 (uint64_t u) |
|
bool | Double (double d) |
|
bool | RawNumber (const char *str, SizeType length, bool) |
|
bool | String (const char *str, SizeType length, bool) |
|
bool | StartObject () |
|
bool | Key (const char *str, SizeType length, bool) |
|
bool | EndObject (SizeType memberCount) |
|
bool | StartArray () |
|
bool | EndArray (SizeType elementCount) |
|
bool | Null () |
|
bool | Bool (bool b) |
|
bool | Int (int i) |
|
bool | Uint (unsigned u) |
|
bool | Int64 (int64_t i) |
|
bool | Uint64 (uint64_t u) |
|
bool | Double (double d) |
|
bool | RawNumber (const char *str, SizeType length, bool copy) |
|
bool | String (const char *str, SizeType length, bool copy) |
|
bool | StartObject () |
|
bool | Key (const char *str, SizeType length, bool copy) |
|
bool | EndObject (SizeType memberCount) |
|
bool | StartArray () |
|
bool | EndArray (SizeType elementCount) |
|
Definition at line 15 of file simplepullreader.cpp.
◆ MyHandler()
◆ Bool() [1/2]
bool MyHandler::Bool |
( |
bool | b | ) |
|
|
inline |
Definition at line 22 of file simplepullreader.cpp.
22{ type = "Bool:"; data = b? "true": "false"; return true; }
◆ Bool() [2/2]
bool MyHandler::Bool |
( |
bool | b | ) |
|
|
inline |
Definition at line 9 of file simplereader.cpp.
9{ cout << "Bool(" << boolalpha << b << ")" << endl; return true; }
◆ Double() [1/2]
bool MyHandler::Double |
( |
double | d | ) |
|
|
inline |
◆ Double() [2/2]
bool MyHandler::Double |
( |
double | d | ) |
|
|
inline |
Definition at line 14 of file simplereader.cpp.
14{ cout <<
"Double(" <<
d <<
")" << endl;
return true; }
◆ EndArray() [1/2]
bool MyHandler::EndArray |
( |
SizeType | elementCount | ) |
|
|
inline |
◆ EndArray() [2/2]
bool MyHandler::EndArray |
( |
SizeType | elementCount | ) |
|
|
inline |
Definition at line 30 of file simplereader.cpp.
30{ cout << "EndArray(" << elementCount << ")" << endl; return true; }
◆ EndObject() [1/2]
bool MyHandler::EndObject |
( |
SizeType | memberCount | ) |
|
|
inline |
◆ EndObject() [2/2]
bool MyHandler::EndObject |
( |
SizeType | memberCount | ) |
|
|
inline |
Definition at line 28 of file simplereader.cpp.
28{ cout << "EndObject(" << memberCount << ")" << endl; return true; }
◆ Int() [1/2]
bool MyHandler::Int |
( |
int | i | ) |
|
|
inline |
◆ Int() [2/2]
bool MyHandler::Int |
( |
int | i | ) |
|
|
inline |
Definition at line 10 of file simplereader.cpp.
10{ cout << "Int(" << i << ")" << endl; return true; }
◆ Int64() [1/2]
◆ Int64() [2/2]
Definition at line 12 of file simplereader.cpp.
12{ cout << "Int64(" << i << ")" << endl; return true; }
◆ Key() [1/2]
bool MyHandler::Key |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | copy ) |
|
inline |
Definition at line 24 of file simplereader.cpp.
24 {
25 cout <<
"Key(" <<
str <<
", " << length <<
", " << boolalpha <<
copy <<
")" << endl;
26 return true;
27 }
void copy(const path &from, const path &to)
◆ Key() [2/2]
bool MyHandler::Key |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | ) |
|
inline |
Definition at line 31 of file simplepullreader.cpp.
31{ type = "Key:"; data = std::string(str, length); return true; }
◆ Null() [1/2]
◆ Null() [2/2]
Definition at line 8 of file simplereader.cpp.
8{ cout << "Null()" << endl; return true; }
◆ RawNumber() [1/2]
bool MyHandler::RawNumber |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | copy ) |
|
inline |
Definition at line 15 of file simplereader.cpp.
15 {
16 cout <<
"Number(" <<
str <<
", " << length <<
", " << boolalpha <<
copy <<
")" << endl;
17 return true;
18 }
◆ RawNumber() [2/2]
bool MyHandler::RawNumber |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | ) |
|
inline |
Definition at line 28 of file simplepullreader.cpp.
28{ type = "Number:"; data = std::string(str, length); return true; }
◆ StartArray() [1/2]
bool MyHandler::StartArray |
( |
| ) |
|
|
inline |
◆ StartArray() [2/2]
bool MyHandler::StartArray |
( |
| ) |
|
|
inline |
Definition at line 29 of file simplereader.cpp.
29{ cout << "StartArray()" << endl; return true; }
◆ StartObject() [1/2]
bool MyHandler::StartObject |
( |
| ) |
|
|
inline |
◆ StartObject() [2/2]
bool MyHandler::StartObject |
( |
| ) |
|
|
inline |
Definition at line 23 of file simplereader.cpp.
23{ cout << "StartObject()" << endl; return true; }
◆ String() [1/2]
bool MyHandler::String |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | copy ) |
|
inline |
Definition at line 19 of file simplereader.cpp.
19 {
20 cout <<
"String(" <<
str <<
", " << length <<
", " << boolalpha <<
copy <<
")" << endl;
21 return true;
22 }
◆ String() [2/2]
bool MyHandler::String |
( |
const char * | str, |
|
|
SizeType | length, |
|
|
bool | ) |
|
inline |
Definition at line 29 of file simplepullreader.cpp.
29{ type = "String:"; data = std::string(str, length); return true; }
◆ Uint() [1/2]
bool MyHandler::Uint |
( |
unsigned | u | ) |
|
|
inline |
◆ Uint() [2/2]
bool MyHandler::Uint |
( |
unsigned | u | ) |
|
|
inline |
Definition at line 11 of file simplereader.cpp.
11{ cout << "Uint(" << u << ")" << endl; return true; }
◆ Uint64() [1/2]
◆ Uint64() [2/2]
Definition at line 13 of file simplereader.cpp.
13{ cout << "Uint64(" << u << ")" << endl; return true; }
◆ data
std::string MyHandler::data |
◆ type
const char* MyHandler::type |
The documentation for this struct was generated from the following files: