RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Classes | Public Types | Public Member Functions | Public Attributes
Datacratic::JsonDecompressor::Itl Struct Reference

List of all members.

Classes

struct  State

Public Types

typedef void(Itl::* OnDataFn )(const char *&, const char *, State &)
typedef void(Itl::* OnFinishedFn )(State &current, State &parent)

Public Member Functions

StatepushState (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 &current, State &parent)
void processRaw (const char *&first, const char *last, State &state)
void doneInternedStringLength (State &current, State &parent)
void processInternedStringDefinition (const char *&first, const char *last, State &state)
void doneInternedStringReference (State &current, 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< Statestates
ostringstream current
std::vector< std::string > commonStrings
std::vector< std::pair< size_t,
std::string > > 
currentStrings

Detailed Description

Definition at line 465 of file json_filter.cc.


Member Function Documentation

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator