BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
This secondary index tracks the next ID of all object types. More...
#include <api_helper_indexes.hpp>
Public Member Functions | |
object_id_type | get_next_id (uint8_t space_id, uint8_t type_id) 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) |
Friends | |
class | api_helper_indexes |
This secondary index tracks the next ID of all object types.
flat_map
considering there aren't too many object types in the system thus the performance would be acceptable. Definition at line 79 of file api_helper_indexes.hpp.
object_id_type graphene::api_helper_indexes::next_object_ids_index::get_next_id | ( | uint8_t | space_id, |
uint8_t | type_id | ||
) | const |
Definition at line 250 of file api_helper_indexes.cpp.
|
friend |
Definition at line 85 of file api_helper_indexes.hpp.