Wraps a derived index to intercept calls to create, modify, and remove so that callbacks may be fired and undo state saved.
More...
#include <index.hpp>
template<typename DerivedIndex, uint8_t DirectBits = 0>
class graphene::db::primary_index< DerivedIndex, DirectBits >
Wraps a derived index to intercept calls to create, modify, and remove so that callbacks may be fired and undo state saved.
- See also
- http://en.wikipedia.org/wiki/Curiously_recurring_template_pattern
Definition at line 312 of file index.hpp.
◆ object_type
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ primary_index()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ add_observer()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ create()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ find()
template<typename DerivedIndex , uint8_t DirectBits = 0>
- Returns
- the object with id or nullptr if not found
Definition at line 335 of file index.hpp.
◆ get_next_id()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ get_object_version()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ insert()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ load()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ modify()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ object_default()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ object_from_variant()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ object_space_id()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ object_type_id()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ open()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ remove()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ save()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ set_next_id()
template<typename DerivedIndex , uint8_t DirectBits = 0>
◆ use_next_id()
template<typename DerivedIndex , uint8_t DirectBits = 0>
The documentation for this class was generated from the following file: