16 #ifndef ACSDK_PROPERTIESINTERFACES_PROPERTIESINTERFACE_H_ 17 #define ACSDK_PROPERTIESINTERFACES_PROPERTIESINTERFACE_H_ 20 #include <unordered_set> 24 namespace propertiesInterfaces {
41 typedef std::vector<unsigned char>
Bytes;
116 virtual
bool getKeys(
std::unordered_set<
std::
string>& keys) noexcept = 0;
136 virtual
bool clear() noexcept = 0;
142 #endif // ACSDK_PROPERTIESINTERFACES_PROPERTIESINTERFACE_H_ virtual bool getKeys(std::unordered_set< std::string > &keys) noexcept=0
Method to inspect existing properties.
virtual bool getString(const std::string &key, std::string &value) noexcept=0
Method to load string value from configuration.
Definition: CapabilityConfiguration.h:190
virtual bool putBytes(const std::string &key, const Bytes &value) noexcept=0
Method to store binary value into configuration.
This class provides an interface to a simple key/value container.
Definition: PropertiesInterface.h:37
std::vector< unsigned char > Bytes
Bytes data type. This data type represent a continuous byte array.
Definition: PropertiesInterface.h:41
virtual bool remove(const std::string &key) noexcept=0
Removes a property with a given name.
virtual ~PropertiesInterface() noexcept=default
Destructor.
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual bool putString(const std::string &key, const std::string &value) noexcept=0
Method to store string value into configuration.
const
Definition: upload.py:398
virtual bool clear() noexcept=0
Removes all properties from a configuration container.
virtual bool getBytes(const std::string &key, Bytes &value) noexcept=0
Method to load binary value from configuration.
default
Definition: upload.py:394
static const std::string key
The database key to be used by the protocol given the METADATA object.
Definition: SharedAVSSettingProtocolTest.cpp:58