52 std::optional<ValueType>
get(
const KeyType& key);
75 const std::optional<KeyType>& from,
76 const std::optional<KeyType>& to);
Definition abstract_handle.h:8
Definition untyped_map_handle.h:18
void clear()
Definition untyped_map_handle.cpp:175
void foreach_state_and_writes(const ElementVisitorWithEarlyOut &fn, bool always_consider_writes)
Definition untyped_map_handle.cpp:44
ccf::kv::untyped::ChangeSet & tx_changes
Definition untyped_map_handle.h:32
bool has(const KeyType &key)
Definition untyped_map_handle.cpp:145
bool has_globally_committed(const KeyType &key)
Definition untyped_map_handle.cpp:154
void put(const KeyType &key, const ValueType &value)
Definition untyped_map_handle.cpp:160
void range(const ElementVisitor &fn, const std::optional< KeyType > &from, const std::optional< KeyType > &to)
Definition untyped_map_handle.cpp:200
std::optional< Version > get_version_of_previous_write(const KeyType &key)
Definition untyped_map_handle.cpp:111
std::optional< ValueType > get(const KeyType &key)
Definition untyped_map_handle.cpp:96
const ValueType * read_key(const KeyType &key)
Definition untyped_map_handle.cpp:10
std::optional< ValueType > get_globally_committed(const KeyType &key)
Definition untyped_map_handle.cpp:131
ccf::kv::serialisers::SerialisedEntry ValueType
Definition untyped_map_handle.h:23
std::function< bool(const KeyType &k, const ValueType &V)> ElementVisitorWithEarlyOut
Definition untyped_map_handle.h:29
std::function< void(const KeyType &k, const ValueType &V)> ElementVisitor
Definition untyped_map_handle.h:26
size_t size()
Definition untyped_map_handle.cpp:188
void remove(const KeyType &key)
Definition untyped_map_handle.cpp:168
std::string map_name
Definition untyped_map_handle.h:33
std::string get_name_of_map() const
Definition untyped_map_handle.cpp:91
ccf::kv::serialisers::SerialisedEntry KeyType
Definition untyped_map_handle.h:22
ccf::ByteVector SerialisedEntry
Definition serialised_entry.h:8
SerialisedEntry V
Definition untyped_change_set.h:23
Definition untyped_change_set.h:43