Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions

Datahash Class Reference
[Datahash API]

Basic datahash object. More...

#include <datahash.h>

Inheritance diagram for Datahash:
Inheritance graph
[legend]
Collaboration diagram for Datahash:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void insert (const char *key, const hash_value_t &hv)
void insert (const std::string &key, const hash_value_t &hv)
 insert the given object at the given key value
void insert (const char *key, const char *value)
void insert (const char *key, smart_ptr< Datahash > &subHash)
int count (const char *key) const throw ()
void getIterator (iterator_t &i) const throw ()
void getIterator (const char *key, iterator_t &i) const throw ()
const hash_value_tgetNextElementUnsafe (iterator_t &i, std::string &key) const throw ()
const hash_value_tgetNextElementUnsafe (iterator_t &i) const throw ()

Static Public Member Functions

static smart_ptr< Datahashcreate (void)

Private Types

typedef threadsafe_multimap
< std::string, hash_value_t
base_map_t

Private Member Functions

threadsafe_multimap
< std::string, hash_value_t > * 
nonConst (void) const throw ()

Detailed Description

Basic datahash object.

A recursive hash structure that supports key/value access, where there are (in general) multiple values for a given key. Keys are either simple (a single value is a single string) or complex (a single value is itself another hash).

Definition at line 106 of file lib/datahash/datahash.h.


Member Typedef Documentation

typedef threadsafe_multimap<std::string, hash_value_t> Datahash::base_map_t [private]

Reimplemented from threadsafe_multimap< std::string, hash_value_t >.

Definition at line 108 of file lib/datahash/datahash.h.


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