![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
| StructureDescription (bool nullAccepted=false) | |
| virtual bool | onEntry (void *output, JsonParsingContext &context) const |
| virtual void | onExit (void *output, JsonParsingContext &context) const |
| template<typename V , typename Base > | |
| void | addField (std::string name, V Base::*field, std::string comment, ValueDescriptionT< V > *description=getDefaultDescription((V *) 0)) |
| template<typename V > | |
| void | addParent (ValueDescriptionT< V > *description_=getDefaultDescription((V *) 0)) |
| virtual size_t | getFieldCount (const void *val) const |
| virtual const FieldDescription * | hasField (const void *val, const std::string &field) const |
| virtual void | forEachField (const void *val, const std::function< void(const FieldDescription &)> &onField) const |
| virtual const FieldDescription & | getField (const std::string &field) const |
| virtual void | parseJson (void *val, JsonParsingContext &context) const |
| virtual void | printJson (const void *val, JsonPrintingContext &context) const |
Public Attributes | |
|
std::function< bool(Struct *, JsonParsingContext &context) | onEntryHandler ) |
| Function to be called before parsing; if it returns false parsing stops. | |
|
std::function< void(Struct *, JsonParsingContext &context) | onUnknownField ) |
| Function to be called whenever an unknown field is found. | |
Definition at line 457 of file value_description.h.
1.7.6.1