Property.h
Go to the documentation of this file.
90 Property(const Store& store, const PropertyInfo& info, const PropertyData* data, const PropertyData* defaultData)
Read-only access to a key/value pair stored in an object, or a simple array value.
Definition: Property.h:32
PropertyConst(const Store &store, const PropertyInfo &info, const PropertyData *data)
Create a PropertyConst instance.
Definition: Property.h:41
PropertyConst()=default
const PropertyInfo & info() const
Access property type information.
Definition: Property.h:65
String getJsonValue() const
Get property value as a valid JSON string.
Adds write access for a key/value pair stored in an object, or a simple array value.
Definition: Property.h:80
bool setJsonValue(const char *value, size_t valueLength)
Set property value given its JSON string representation.
Property()=default
Property(const Store &store, const PropertyInfo &info, const PropertyData *data, const PropertyData *defaultData)
Create a Property instance.
Definition: Property.h:90
Manages access to an object store, typically one file.
Definition: ConfigDB/src/include/ConfigDB/Store.h:43
const char * c_str() const
Get a constant (un-modifiable) pointer to String content.
Definition: WString.h:609
size_t length(void) const
Obtain the String length in characters, excluding NUL terminator.
Definition: WString.h:238
Definition: Array.h:26
Definition: PropertyData.h:44
1.9.1