Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
LookaheadParserHandler Class Reference
Inheritance diagram for LookaheadParserHandler:
Inheritance graph
[legend]

Public Member Functions

bool Bool (bool b)
 
bool Double (double d)
 
bool EndArray (SizeType)
 
bool EndObject (SizeType)
 
bool Int (int i)
 
bool Int64 (int64_t i)
 
bool Key (const char *str, SizeType length, bool)
 
bool Null ()
 
bool RawNumber (const char *, SizeType, bool)
 
bool StartArray ()
 
bool StartObject ()
 
bool String (const char *str, SizeType length, bool)
 
bool Uint (unsigned u)
 
bool Uint64 (uint64_t u)
 

Protected Types

enum  LookaheadParsingState {
  kInit, kError, kHasNull, kHasBool,
  kHasNumber, kHasString, kHasKey, kEnteringObject,
  kExitingObject, kEnteringArray, kExitingArray
}
 

Protected Member Functions

 LookaheadParserHandler (char *str)
 
void ParseNext ()
 

Protected Attributes

Reader r_
 
InsituStringStream ss_
 
LookaheadParsingState st_
 
Value v_
 

Static Protected Attributes

static const int parseFlags = kParseDefaultFlags | kParseInsituFlag
 

Detailed Description

Definition at line 43 of file lookaheadparser.cpp.

Member Enumeration Documentation

Enumerator
kInit 
kError 
kHasNull 
kHasBool 
kHasNumber 
kHasString 
kHasKey 
kEnteringObject 
kExitingObject 
kEnteringArray 
kExitingArray 

Definition at line 65 of file lookaheadparser.cpp.

Constructor & Destructor Documentation

LookaheadParserHandler::LookaheadParserHandler ( char *  str)
protected

Definition at line 87 of file lookaheadparser.cpp.

Member Function Documentation

bool LookaheadParserHandler::Bool ( bool  b)
inline

Definition at line 46 of file lookaheadparser.cpp.

bool LookaheadParserHandler::Double ( double  d)
inline

Definition at line 51 of file lookaheadparser.cpp.

bool LookaheadParserHandler::EndArray ( SizeType  )
inline

Definition at line 58 of file lookaheadparser.cpp.

bool LookaheadParserHandler::EndObject ( SizeType  )
inline

Definition at line 56 of file lookaheadparser.cpp.

bool LookaheadParserHandler::Int ( int  i)
inline

Definition at line 47 of file lookaheadparser.cpp.

bool LookaheadParserHandler::Int64 ( int64_t  i)
inline

Definition at line 49 of file lookaheadparser.cpp.

bool LookaheadParserHandler::Key ( const char *  str,
SizeType  length,
bool   
)
inline

Definition at line 55 of file lookaheadparser.cpp.

bool LookaheadParserHandler::Null ( )
inline

Definition at line 45 of file lookaheadparser.cpp.

void LookaheadParserHandler::ParseNext ( )
protected

Definition at line 92 of file lookaheadparser.cpp.

bool LookaheadParserHandler::RawNumber ( const char *  ,
SizeType  ,
bool   
)
inline

Definition at line 52 of file lookaheadparser.cpp.

bool LookaheadParserHandler::StartArray ( )
inline

Definition at line 57 of file lookaheadparser.cpp.

bool LookaheadParserHandler::StartObject ( )
inline

Definition at line 54 of file lookaheadparser.cpp.

bool LookaheadParserHandler::String ( const char *  str,
SizeType  length,
bool   
)
inline

Definition at line 53 of file lookaheadparser.cpp.

bool LookaheadParserHandler::Uint ( unsigned  u)
inline

Definition at line 48 of file lookaheadparser.cpp.

bool LookaheadParserHandler::Uint64 ( uint64_t  u)
inline

Definition at line 50 of file lookaheadparser.cpp.

Member Data Documentation

const int LookaheadParserHandler::parseFlags = kParseDefaultFlags | kParseInsituFlag
staticprotected

Definition at line 84 of file lookaheadparser.cpp.

Reader LookaheadParserHandler::r_
protected

Definition at line 81 of file lookaheadparser.cpp.

InsituStringStream LookaheadParserHandler::ss_
protected

Definition at line 82 of file lookaheadparser.cpp.

LookaheadParsingState LookaheadParserHandler::st_
protected

Definition at line 80 of file lookaheadparser.cpp.

Value LookaheadParserHandler::v_
protected

Definition at line 79 of file lookaheadparser.cpp.


The documentation for this class was generated from the following file:


choreo_rapidjson
Author(s):
autogenerated on Thu Jul 18 2019 03:59:10