#include <StreamCommandParser.h>
Public Member Functions | |
StreamToken (const char *data) | |
bool | nextToken () |
void | previousToken () |
void | skipBlanks () |
bool | equals (const char *token) |
bool | atEnd () |
bool | toNumber (int64_t &num) |
bool | toNumber (int &num) |
size_t | getLength () |
Protected Attributes | |
const char * | sourceData |
const char * | string |
size_t | length |
size_t | offset |
Definition at line 76 of file StreamCommandParser.h.
|
inline |
Definition at line 79 of file StreamCommandParser.h.
References length, offset, and sourceData.
|
inline |
Definition at line 103 of file StreamCommandParser.h.
References offset, and sourceData.
|
inline |
Definition at line 98 of file StreamCommandParser.h.
References length, and Utilities::memicmp().
Referenced by parser().
|
inline |
bool StreamToken::nextToken | ( | ) |
Get the next token from the parsed string.
Definition at line 56 of file StreamCommandParser.cpp.
References length, offset, skipBlanks(), and sourceData.
Referenced by parser(), position_offset(), and reclength_token().
void StreamToken::previousToken | ( | ) |
Push a token back on to the stream.
Definition at line 105 of file StreamCommandParser.cpp.
References length.
Referenced by parser(), and reclength_token().
|
inline |
Definition at line 89 of file StreamCommandParser.h.
References offset, and sourceData.
Referenced by nextToken().
|
inline |
Definition at line 126 of file StreamCommandParser.h.
References length.
|
inline |
Definition at line 105 of file StreamCommandParser.h.
References length.
Referenced by position_offset(), and reclength_token().
|
protected |
Definition at line 152 of file StreamCommandParser.h.
Referenced by equals(), getLength(), nextToken(), previousToken(), StreamToken(), and toNumber().
|
protected |
Definition at line 153 of file StreamCommandParser.h.
Referenced by atEnd(), nextToken(), skipBlanks(), and StreamToken().
|
protected |
Definition at line 150 of file StreamCommandParser.h.
Referenced by atEnd(), nextToken(), skipBlanks(), and StreamToken().
|
protected |
Definition at line 151 of file StreamCommandParser.h.