cocos2d-x  2.2.6
Namespaces | Classes | Typedefs | Enumerations | Functions
rapidjson Namespace Reference

Namespaces

 

Classes

class   Allocator
  Concept for allocating, resizing and freeing memory block. More...
 
struct   BaseReaderHandler
  Default implementation of Handler. More...
 
class   CrtAllocator
  C-runtime library allocator. More...
 
class   Encoding
  Concept for encoding of Unicode characters. More...
 
class   FileStream
  Wrapper of C file stream for input or output. More...
 
class   GenericDocument
  A document for parsing JSON text as DOM. More...
 
  A read-write string stream. More...
 
class   GenericReader
  SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator. More...
 
  Represents an in-memory output stream. More...
 
  Read-only string stream. More...
 
class   GenericValue
  Represents a JSON value. Use Value for UTF8 encoding and default allocator. More...
 
class   Handler
  Concept for receiving events from GenericReader upon parsing. More...
 
  Default memory allocator used by the parser and DOM. More...
 
class   PrettyWriter
  Writer with indentation and spacing. More...
 
class   Stream
  Concept for reading and writing characters. More...
 
struct   UTF16
  UTF-16 encoding. More...
 
struct   UTF32
  UTF-32 encoding. More...
 
struct   UTF8
  UTF-8 encoding. More...
 
class   Writer
  JSON writer. More...
 

Typedefs

typedef GenericValue< UTF8<> >  Value
  Value with UTF8 encoding. More...
 
typedef GenericDocument< UTF8<> >  Document
typedef unsigned  SizeType
  Use 32-bit array/string indices even for 64-bit platform, instead of using size_t. More...
 
typedef GenericReader< UTF8<> >  Reader
  Reader with UTF8 encoding and default allocator. More...
 

Enumerations

enum   Type {
  kNullType = 0, kFalseType = 1, kTrueType = 2, kObjectType = 3,
  kArrayType = 4, kStringType = 5, kNumberType = 6
}
  Type of JSON value. More...
 
  Combination of parseFlags. More...
 

Functions

template<typename Stream , typename Ch >
void  (Stream &stream, Ch c, size_t n)
  Put N copies of a character to a stream. More...
 
template<typename Stream >
void  (Stream &stream)
  Skip the JSON white spaces in a stream. More...
 
template<>
void  (GenericStringBuffer< UTF8<> > &stream, char c, size_t n)
  Implement specialized version of PutN() with memset() for better performance. More...
 
template<>
local  ( local stream, local c, local n)
  Implement specialized version of PutN() with memset() for better performance. More...
 

Typedef Documentation

var Document
local Document
typedef GenericReader<UTF8
<> > Reader

Reader with UTF8 encoding and default allocator.

var Reader

Reader with UTF8 encoding and default allocator.

local Reader

Reader with UTF8 encoding and default allocator.

typedef unsigned SizeType

Use 32-bit array/string indices even for 64-bit platform, instead of using size_t.

User may override the SizeType by defining RAPIDJSON_NO_SIZETYPEDEFINE.

var SizeType

Use 32-bit array/string indices even for 64-bit platform, instead of using size_t.

User may override the SizeType by defining RAPIDJSON_NO_SIZETYPEDEFINE.

local SizeType

Use 32-bit array/string indices even for 64-bit platform, instead of using size_t.

User may override the SizeType by defining RAPIDJSON_NO_SIZETYPEDEFINE.

local StringBuffer
local StringStream
typedef GenericValue<UTF8<> > Value

Value with UTF8 encoding.

var Value

Value with UTF8 encoding.

local Value

Value with UTF8 encoding.

Enumeration Type Documentation

enum ParseFlag

Combination of parseFlags.

Enumerator
kParseDefaultFlags 

Default parse flags.

Non-destructive parsing. Text strings are decoded into allocated buffer.

kParseInsituFlag 

In-situ(destructive) parsing.

var ParseFlag

Combination of parseFlags.

Enumerator
kParseDefaultFlags 

Default parse flags.

Non-destructive parsing. Text strings are decoded into allocated buffer.

kParseInsituFlag 

In-situ(destructive) parsing.

local ParseFlag

Combination of parseFlags.

Enumerator
kParseDefaultFlags 

Default parse flags.

Non-destructive parsing. Text strings are decoded into allocated buffer.

kParseInsituFlag 

In-situ(destructive) parsing.

enum Type

Type of JSON value.

Enumerator
kNullType 

null

kFalseType 

false

kTrueType 

true

kObjectType 

object

kArrayType 

array

kStringType 

string

kNumberType 

number

var Type

Type of JSON value.

Enumerator
kNullType 

null

kFalseType 

false

kTrueType 

true

kObjectType 

object

kArrayType 

array

kStringType 

string

kNumberType 

number

local Type

Type of JSON value.

Enumerator
kNullType 

null

kFalseType 

false

kTrueType 

true

kObjectType 

object

kArrayType 

array

kStringType 

string

kNumberType 

number

Function Documentation

void rapidjson::PutN ( GenericStringBuffer< UTF8<> > &  stream,
char  c,
size_t  n 
)
inline

Implement specialized version of PutN() with memset() for better performance.

var PutN ( var  stream,
var  c,
var  n 
)
inline

Implement specialized version of PutN() with memset() for better performance.

local PutN ( local  stream,
local  c,
local  n 
)
inline

Implement specialized version of PutN() with memset() for better performance.

void rapidjson::SkipWhitespace ( Stream &  stream )

Skip the JSON white spaces in a stream.

Parameters
stream A input stream for skipping white spaces.
Note
This function has SSE2/SSE4.2 specialization.
var SkipWhitespace ( var  stream )

Skip the JSON white spaces in a stream.

Parameters
stream A input stream for skipping white spaces.
Note
This function has SSE2/SSE4.2 specialization.
local SkipWhitespace ( local  stream )

Skip the JSON white spaces in a stream.

Parameters
stream A input stream for skipping white spaces.
Note
This function has SSE2/SSE4.2 specialization.
void rapidjson::PutN ( Stream &  stream,
Ch  c,
size_t  n 
)
inline

Put N copies of a character to a stream.

var PutN ( var  stream,
var  c,
var  n 
)
inline

Put N copies of a character to a stream.

local PutN ( local  stream,
local  c,
local  n 
)
inline

Put N copies of a character to a stream.

AltStyle によって変換されたページ (->オリジナル) /