3 #include <swarmio/data/Variant.pb.h> 4 #include <swarmio/data/discovery/Schema.pb.h> 21 virtual data::Variant Get(
const std::string& path) = 0;
28 virtual void Set(
const std::string& path,
const data::Variant& value) = 0;
35 virtual data::discovery::Field GetFieldDescriptor(
const std::string& path)
const = 0;
42 virtual bool CanRead(
const std::string& path)
const noexcept
52 virtual bool CanWrite(
const std::string& path)
const noexcept
virtual bool CanWrite(const std::string &path) const noexcept
Determines whether the value can be written.
Abstract base class for registered keys.
virtual bool CanRead(const std::string &path) const noexcept
Determines whether the value can be read.