Lucene++ - a full-featured, c++ search engine
API Documentation
Helper class for keeping Lists of Objects associated with keys. More...
#include <MapOfSets.h>
Public Types | |
| typedef HashSet< SETVALUE, SETHASH, SETEQUAL > | set_type |
| typedef HashMap< MAPKEY, set_type, MAPHASH, MAPEQUAL > | map_type |
Public Member Functions | |
| MapOfSets (map_type m) | |
| map_type | getMap () |
| int32_t | put (MAPKEY key, SETVALUE val) |
| Adds val to the HashSet associated with key in the HashMap. If key is not already in the map, a new HashSet will first be created. | |
| int32_t | putAll (MAPKEY key, set_type vals) |
| Adds multiple vals to the HashSet associated with key in the HashMap. If key is not already in the map, a new HashSet will first be created. | |
Protected Attributes | |
| map_type | theMap |
Helper class for keeping Lists of Objects associated with keys.
| typedef HashMap<MAPKEY, set_type, MAPHASH, MAPEQUAL> Lucene::MapOfSets< MAPKEY, MAPHASH, MAPEQUAL, SETVALUE, SETHASH, SETEQUAL >::map_type |
| typedef HashSet<SETVALUE, SETHASH, SETEQUAL> Lucene::MapOfSets< MAPKEY, MAPHASH, MAPEQUAL, SETVALUE, SETHASH, SETEQUAL >::set_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |