#include <chainbase.hpp>
Definition at line 287 of file chainbase.hpp.
◆ session() [1/2]
chainbase::database::session::session |
( |
session && | s | ) |
|
|
inline |
Definition at line 289 of file chainbase.hpp.
289:_index_sessions( std::move(
s._index_sessions) ){}
◆ session() [2/2]
chainbase::database::session::session |
( |
vector< std::unique_ptr< abstract_session > > && | s | ) |
|
|
inline |
Definition at line 290 of file chainbase.hpp.
290 :_index_sessions( std::move(
s) )
291 {
292 }
◆ ~session()
chainbase::database::session::~session |
( |
| ) |
|
|
inline |
◆ push()
void chainbase::database::session::push |
( |
| ) |
|
|
inline |
Definition at line 298 of file chainbase.hpp.
299 {
300 for( auto& i : _index_sessions ) i->push();
301 _index_sessions.clear();
302 }
◆ squash()
void chainbase::database::session::squash |
( |
| ) |
|
|
inline |
Definition at line 304 of file chainbase.hpp.
305 {
306 for( auto& i : _index_sessions ) i->squash();
307 _index_sessions.clear();
308 }
◆ undo()
void chainbase::database::session::undo |
( |
| ) |
|
|
inline |
Definition at line 310 of file chainbase.hpp.
311 {
312 for( auto& i : _index_sessions ) i->undo();
313 _index_sessions.clear();
314 }
◆ database
The documentation for this struct was generated from the following file: