BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <index.hpp>
Public Member Functions | |
base_primary_index (object_database &db) | |
virtual | ~base_primary_index ()=default |
void | save_undo (const object &obj) |
void | on_add (const object &obj) |
void | on_remove (const object &obj) |
void | on_modify (const object &obj) |
template<typename T , typename... Args> | |
T * | add_secondary_index (Args... args) |
template<typename T > | |
const T & | get_secondary_index () const |
Protected Attributes | |
std::vector< std::shared_ptr< index_observer > > | _observers |
std::vector< std::unique_ptr< secondary_index > > | _sindex |
|
inlineexplicit |
|
virtualdefault |
|
inline |
|
inline |
void graphene::db::base_primary_index::on_add | ( | const object & | obj | ) |
void graphene::db::base_primary_index::on_modify | ( | const object & | obj | ) |
void graphene::db::base_primary_index::on_remove | ( | const object & | obj | ) |
void graphene::db::base_primary_index::save_undo | ( | const object & | obj | ) |
|
protected |
|
protected |