mace::hash_set< Key, Serial, HashFcn, EqualKey, Alloc > Class Template Reference
[Collections]

#include <mhash_set.h>

Inheritance diagram for mace::hash_set< Key, Serial, HashFcn, EqualKey, Alloc >:

Inheritance graph
[legend]
Collaboration diagram for mace::hash_set< Key, Serial, HashFcn, EqualKey, Alloc >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class Key, class Serial = SerializeSet<Key>, class HashFcn = __gnu_cxx::hash<Key>, class EqualKey = std::equal_to<Key>, class Alloc = std::allocator<Key>>
class mace::hash_set< Key, Serial, HashFcn, EqualKey, Alloc >

mace::hash_set extends std::hash_set, adds printability and optional serialization, contains, and random

For most documentation, you should refer to the SGI STL documentation http://www.sgi.com/tech/stl

Definition at line 69 of file mhash_set.h.


Public Member Functions

void clear ()
 removes all elements of the set
bool contains (const Key &k) const
 returns true if the set contains element k
const_iterator random () const
 returns a random element of the set, or end() if empty
const std::string & getTypeName () const
 Return the template parameter string Key->Data for actual template parameters. (Mace extension).

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

Generated on Sat Oct 4 21:30:40 2008 for Mace Library by  doxygen 1.5.5