|
CCF
|
#include <value_handle.h>
Inherits ccf::kv::AbstractHandle, ccf::kv::ReadableValueHandle< V, VSerialiser, Unit >, and ccf::kv::WriteableValueHandle< V, VSerialiser, Unit >.
Public Member Functions | |
| ValueHandle (ccf::kv::untyped::ChangeSet &changes, const std::string &map_name) | |
Public Member Functions inherited from ccf::kv::AbstractHandle | |
| virtual | ~AbstractHandle ()=default |
Public Member Functions inherited from ccf::kv::ReadableValueHandle< V, VSerialiser, Unit > | |
| ReadableValueHandle (ccf::kv::untyped::MapHandle &uh) | |
| std::optional< V > | get () |
| std::optional< V > | get_globally_committed () |
| bool | has () |
| std::optional< Version > | get_version_of_previous_write () |
Public Member Functions inherited from ccf::kv::WriteableValueHandle< V, VSerialiser, Unit > | |
| WriteableValueHandle (ccf::kv::untyped::MapHandle &uh) | |
| void | put (const V &value) |
| void | clear () |
Protected Types | |
| using | ReadableBase = ReadableValueHandle< V, VSerialiser, Unit > |
| using | WriteableBase = WriteableValueHandle< V, VSerialiser, Unit > |
Protected Attributes | |
| ccf::kv::untyped::MapHandle | untyped_handle |
Protected Attributes inherited from ccf::kv::ReadableValueHandle< V, VSerialiser, Unit > | |
| ccf::kv::untyped::MapHandle & | read_handle |
Protected Attributes inherited from ccf::kv::WriteableValueHandle< V, VSerialiser, Unit > | |
| ccf::kv::untyped::MapHandle & | write_handle |
Additional Inherited Members | |
Public Types inherited from ccf::kv::ReadableValueHandle< V, VSerialiser, Unit > | |
| using | ValueType = V |
Grants read and write access to a ccf::kv::Value, as part of a ccf::kv::Tx.
|
protected |
|
protected |
|
inline |
|
protected |