Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
TemplateVariables Class Reference

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

#include <DataSourceStream.h>

Inheritance diagram for TemplateVariables:
HashMap< String, String >

Public Types

typedef bool(* comparator) (String, String)
 

Public Member Functions

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

Protected Attributes

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

Detailed Description

Template variable (hash map) class.

See also
Wiring HashMap