![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cJSONReader.h>
Public Member Functions | |
| cJSONReadVisitor (void *pVal) | |
| virtual void | SetNull ()=0 |
| virtual void | SetBool (bool bVal)=0 |
| virtual void | SetDouble (double dVal)=0 |
| virtual void | SetString (const char *pszString, StrLen_t nLen)=0 |
| virtual void | SetArray ()=0 |
| virtual void | SetMap ()=0 |
| virtual void * | MakeArrayElement (cJSONReader &r, ITERATE_t i)=0 |
| virtual void * | MakeMapElement (cJSONReader &r, const char *pszTag)=0 |
Public Member Functions inherited from GrayLib::cJSON | |
| UNITTEST_FRIEND (cJSON) | |
Public Attributes | |
| void * | m_pVal |
| Fill this target variant with the contents of the JSON. More... | |
Additional Inherited Members | |
Public Types inherited from GrayLib::cJSON | |
| enum | TYPE_TYPE { TYPE_Null , TYPE_Bool , TYPE_Double , TYPE_String } |
Static Public Member Functions inherited from GrayLib::cJSON | |
| static bool GRAYCALL | IsJSON (const char *pszStr, StrLen_t iLenMax=StrT::k_LEN_MAX) |
| static cVariant GRAYCALL | Parse (const char *pszVal) |
| static cJSONString GRAYCALL | Encode (const cVariant &v) |
Static Public Attributes inherited from GrayLib::cJSON | |
| static const char | k_null [5] = "null" |
| "null" is valid syntax. More... | |
| static const char | k_true [5] = "true" |
| "true" More... | |
| static const char | k_false [6] = "false" |
| "false" More... | |
| static const int | k_DEPTH_MAX = 50 |
| Arbitrary max depth of read recursion. More... | |
abstraction for where cJSONReader stores what we read from the JSON blob. Fast serial reader. similar to cXmlReadVisitor. Allow this to run without cVariant storage. allow m_pProgressCallback
|
inline |
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
|
pure virtual |
Implemented in GrayLib::cJSONReadVariant.
| void* GrayLib::cJSONReadVisitor::m_pVal |
Fill this target variant with the contents of the JSON.