BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | List of all members
graphene::chain::balances_by_account_index Class Reference

This secondary index will allow fast access to the balance objects that belonging to an account. More...

#include <account_object.hpp>

Inheritance diagram for graphene::chain::balances_by_account_index:
graphene::db::secondary_index

Public Member Functions

virtual void object_inserted (const object &obj) override
 
virtual void object_removed (const object &obj) override
 
virtual void about_to_modify (const object &before) override
 
virtual void object_modified (const object &after) override
 
const map< asset_id_type, const account_balance_object * > & get_account_balances (const account_id_type &acct) const
 
const account_balance_objectget_account_balance (const account_id_type &acct, const asset_id_type &asset) const
 
- Public Member Functions inherited from graphene::db::secondary_index
virtual ~secondary_index ()
 

Detailed Description

This secondary index will allow fast access to the balance objects that belonging to an account.

Definition at line 363 of file account_object.hpp.

Member Function Documentation

void graphene::chain::balances_by_account_index::about_to_modify ( const object before)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 274 of file account_object.cpp.

const account_balance_object * graphene::chain::balances_by_account_index::get_account_balance ( const account_id_type &  acct,
const asset_id_type &  asset 
) const

Definition at line 293 of file account_object.cpp.

const map< asset_id_type, const account_balance_object * > & graphene::chain::balances_by_account_index::get_account_balances ( const account_id_type &  acct) const

Definition at line 285 of file account_object.cpp.

void graphene::chain::balances_by_account_index::object_inserted ( const object obj)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 255 of file account_object.cpp.

void graphene::chain::balances_by_account_index::object_modified ( const object after)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 279 of file account_object.cpp.

void graphene::chain::balances_by_account_index::object_removed ( const object obj)
overridevirtual

Reimplemented from graphene::db::secondary_index.

Definition at line 267 of file account_object.cpp.


The documentation for this class was generated from the following files: