#include <PSet.hpp>
Inheritance diagram for PSet:

Public Methods | |
| PSet () | |
| PSet (const int maxSize_p) | |
| ~PSet () | |
| const int | size ()const |
| const int | maxsize ()const |
| void | open (const int maxSize_p) |
| void | close () |
| void | clear () |
| int | add (const ObjType &u) |
| int | remove (const ObjType &u) |
| int | operator+= (const ObjType &u) |
| int | operator-= (const ObjType &u) |
| const ObjType& | operator[] (const int idx)const |
| int | operator[] (const ObjType &u)const |
Protected Methods | |
| SET_NODE* | internalAdd (const ObjType &u) |
| int | internalRemove (const ObjType &u) |
| long | smallestPrimeGreaterThan (const int n) |
| int | computeHash (const ObjType &u)const |
| SET_NODE* | createNode (const ObjType &u) |
| void | deleteNode (SET_NODE *node) |
Protected Attributes | |
| int | currentSize |
| int | maxSize |
| int | hashTableSize |
| SET_NODE** | hashTable |
| int | setNodeSize |
|
||||
|
|
|
||||
|
|
|
||||
|
|
|
||||
|
Reimplemented in ISet. |
|
||||
|
|
|
||||
|
|
|
||||
|
|
|
||||
|
|
|
||||
|
|
|
||||
|
|
|
||||
|
Reimplemented in ISet. |
|
||||
|
|
|
||||
|
|
|
||||
|
|
|
||||
|
|
|
||||
|
Reimplemented in ISet. |
|
||||
|
Reimplemented in ISet. |
|
||||
|
|
|
||||
|
Reimplemented in ISet. |
|
||||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000