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

#include <bid_request.h>

List of all members.

Public Member Functions

 Format (int16_t width=-1, int16_t height=-1)
bool valid () const
Json::Value getWidthsJson () const
Json::Value getHeightsJson () const
void fromJson (const Json::Value &val)
void fromString (const std::string &val)
Json::Value toJson () const
std::string toJsonStr () const
std::string print () const
bool operator== (const Format &other) const
bool operator!= (const Format &other) const
bool operator< (const Format &other) const
void serialize (ML::DB::Store_Writer &store) const
void reconstitute (ML::DB::Store_Reader &store)

Public Attributes

int16_t width
int16_t height

Detailed Description

Tiny structure describing the format of an ad.

Definition at line 41 of file bid_request.h.


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