PropertyInfo.h
Go to the documentation of this file.
#define CONFIGDB_PROPERTY_TYPE_MAP(XX)
Property types with storage size.
Definition: PropertyInfo.h:31
String toString(ConfigDB::PropertyType type)
constexpr const ObjectType & as() const
Cast to a different object type.
Definition: ObjectBase.hpp:60
constexpr size_t length() const
Get the length of the object data in bytes.
Definition: ObjectBase.hpp:38
#define DEFINE_FSTR_LOCAL(name, str)
Like DEFINE_FSTR except reference is declared static constexpr.
Definition: String.hpp:84
XX(name, extensionStart, mime)
Definition: Array.h:26
uint16_t StringId
Defines contained string data using index into string pool.
Definition: PropertyInfo.h:60
Definition: PropertyInfo.h:76
const FSTR::Vector< FSTR::String > & getStrings() const
Definition: PropertyInfo.h:98
PropertyType type
The actual store type for this enum (String, etc.)
Definition: PropertyInfo.h:77
int find(const char *value, unsigned length) const
String getString(uint8_t index) const
Definition: ObjectInfo.h:38
Definition: PropertyInfo.h:122
Definition: PropertyInfo.h:113
int findObject(const char *name, unsigned length) const
Find named object information.
int findProperty(const char *name, unsigned length) const
Find named object information.
uint32_t offset
Location of property data in parent object, OR Alias property index.
Definition: PropertyInfo.h:148
const PropertyInfo & getObject(unsigned index) const
Get child object by index.
uint8_t getSize() const
Get number of bytes required to store this property value within a structure.
Definition: PropertyInfo.h:172
Definition: PropertyInfo.h:135
RangePtrTemplate< int64_t > int64
Definition: PropertyInfo.h:142
RangePtrTemplate< uint64_t > uint64
Definition: PropertyInfo.h:143
RangeTemplate< uint32_t > uint32
Definition: PropertyInfo.h:140
const FlashString * defaultString
Definition: PropertyInfo.h:136
RangeTemplate< const_number_t, number_t > number
Definition: PropertyInfo.h:141
1.9.1