![]() |
Public API Reference |
#include <hashmap.h>
Public Methods | |
csHashSet (uint32 size=211) | |
Construct a new empty set. More... | |
void | Add (csHashObject object) |
Add an object to this set. More... | |
void | AddNoTest (csHashObject object) |
Add an object to this set. More... | |
bool | In (csHashObject object) |
Test if an object is in this set. More... | |
void | DeleteAll () |
Delete all elements in the set. More... | |
void | Delete (csHashObject object) |
Delete an object from the set. More... | |
csHashMap * | GetHashMap () |
Return the hash map for this hash set. More... |
You can basicly use this to test for the occurance of some object quickly.
Definition at line 287 of file hashmap.h.
|
Construct a new empty set. The given size will be given to the hasmap. |
|
Add an object to this set. This will do nothing is the object is already here. |
|
Add an object to this set. This function does not test if the object is already there. This is used for efficiency reasons. But use with care! |
|
Delete an object from the set. This function does nothing if the object is not in the set. |
|
Delete all elements in the set.
|
|
Return the hash map for this hash set.
|
|
Test if an object is in this set.
|