RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Classes | |
struct | State |
Public Types | |
typedef void(Itl::* | OnDataFn )(const char *&, const char *, State &) |
typedef void(Itl::* | OnFinishedFn )(State ¤t, State &parent) |
Public Member Functions | |
State & | pushState (OnDataFn onData, OnFinishedFn onFinished=0, void *param=0) |
void | popState () |
void | process (const char *first, const char *last) |
void | processBase (const char *&first, const char *last, State &state) |
void | processString (const char *&first, const char *last, State &state) |
void | doneStringLength (State ¤t, State &parent) |
void | processRaw (const char *&first, const char *last, State &state) |
void | doneInternedStringLength (State ¤t, State &parent) |
void | processInternedStringDefinition (const char *&first, const char *last, State &state) |
void | doneInternedStringReference (State ¤t, State &parent) |
void | processInternedStringReference (const char *&first, const char *last, State &state) |
void | processCommonString (const char *&first, const char *last, State &state) |
void | processLength (const char *&first, const char *last, State &state) |
void | requireData (size_t amount, const char *&first, const char *last) |
void | processRequireData (const char *&first, const char *last, State &state) |
void | writeOutput (Filter::OnOutput onOutput, FlushLevel level, boost::function< void()> onMessageDone) |
void | sortStrings () |
Public Attributes | |
std::vector< State > | states |
ostringstream | current |
std::vector< std::string > | commonStrings |
std::vector< std::pair< size_t, std::string > > | currentStrings |
Definition at line 465 of file json_filter.cc.
void Datacratic::JsonDecompressor::Itl::processLength | ( | const char *& | first, |
const char * | last, | ||
State & | state | ||
) | [inline] |
Extract a length. Param points to a size_t * which will be filled in with the length once it's available.
Definition at line 723 of file json_filter.cc.