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

used to get callbacks when objects change More...

#include <index.hpp>

Public Member Functions

virtual ~index_observer ()=default
 
virtual void on_add (const object &obj)
 
virtual void on_remove (const object &obj)
 
virtual void on_modify (const object &obj)
 

Detailed Description

used to get callbacks when objects change

Definition at line 42 of file index.hpp.

Constructor & Destructor Documentation

◆ ~index_observer()

virtual graphene::db::index_observer::~index_observer ( )
virtualdefault

Member Function Documentation

◆ on_add()

virtual void graphene::db::index_observer::on_add ( const object obj)
inlinevirtual

called just after the object is added

Definition at line 47 of file index.hpp.

◆ on_modify()

virtual void graphene::db::index_observer::on_modify ( const object obj)
inlinevirtual

called just after obj is modified with new value

Definition at line 51 of file index.hpp.

◆ on_remove()

virtual void graphene::db::index_observer::on_remove ( const object obj)
inlinevirtual

called just before obj is removed

Definition at line 49 of file index.hpp.


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