ConfigDB::PropertyConst Class Reference

Manages a key/value pair stored in an object, or a simple array value. More...

#include <Property.h>

Inheritance diagram for ConfigDB::PropertyConst:
Collaboration diagram for ConfigDB::PropertyConst:

Public Member Functions

 PropertyConst ()=default
 
 PropertyConst (const Store &store, const PropertyInfo &info, const PropertyData *data, const PropertyData *defaultData)
 Create a Property instance. More...
 
String getValue () const
 
 operator bool () const
 
String getJsonValue () const
 
const PropertyInfoinfo () const
 

Protected Attributes

const PropertyInfopropinfo {&PropertyInfo::empty}
 
const Storestore {}
 
const PropertyDatadata {}
 
const PropertyDatadefaultData {}
 

Detailed Description

Manages a key/value pair stored in an object, or a simple array value.

Constructor & Destructor Documentation

◆ PropertyConst() [1/2]

ConfigDB::PropertyConst::PropertyConst ( )
default

◆ PropertyConst() [2/2]

ConfigDB::PropertyConst::PropertyConst ( const Store store,
const PropertyInfo info,
const PropertyData data,
const PropertyData defaultData 
)
inline

Create a Property instance.

Parameters
infoProperty information
dataPointer to location where value is stored

Member Function Documentation

◆ getJsonValue()

String ConfigDB::PropertyConst::getJsonValue ( ) const

◆ getValue()

String ConfigDB::PropertyConst::getValue ( ) const

◆ info()

const PropertyInfo& ConfigDB::PropertyConst::info ( ) const
inline

◆ operator bool()

ConfigDB::PropertyConst::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ data

const PropertyData* ConfigDB::PropertyConst::data {}
protected

◆ defaultData

const PropertyData* ConfigDB::PropertyConst::defaultData {}
protected

◆ propinfo

const PropertyInfo* ConfigDB::PropertyConst::propinfo {&PropertyInfo::empty}
protected

◆ store

const Store* ConfigDB::PropertyConst::store {}
protected

The documentation for this class was generated from the following file: