Template variable (hash map) class. More...

#include <TemplateStream.h>

Inheritance diagram for TemplateVariables:
[legend]
Collaboration diagram for TemplateVariables:
[legend]

Public Types

typedef bool(* comparator) (const String &, const String &)
 

Public Member Functions

unsigned int count () const
 
const StringkeyAt (unsigned int idx) const
 
StringkeyAt (unsigned int idx)
 
const StringvalueAt (unsigned int idx) const
 
StringvalueAt (unsigned int idx)
 
const Stringoperator[] (const String &key) const
 
Stringoperator[] (const String &key)
 
void allocate (unsigned int newSize)
 
int indexOf (const String &key) const
 
bool contains (const String &key) const
 
void removeAt (unsigned index)
 
void remove (const String &key)
 
void clear ()
 
void setMultiple (const HashMap< String, String > &map)
 
void setNullValue (const String &nullv)
 

Protected Attributes

String ** keys
 
String ** values
 
String nil
 
uint16_t currentIndex
 
uint16_t size
 
comparator cb_comparator
 

Detailed Description

Template variable (hash map) class.

See also
Wiring HashMap

Member Typedef Documentation

◆ comparator

typedef bool(* HashMap< String , String >::comparator) (const String &, const String &)
inherited

Member Function Documentation

◆ allocate()

void HashMap< String , String >::allocate ( unsigned int  newSize)
inherited

◆ clear()

void HashMap< String , String >::clear ( void  )
inherited

◆ contains()

bool HashMap< String , String >::contains ( const String key) const
inlineinherited

◆ count()

unsigned int HashMap< String , String >::count ( ) const
inlineinherited

◆ indexOf()

int HashMap< String , String >::indexOf ( const String key) const
inherited

◆ keyAt() [1/2]

const String & HashMap< String , String >::keyAt ( unsigned int  idx) const
inlineinherited

◆ keyAt() [2/2]

String & HashMap< String , String >::keyAt ( unsigned int  idx)
inlineinherited

◆ operator[]() [1/2]

const String & HashMap< String , String >::operator[] ( const String key) const
inlineinherited

◆ operator[]() [2/2]

String & HashMap< String , String >::operator[] ( const String key)
inherited

◆ remove()

void HashMap< String , String >::remove ( const String key)
inlineinherited

◆ removeAt()

void HashMap< String , String >::removeAt ( unsigned  index)
inherited

◆ setMultiple()

void HashMap< String , String >::setMultiple ( const HashMap< String , String > &  map)
inherited

◆ setNullValue()

void HashMap< String , String >::setNullValue ( const String nullv)
inlineinherited

◆ valueAt() [1/2]

const String & HashMap< String , String >::valueAt ( unsigned int  idx) const
inlineinherited

◆ valueAt() [2/2]

String & HashMap< String , String >::valueAt ( unsigned int  idx)
inlineinherited

Member Data Documentation

◆ cb_comparator

comparator HashMap< String , String >::cb_comparator
protectedinherited

◆ currentIndex

uint16_t HashMap< String , String >::currentIndex
protectedinherited

◆ keys

String ** HashMap< String , String >::keys
protectedinherited

◆ nil

String HashMap< String , String >::nil
protectedinherited

◆ size

uint16_t HashMap< String , String >::size
protectedinherited

◆ values

String ** HashMap< String , String >::values
protectedinherited

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