32 : key(key), value(value) {}
37 : key(
""), value(
"") {}
44 void setValue(
const std::string &newValue) { value = newValue; }
51 const std::string &
getKey()
const {
return key; }
58 const std::string &
getValue()
const {
return value; }
67 return sizeof(std::string) * 2 +
void setValue(const std::string &newValue)
Set the Value object.
Definition key_value.hpp:44
KeyValuePair(const std::string &key, const std::string &value)
Construct a new Key Value Pair object.
Definition key_value.hpp:31
const std::string & getValue() const
Get the Value object.
Definition key_value.hpp:58
size_t size() const
Get the Size of the Key Value Pair object.
Definition key_value.hpp:66
const std::string & getKey() const
Get the Key object.
Definition key_value.hpp:51