ConfigDB::EnumInfo Struct Reference

#include <PropertyInfo.h>

Collaboration diagram for ConfigDB::EnumInfo:

Public Member Functions

uint8_t getItemSize () const
 
unsigned length () const
 
String getString (uint8_t index) const
 
int find (const char *value, unsigned length) const
 
template<typename T >
const FSTR::Array< T > & getArray () const
 
const FSTR::Vector< FSTR::String > & getStrings () const
 
template<typename T >
getValue (uint8_t index) const
 

Public Attributes

PropertyType type
 The actual store type for this enum (String, etc.) More...
 
FSTR::ObjectBase values
 

Member Function Documentation

◆ find()

int ConfigDB::EnumInfo::find ( const char *  value,
unsigned  length 
) const

◆ getArray()

template<typename T >
const FSTR::Array<T>& ConfigDB::EnumInfo::getArray ( ) const
inline

◆ getItemSize()

uint8_t ConfigDB::EnumInfo::getItemSize ( ) const
inline

◆ getString()

String ConfigDB::EnumInfo::getString ( uint8_t  index) const

◆ getStrings()

const FSTR::Vector<FSTR::String>& ConfigDB::EnumInfo::getStrings ( ) const
inline

◆ getValue()

template<typename T >
T ConfigDB::EnumInfo::getValue ( uint8_t  index) const
inline

◆ length()

unsigned ConfigDB::EnumInfo::length ( void  ) const
inline

Member Data Documentation

◆ type

PropertyType ConfigDB::EnumInfo::type

The actual store type for this enum (String, etc.)

◆ values

FSTR::ObjectBase ConfigDB::EnumInfo::values

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