Lolly 1.4.28
|
Go to the source code of this file.
Classes | |
class | hashset_rep< T > |
The hashset_rep class represents an entry in a hash set. More... | |
class | hashset< T > |
The hashset class represents a hash set. More... | |
Functions | |
template<class T > | |
int | N (hashset< T > h) |
Get the number of entries in a hash set. | |
template<class T > | |
tm_ostream & | operator<< (tm_ostream &out, hashset< T > h) |
template<class T > | |
bool | operator<= (hashset< T > h1, hashset< T > h2) |
Less-than-or-equal-to comparison operator for hash sets. | |
template<class T > | |
hashset< T > | copy (hashset< T > h) |
CONCRETE_TEMPLATE_CODE (hashset, class, T) | |
template<class T > | |
bool | operator== (hashset< T > h1, hashset< T > h2) |
Equality comparison operator for hash sets. | |
template<class T > | |
bool | operator< (hashset< T > h1, hashset< T > h2) |
Less-than comparison operator for hash sets. | |
template<class T > | |
hashset< T > & | operator<< (hashset< T > &h, T x) |
Insert an item into a hash set. | |
Get the number of entries in a hash set.
T | The type of the data stored in the hash set. |
h | The hash set to query. |
Definition at line 95 of file hashset.hpp.
tm_ostream & operator<< | ( | tm_ostream & | out, |
hashset< T > | h ) |
Definition at line 112 of file hashset.ipp.
Less-than-or-equal-to comparison operator for hash sets.
T | The type of the data stored in the hash sets. |
h1 | The first hash set to be compared. |
h2 | The second hash set to be compared. |
Definition at line 87 of file hashset.ipp.
Definition at line 77 of file hashset.ipp.
Equality comparison operator for hash sets.
T | The type of the data stored in the hash sets. |
h1 | The first hash set to be compared. |
h2 | The second hash set to be compared. |
Definition at line 107 of file hashset.ipp.
Less-than comparison operator for hash sets.
T | The type of the data stored in the hash sets. |
h1 | The first hash set to be compared. |
h2 | The second hash set to be compared. |
Definition at line 100 of file hashset.ipp.
Insert an item into a hash set.
T | The type of the data stored in the hash set * |
h | The hash set to insert into. |
x | The item to insert. |
Definition at line 112 of file hashset.ipp.