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:176
void foreach_state_and_writes(const ElementVisitorWithEarlyOut &fn, bool always_consider_writes)
Definition untyped_map_handle.cpp:45
ccf::kv::untyped::ChangeSet & tx_changes
Definition untyped_map_handle.h:32
bool has(const KeyType &key)
Definition untyped_map_handle.cpp:146
bool has_globally_committed(const KeyType &key)
Definition untyped_map_handle.cpp:155
void put(const KeyType &key, const ValueType &value)
Definition untyped_map_handle.cpp:161
void range(const ElementVisitor &fn, const std::optional< KeyType > &from, const std::optional< KeyType > &to)
Definition untyped_map_handle.cpp:201
std::optional< Version > get_version_of_previous_write(const KeyType &key)
Definition untyped_map_handle.cpp:112
std::optional< ValueType > get(const KeyType &key)
Definition untyped_map_handle.cpp:97
const ValueType * read_key(const KeyType &key)
Definition untyped_map_handle.cpp:11
std::optional< ValueType > get_globally_committed(const KeyType &key)
Definition untyped_map_handle.cpp:132
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:189
void remove(const KeyType &key)
Definition untyped_map_handle.cpp:169
std::string map_name
Definition untyped_map_handle.h:33
std::string get_name_of_map() const
Definition untyped_map_handle.cpp:92
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