#include <map.hpp>
|
| | Map () |
| |
| | Map (size_t size, int auto_resize_f) |
| |
| virtual | ~Map () |
| |
| size_t | size () |
| |
| void | mapClear () |
| |
| void * | getFirst (size_t *data_length) |
| |
| void * | add (const uint8_t *key, size_t key_length, const uint8_t *data, size_t data_length) |
| |
| void * | add (const std::string &key, const std::string &data) |
| |
| template<typename D > |
| void * | add (const std::string &key, const D &data) |
| |
| template<typename K , typename D > |
| void * | add (const K &key, const D &data) |
| |
| void * | get (const uint8_t *key, size_t key_length, size_t *data_length) |
| |
| void * | get (const std::string &key, size_t *data_length) |
| |
| template<typename K > |
| void * | get (const K &key, size_t *data_length) |
| |
| int | del (const uint8_t *key, size_t key_length) |
| |
| int | del (const std::string &key) |
| |
| template<typename K > |
| int | del (const K &key) |
| |
| teoMapIterator * | iterator () |
| |
| teoMapIterator * | iteratorReverse () |
| |
| teoMapElementData * | iteratorNext (teoMapIterator *it) |
| |
| teoMapElementData * | iterator_prev (teoMapIterator *it) |
| |
| int | iteratorFree (teoMapIterator *it) |
| |
| teoMapElementData * | mapItEl (teoMapIterator *it) |
| |
| template<typename D > |
| D * | mapItElKey (teoMapElementData *el, size_t *key_length=NULL) |
| |
| template<typename D > |
| D * | mapItElData (teoMapElementData *el, size_t *data_length=NULL) |
| |
| int | foreach (teoMapForeachFunction callback, void *user_data=NULL) |
| |
| teo::Map::Map |
( |
size_t |
size, |
|
|
int |
auto_resize_f |
|
) |
| |
|
inline |
| virtual teo::Map::~Map |
( |
| ) |
|
|
inlinevirtual |
| void* teo::Map::add |
( |
const uint8_t * |
key, |
|
|
size_t |
key_length, |
|
|
const uint8_t * |
data, |
|
|
size_t |
data_length |
|
) |
| |
|
inline |
| void* teo::Map::add |
( |
const std::string & |
key, |
|
|
const std::string & |
data |
|
) |
| |
|
inline |
template<typename D >
| void* teo::Map::add |
( |
const std::string & |
key, |
|
|
const D & |
data |
|
) |
| |
|
inline |
template<typename K , typename D >
| void* teo::Map::add |
( |
const K & |
key, |
|
|
const D & |
data |
|
) |
| |
|
inline |
| int teo::Map::del |
( |
const uint8_t * |
key, |
|
|
size_t |
key_length |
|
) |
| |
|
inline |
| int teo::Map::del |
( |
const std::string & |
key | ) |
|
|
inline |
template<typename K >
| int teo::Map::del |
( |
const K & |
key | ) |
|
|
inline |
| void* teo::Map::get |
( |
const uint8_t * |
key, |
|
|
size_t |
key_length, |
|
|
size_t * |
data_length |
|
) |
| |
|
inline |
| void* teo::Map::get |
( |
const std::string & |
key, |
|
|
size_t * |
data_length |
|
) |
| |
|
inline |
template<typename K >
| void* teo::Map::get |
( |
const K & |
key, |
|
|
size_t * |
data_length |
|
) |
| |
|
inline |
| void* teo::Map::getFirst |
( |
size_t * |
data_length | ) |
|
|
inline |
| void teo::Map::mapClear |
( |
| ) |
|
|
inline |
| size_t teo::Map::size |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: