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

List of all members.

Public Member Functions

Utf8String fullLocationString () const
Json::Value toJson () const
std::string toJsonStr () const
void serialize (ML::DB::Store_Writer &store) const
void reconstitute (ML::DB::Store_Reader &store)

Static Public Member Functions

static Location createFromJson (const Json::Value &json)

Public Attributes

std::string countryCode
std::string regionCode
Utf8String cityName
std::string postalCode
int dma
int timezoneOffsetMinutes

Detailed Description

Definition at line 230 of file bid_request.h.


Member Function Documentation

Return a location string with COUNTRY:REGION:CITY:POSTAL:DMA

Definition at line 424 of file bid_request.cc.

Return a canonical JSON version of the bid request.

Definition at line 438 of file bid_request.cc.

std::string RTBKIT::Location::toJsonStr ( ) const

Return a canonical stringified JSON version of the bid request.

Definition at line 452 of file bid_request.cc.


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