cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
reader.h File Reference
#include "rapidjson.h"
#include "internal/pow10.h"
#include "internal/stack.h"
#include <setjmp.h>

Classes

struct  BaseReaderHandler< Encoding >
 Default implementation of Handler. More...
 
class  GenericReader< Encoding, Allocator >
 SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator. More...
 

Namespaces

 rapidjson
 

Macros

#define RAPIDJSON_PARSE_ERROR(msg, offset)
#define Z16   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
#define RAPIDJSON_PUT(x)

Typedefs

typedef GenericReader< UTF8<> > Reader
 Reader with UTF8 encoding and default allocator. More...
 

Enumerations

enum  ParseFlag { kParseDefaultFlags = 0, kParseInsituFlag = 1 }
 Combination of parseFlags. More...
 

Functions

template<typename Stream >
void  (Stream &stream)
 Skip the JSON white spaces in a stream. More...
 

Macro Definition Documentation

#define RAPIDJSON_PARSE_ERROR (   msg,
  offset 
)
Value:
RAPIDJSON_MULTILINEMACRO_BEGIN \
parseError_ = msg; \
errorOffset_ = offset; \
longjmp(jmpbuf_, 1); \
#define RAPIDJSON_MULTILINEMACRO_END
Definition: rapidjson.h:87
#define RAPIDJSON_PUT (   x)
Value:
do { \
if (parseFlags & kParseInsituFlag) \
s.Put(x); \
else { \
*stack_.template Push<Ch>() = x; \
++len; \
} \
} while(false)
In-situ(destructive) parsing.
Definition: reader.h:40
#define Z16   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0