CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::kv::TxDiff Class Reference

#include <tx.h>

Inherits ccf::kv::BaseTx.

Public Member Functions

template<class M >
M::Diff * diff (M &m)
 
template<class M >
M::Diff * diff (const std::string &map_name)
 
 BaseTx (AbstractStore *store_)
 
 BaseTx (const BaseTx &that)=delete
 
- Public Member Functions inherited from ccf::kv::BaseTx
 BaseTx (AbstractStore *store_)
 
 BaseTx (const BaseTx &that)=delete
 
BaseTxoperator= (BaseTx &&other)=default
 
virtual ~BaseTx ()
 
std::optional< ccf::crypto::Sha256Hashget_root_at_read_version ()
 

Additional Inherited Members

- Protected Member Functions inherited from ccf::kv::BaseTx
void retain_change_set (const std::string &map_name, std::unique_ptr< untyped::ChangeSet > &&change_set, const std::shared_ptr< AbstractMap > &abstract_map)
 
void retain_handle (const std::string &map_name, std::unique_ptr< AbstractHandle > &&handle)
 
MapChanges get_map_and_change_set_by_name (const std::string &map_name, bool track_deletes_on_missing_keys)
 
std::list< AbstractHandle * > get_possible_handles (const std::string &map_name)
 
void compacted_version_conflict (const std::string &map_name)
 
template<class THandle >
THandle * get_handle_by_name (const std::string &map_name, bool track_deletes_on_missing_keys)
 
- Protected Attributes inherited from ccf::kv::BaseTx
std::unique_ptr< PrivateImplpimpl
 
OrderedChanges all_changes
 
std::optional< ccf::crypto::Sha256Hashroot_at_read_version = std::nullopt
 

Member Function Documentation

◆ BaseTx() [1/2]

ccf::kv::BaseTx::BaseTx ( AbstractStore store_)

◆ BaseTx() [2/2]

ccf::kv::BaseTx::BaseTx ( const BaseTx that)
delete

◆ diff() [1/2]

template<class M >
M::Diff * ccf::kv::TxDiff::diff ( const std::string &  map_name)
inline

Get a diff by map name. Map type must be specified as explicit template parameter.

Parameters
map_nameName of map

◆ diff() [2/2]

template<class M >
M::Diff * ccf::kv::TxDiff::diff ( M &  m)
inline

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