UT_PerfMonJSONHandle Class Reference
#include <UT_PerfMonJSONHandle.h>
List of all members.
Detailed Description
Definition at line 34 of file UT_PerfMonJSONHandle.h.
Constructor & Destructor Documentation
| UT_PerfMonJSONHandle::UT_PerfMonJSONHandle |
( |
const char * |
file_path, |
|
|
UT_PerfMonProfile * |
profile | |
|
) |
| | |
`profile` is an empty profile that will be populated at parse time by the JSON contents stored in the given file.
| virtual UT_PerfMonJSONHandle::~UT_PerfMonJSONHandle |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual bool UT_PerfMonJSONHandle::jsonBeginArray |
( |
UT_JSONParser & |
p |
) |
[virtual] |
Event method invoked at the beginning of an array object.
Implements UT_JSONHandle.
| virtual bool UT_PerfMonJSONHandle::jsonBeginMap |
( |
UT_JSONParser & |
p |
) |
[virtual] |
Event method invoked at the start of a map/object.
Implements UT_JSONHandle.
| virtual bool UT_PerfMonJSONHandle::jsonBool |
( |
UT_JSONParser & |
p, |
|
|
bool |
value | |
|
) |
| | [virtual] |
Event method to process a bool (true or false tokens).
Implements UT_JSONHandle.
| virtual bool UT_PerfMonJSONHandle::jsonEndArray |
( |
UT_JSONParser & |
p |
) |
[virtual] |
Event method invoked at the end of an array object.
Implements UT_JSONHandle.
| virtual bool UT_PerfMonJSONHandle::jsonEndMap |
( |
UT_JSONParser & |
p |
) |
[virtual] |
Event method invoked at the end of a map/object.
Implements UT_JSONHandle.
| virtual bool UT_PerfMonJSONHandle::jsonKey |
( |
UT_JSONParser & |
p, |
|
|
const char * |
v, |
|
|
int64 |
len | |
|
) |
| | [virtual] |
Event method to process the key of a map/object is read.
Implements UT_JSONHandle.
| virtual bool UT_PerfMonJSONHandle::jsonNull |
( |
UT_JSONParser & |
p |
) |
[virtual] |
| virtual bool UT_PerfMonJSONHandle::jsonString |
( |
UT_JSONParser & |
p, |
|
|
const char * |
value, |
|
|
int64 |
len | |
|
) |
| | [virtual] |
Event method to process a string value.
Implements UT_JSONHandle.
Parse the JSON file and populate the profile with the data stored in the file.
The documentation for this class was generated from the following file: