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::LineItems Struct Reference

#include <currency.h>

List of all members.

Public Member Functions

bool isZero () const
void clear ()
bool empty () const
CurrencyPool total () const
CurrencyPooloperator[] (std::string item)
CurrencyPool operator[] (std::string item) const
Json::Value toJson () const
bool operator== (const LineItems &other) const
bool operator!= (const LineItems &other) const
LineItemsoperator+= (const LineItems &other)
void serialize (ML::DB::Store_Writer &store) const
void reconstitute (ML::DB::Store_Reader &store)

Static Public Member Functions

static LineItems fromJson (const Json::Value &json)

Public Attributes

std::map< std::string,
CurrencyPool
entries

Detailed Description

Maintains a spend per "line item".

Definition at line 424 of file currency.h.


Member Function Documentation

Aggregate total spend over line items.


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