![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <currency.h>
Public Member Functions | |
bool | isZero () const |
void | clear () |
bool | empty () const |
CurrencyPool | total () const |
CurrencyPool & | operator[] (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 |
LineItems & | operator+= (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 |
Maintains a spend per "line item".
Definition at line 424 of file currency.h.
CurrencyPool RTBKIT::LineItems::total | ( | ) | const |
Aggregate total spend over line items.