Operator Console
|
#include <JSONStream.h>
Public Member Functions | |
JSONStream (json_stream_callback_t call_p, json_stream_e_callback_t call_e=NULL, void *callbackIdentifier=JSONSTREAM_SELF) json_nothrow | |
JSONStream (const JSONStream &orig) json_nothrow | |
JSONStream & | operator= (const JSONStream &orig) json_nothrow |
JSONStream & | operator<< (const json_string &str) json_nothrow |
void | reset () json_nothrow |
JSON_PRIVATE void * | getIdentifier (void) json_nothrow |
void | parse (void) json_nothrow |
bool state | BITS (1) |
JSONStream (json_stream_callback_t call_p, json_stream_e_callback_t call_e=NULL, void *callbackIdentifier=JSONSTREAM_SELF) json_nothrow | |
JSONStream (const JSONStream &orig) json_nothrow | |
JSONStream & | operator= (const JSONStream &orig) json_nothrow |
JSONStream & | operator<< (const json_string &str) json_nothrow |
void | reset () json_nothrow |
JSON_PRIVATE void * | getIdentifier (void) json_nothrow |
void | parse (void) json_nothrow |
bool state | BITS (1) |
Static Public Member Functions | |
static void | deleteJSONStream (JSONStream *stream) json_nothrow |
static JSONStream * | newJSONStream (json_stream_callback_t callback, json_stream_e_callback_t call_e, void *callbackIdentifier) json_nothrow |
template<json_char ch> | |
static size_t | FindNextRelevant (const json_string &value_t, const size_t pos) json_nothrow json_read_priority |
static void | deleteJSONStream (JSONStream *stream) json_nothrow |
static JSONStream * | newJSONStream (json_stream_callback_t callback, json_stream_e_callback_t call_e, void *callbackIdentifier) json_nothrow |
template<json_char ch> | |
static size_t | FindNextRelevant (const json_string &value_t, const size_t pos) json_nothrow json_read_priority |
Public Attributes | |
json_string | buffer |
json_stream_callback_t | call |
json_stream_e_callback_t | err_call |
void * | callback_identifier |
JSONStream::JSONStream | ( | json_stream_callback_t | call_p, |
json_stream_e_callback_t | call_e = NULL , |
||
void * | callbackIdentifier = JSONSTREAM_SELF |
||
) |
Referenced by newJSONStream().
JSONStream::JSONStream | ( | const JSONStream & | orig | ) |
JSONStream::JSONStream | ( | json_stream_callback_t | call_p, |
json_stream_e_callback_t | call_e = NULL , |
||
void * | callbackIdentifier = JSONSTREAM_SELF |
||
) |
JSONStream::JSONStream | ( | const JSONStream & | orig | ) |
bool state JSONStream::BITS | ( | 1 | ) |
bool state JSONStream::BITS | ( | 1 | ) |
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
References BRACKET_STREAM, json_char, json_nothrow, JSON_TEXT, json_unlikely, and QUOTECASE_STREAM.
|
inline |
References callback_identifier, and JSONSTREAM_SELF.
|
inline |
References callback_identifier, and JSONSTREAM_SELF.
Referenced by parse().
|
inlinestatic |
References JSONStream().
|
inlinestatic |
References JSONStream().
JSONStream& JSONStream::operator<< | ( | const json_string & | str | ) |
JSONStream & JSONStream::operator<< | ( | const json_string & | str | ) |
JSONStream & JSONStream::operator= | ( | const JSONStream & | orig | ) |
JSONStream& JSONStream::operator= | ( | const JSONStream & | orig | ) |
void JSONStream::parse | ( | void | ) |
References buffer, call, END_MEM_SCOPE, err_call, getIdentifier(), JSONValidator::isValidPartialRoot(), json_char, JSON_FAIL, json_likely, JSON_SECURITY_MAX_STREAM_OBJECTS, JSON_TEXT, libjson::parse(), json_auto< T >::ptr, JSONWorker::RemoveWhiteSpace, json_auto< T >::set(), START_MEM_SCOPE, and STREAM_FIND_NEXT_RELEVANT.
void JSONStream::parse | ( | void | ) |
|
inline |
References buffer.
|
inline |
References buffer.
json_stream_callback_t JSONStream::call |
Referenced by parse().
void * JSONStream::callback_identifier |
Referenced by getIdentifier().
json_stream_e_callback_t JSONStream::err_call |
Referenced by parse().