#include <storage.h>
Public Member Functions | |
| objects () | |
| Default constructor. | |
| void | set_val (const char *key, storage *val) |
| Associates an object to a key. | |
| storage * | get_val (const char *key) |
| Returns a storage associated to a key. | |
| void | erase (const char *key) |
| Erases a storage from it's key. | |
| storage * | next () |
| Returns the next storage in the object. | |
Classes | |
| struct | ltstr |
Definition at line 156 of file storage.h.
| void objects::set_val | ( | const char * | key, | |
| storage * | val | |||
| ) |
Associates an object to a key.
| key | key. | |
| val | storage associated to key. |
Definition at line 88 of file storage.cc.
| storage * objects::get_val | ( | const char * | key | ) |
Returns a storage associated to a key.
| key | key to return. |
Definition at line 114 of file storage.cc.
| void objects::erase | ( | const char * | key | ) |
Erases a storage from it's key.
| key | key to erase. |
Definition at line 139 of file storage.cc.
| storage * objects::next | ( | ) |
Returns the next storage in the object.
Definition at line 150 of file storage.cc.
1.5.6