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

#include <account.h>

List of all members.

Public Member Functions

void addChild (const std::string &name, const AccountSummary &child, bool addInSubaccounts)
void dump (std::ostream &stream, int indent=0, const std::string &name="toplevel") const
Json::Value toJson (bool simplified=false) const

Static Public Member Functions

static AccountSummary fromJson (const Json::Value &val)

Public Attributes

CurrencyPool budget
 Total amount we're allowed to spend.
CurrencyPool inFlight
 Sum of sub-account inFlights (pending commitments)
CurrencyPool spent
 Sum of sub-account spend.
CurrencyPool available
 Total amount we're allowed to spend.
Account account
std::map< std::string,
AccountSummary
subAccounts

Detailed Description

This is a summary of an account and all of its sub-accounts.

Definition at line 691 of file account.h.


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