BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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 ()=default
 

Detailed Description

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

Definition at line 361 of file account_object.hpp.

Member Function Documentation

◆ about_to_modify()

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

Reimplemented from graphene::db::secondary_index.

Definition at line 282 of file account_object.cpp.

◆ get_account_balance()

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 301 of file account_object.cpp.

◆ get_account_balances()

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 293 of file account_object.cpp.

◆ object_inserted()

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

Reimplemented from graphene::db::secondary_index.

Definition at line 263 of file account_object.cpp.

◆ object_modified()

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

Reimplemented from graphene::db::secondary_index.

Definition at line 287 of file account_object.cpp.

◆ object_removed()

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

Reimplemented from graphene::db::secondary_index.

Definition at line 275 of file account_object.cpp.


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