Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
LookaheadParser Class Reference
Inheritance diagram for LookaheadParser:
LookaheadParserHandler

Public Member Functions

 LookaheadParser (char *str)
 
bool EnterObject ()
 
bool EnterArray ()
 
const char * NextObjectKey ()
 
bool NextArrayValue ()
 
int GetInt ()
 
double GetDouble ()
 
const char * GetString ()
 
bool GetBool ()
 
void GetNull ()
 
void SkipObject ()
 
void SkipArray ()
 
void SkipValue ()
 
ValuePeekValue ()
 
int PeekType ()
 
bool IsValid ()
 

Protected Member Functions

void SkipOut (int depth)
 
- Protected Member Functions inherited from LookaheadParserHandler
 LookaheadParserHandler (char *str)
 
void ParseNext ()
 
bool Null ()
 
bool Bool (bool b)
 
bool Int (int i)
 
bool Uint (unsigned u)
 
bool Int64 (int64_t i)
 
bool Uint64 (uint64_t u)
 
bool Double (double d)
 
bool RawNumber (const char *, SizeType, bool)
 
bool String (const char *str, SizeType length, bool)
 
bool StartObject ()
 
bool Key (const char *str, SizeType length, bool)
 
bool EndObject (SizeType)
 
bool StartArray ()
 
bool EndArray (SizeType)
 

Additional Inherited Members

- Protected Types inherited from LookaheadParserHandler
enum  LookaheadParsingState {
  kInit , kError , kHasNull , kHasBool ,
  kHasNumber , kHasString , kHasKey , kEnteringObject ,
  kExitingObject , kEnteringArray , kExitingArray
}
 
- Protected Attributes inherited from LookaheadParserHandler
Value v_
 
LookaheadParsingState st_
 
Reader r_
 
InsituStringStream ss_
 
- Static Protected Attributes inherited from LookaheadParserHandler
static const int parseFlags = kParseDefaultFlags | kParseInsituFlag
 

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