|
CCF
|
#include <unit_value.h>
Inherits ccf::kv::GetName.
Public Types | |
| using | ReadOnlyHandle = ccf::kv::ReadableUnitValueHandle< Unit > |
| using | WriteOnlyHandle = ccf::kv::WriteableUnitValueHandle< Unit > |
| using | Handle = ccf::kv::UnitValueHandle< Unit > |
| using | Write = std::optional< ccf::kv::serialisers::SerialisedEntry > |
| using | MapHook = ccf::kv::MapHook< Write > |
| using | CommitHook = ccf::kv::CommitHook< Write > |
Public Member Functions | |
| GetName (std::string s) | |
Public Member Functions inherited from ccf::kv::GetName | |
| GetName (std::string s) | |
| virtual | ~GetName ()=default |
| const std::string & | get_name () const |
Static Public Member Functions | |
| static ccf::kv::serialisers::SerialisedEntry | create_unit () |
| static ccf::kv::untyped::CommitHook | wrap_commit_hook (const CommitHook &hook) |
| static ccf::kv::untyped::MapHook | wrap_map_hook (const MapHook &hook) |
Additional Inherited Members | |
Protected Attributes inherited from ccf::kv::GetName | |
| std::string | name |
Defines the schema of a touched-only type accessed by a ccf::Tx. This value is a container for an optional single marker indicating whether it has been touched.
This is implemented as a ccf::kv::Map from Unit to Unit, and the serialisation of the fixed key and value are overridable with the Unit template parameter.
| using ccf::kv::UnitValue< Unit >::CommitHook = ccf::kv::CommitHook<Write> |
| using ccf::kv::UnitValue< Unit >::Handle = ccf::kv::UnitValueHandle<Unit> |
| using ccf::kv::UnitValue< Unit >::MapHook = ccf::kv::MapHook<Write> |
| using ccf::kv::UnitValue< Unit >::ReadOnlyHandle = ccf::kv::ReadableUnitValueHandle<Unit> |
| using ccf::kv::UnitValue< Unit >::Write = std::optional<ccf::kv::serialisers::SerialisedEntry> |
| using ccf::kv::UnitValue< Unit >::WriteOnlyHandle = ccf::kv::WriteableUnitValueHandle<Unit> |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |