CCF
|
#include <set_handle.h>
Inherits ccf::kv::AbstractHandle, ccf::kv::ReadableSetHandle< K, KSerialiser >, and ccf::kv::WriteableSetHandle< K, KSerialiser, Unit >.
Public Member Functions | |
SetHandle (ccf::kv::untyped::ChangeSet &changes, const std::string &map_name) | |
![]() | |
virtual | ~AbstractHandle ()=default |
![]() | |
ReadableSetHandle (ccf::kv::untyped::MapHandle &uh) | |
bool | contains (const K &key) |
bool | contains_globally_committed (const K &key) |
std::optional< Version > | get_version_of_previous_write (const K &key) |
template<class F > | |
void | foreach (F &&f) |
size_t | size () |
![]() | |
WriteableSetHandle (ccf::kv::untyped::MapHandle &uh) | |
void | insert (const K &key) |
void | remove (const K &key) |
void | clear () |
Protected Types | |
using | ReadableBase = ReadableSetHandle< K, KSerialiser > |
using | WriteableBase = WriteableSetHandle< K, KSerialiser, Unit > |
Protected Attributes | |
ccf::kv::untyped::MapHandle | untyped_handle |
![]() | |
ccf::kv::untyped::MapHandle & | read_handle |
![]() | |
ccf::kv::untyped::MapHandle & | write_handle |
Additional Inherited Members | |
![]() | |
using | KeyType = K |
Grants read and write access to a ccf::kv::Set
, as part of a ccf::kv::Tx
.
|
protected |
|
protected |
|
inline |
|
protected |