BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | List of all members
graphene::grouped_orders::detail::limit_order_group_index Class Reference

This secondary index is used to track changes on limit order objects. More...

Inheritance diagram for graphene::grouped_orders::detail::limit_order_group_index:
graphene::db::secondary_index

Public Member Functions

 limit_order_group_index (const flat_set< uint16_t > &groups)
 
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 flat_set< uint16_t > & get_tracked_groups () const
 
const map< limit_order_group_key, limit_order_group_data > & get_order_groups () const
 
- Public Member Functions inherited from graphene::db::secondary_index
virtual ~secondary_index ()=default
 
virtual void object_inserted (const object &obj)
 
virtual void object_removed (const object &obj)
 
virtual void about_to_modify (const object &before)
 
virtual void object_modified (const object &after)
 

Detailed Description

This secondary index is used to track changes on limit order objects.

Definition at line 52 of file grouped_orders_plugin.cpp.

Constructor & Destructor Documentation

◆ limit_order_group_index()

graphene::grouped_orders::detail::limit_order_group_index::limit_order_group_index ( const flat_set< uint16_t > &  groups)
inline

Definition at line 55 of file grouped_orders_plugin.cpp.

Member Function Documentation

◆ about_to_modify()

void graphene::grouped_orders::detail::limit_order_group_index::about_to_modify ( const object &  before)
overridevirtual

Definition at line 195 of file grouped_orders_plugin.cpp.

◆ get_order_groups()

const map< limit_order_group_key, limit_order_group_data >& graphene::grouped_orders::detail::limit_order_group_index::get_order_groups ( ) const
inline

Definition at line 65 of file grouped_orders_plugin.cpp.

◆ get_tracked_groups()

const flat_set<uint16_t>& graphene::grouped_orders::detail::limit_order_group_index::get_tracked_groups ( ) const
inline

Definition at line 62 of file grouped_orders_plugin.cpp.

◆ object_inserted()

void graphene::grouped_orders::detail::limit_order_group_index::object_inserted ( const object &  obj)
overridevirtual

Definition at line 78 of file grouped_orders_plugin.cpp.

◆ object_modified()

void graphene::grouped_orders::detail::limit_order_group_index::object_modified ( const object &  after)
overridevirtual

Definition at line 201 of file grouped_orders_plugin.cpp.

◆ object_removed()

void graphene::grouped_orders::detail::limit_order_group_index::object_removed ( const object &  obj)
overridevirtual

Definition at line 189 of file grouped_orders_plugin.cpp.


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