24 int map(
const char* element, ...);
33 void set(
int id,
const char* name,
const T& value);
41 const char*
get(
int id,
const char* name);
72 int erase(
int id,
const char* name);
100 bool save(
int id,
const char* filename,
const char* option =
"xml");
108 const char*
tostring(
int id,
const char* option =
"xml");
const char * getkeybyid(int id, int num)
Direct key access operator.
void log(int id)
print all elements and value in log window
bool save(int id, const char *filename, const char *option="xml")
save all elements and value to file as xml or json
int erase(int id, const char *name)
Erases an element from the map. .
const char * tostring(int id, const char *option="xml")
save all elements and value to string buffer as xml or json
void set(int id, const char *name, const T &value)
int map()
Allocate new memory of map.
bool close(int id)
free memory of map
const char * get(int id, const char *name)
Direct const access operator.
int size(int id)
Get number of elements in the map.
void clear(int id)
Clears the map and deletes all allocated memory.
const char * getvaluebyid(int id, int num)
Direct value access operator.