Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
chainbase::abstract_index Class Referenceabstract

#include <chainbase.hpp>

Inheritance diagram for chainbase::abstract_index:

Public Member Functions

 abstract_index (void *i)
 
virtual ~abstract_index ()
 
virtual void set_revision (uint64_t revision)=0
 
virtual unique_ptr< abstract_sessionstart_undo_session (bool enabled)=0
 
virtual int64_t revision () const =0
 
virtual void undo () const =0
 
virtual void squash () const =0
 
virtual void commit (int64_t revision) const =0
 
virtual void undo_all () const =0
 
virtual uint32_t type_id () const =0
 
virtual uint64_t row_count () const =0
 
virtual const std::string & type_name () const =0
 
virtual std::pair< int64_t, int64_tundo_stack_revision_range () const =0
 
virtual void remove_object (int64_t id)=0
 
void * get () const
 

Detailed Description

Definition at line 159 of file chainbase.hpp.

Constructor & Destructor Documentation

◆ abstract_index()

chainbase::abstract_index::abstract_index ( void * i)
inline

Definition at line 162 of file chainbase.hpp.

162:_idx_ptr(i){}

◆ ~abstract_index()

virtual chainbase::abstract_index::~abstract_index ( )
inlinevirtual

Definition at line 163 of file chainbase.hpp.

163{}

Member Function Documentation

◆ commit()

virtual void chainbase::abstract_index::commit ( int64_t revision) const
pure virtual

◆ get()

void * chainbase::abstract_index::get ( ) const
inline

Definition at line 179 of file chainbase.hpp.

179{ return _idx_ptr; }

◆ remove_object()

virtual void chainbase::abstract_index::remove_object ( int64_t id)
pure virtual

◆ revision()

virtual int64_t chainbase::abstract_index::revision ( ) const
pure virtual

◆ row_count()

virtual uint64_t chainbase::abstract_index::row_count ( ) const
pure virtual

◆ set_revision()

virtual void chainbase::abstract_index::set_revision ( uint64_t revision)
pure virtual

◆ squash()

virtual void chainbase::abstract_index::squash ( ) const
pure virtual

◆ start_undo_session()

virtual unique_ptr< abstract_session > chainbase::abstract_index::start_undo_session ( bool enabled)
pure virtual

◆ type_id()

virtual uint32_t chainbase::abstract_index::type_id ( ) const
pure virtual

◆ type_name()

virtual const std::string & chainbase::abstract_index::type_name ( ) const
pure virtual

◆ undo()

virtual void chainbase::abstract_index::undo ( ) const
pure virtual

◆ undo_all()

virtual void chainbase::abstract_index::undo_all ( ) const
pure virtual

◆ undo_stack_revision_range()

virtual std::pair< int64_t, int64_t > chainbase::abstract_index::undo_stack_revision_range ( ) const
pure virtual

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