#include <UniqueSetRaw.h>
Public Member Functions | |
~Entry (void) | |
void | clear (void) |
Entry< Elem > * | next (void) const |
int | isUsed (void) const |
Entry< Elem > * | removeSelf (void) |
Entry< Elem > & | operator= (const Elem &e) |
Entry< Elem > * | setNext (Entry< Elem > *e) |
Static Public Member Functions | |
static void | clearChain (Entry< Elem > *e) |
Public Attributes | |
Elem | obj |
Friends | |
class | UniqueSetRaw< Elem > |
class | EntryGlob< Elem > |
Definition at line 23 of file UniqueSetRaw.h.
Definition at line 38 of file UniqueSetRaw.h.
00038 { clear(); }
void Entry< Elem >::clear | ( | void | ) | [inline] |
Definition at line 40 of file UniqueSetRaw.h.
Referenced by Entry< ProxyElem >::clearChain(), Entry< ProxyElem >::removeSelf(), and Entry< ProxyElem >::~Entry().
00040 { 00041 if (used) obj.~Elem(); 00042 used = 0; 00043 }
Definition at line 49 of file UniqueSetRaw.h.
00049 { 00050 while(e) { 00051 Entry<Elem> *tmp = e->next(); 00052 e->clear(); 00053 e = tmp; 00054 } 00055 }
int Entry< Elem >::isUsed | ( | void | ) | const [inline] |
Definition at line 47 of file UniqueSetRaw.h.
Referenced by UniqueSetIter< T >::gotoUsed().
Definition at line 45 of file UniqueSetRaw.h.
Referenced by Entry< ProxyElem >::clearChain(), UniqueSetRaw< ProxyElem >::del(), UniqueSetRaw< ProxyElem >::find(), UniqueSetRaw< ProxyElem >::rehash(), and Entry< ProxyElem >::removeSelf().
Definition at line 65 of file UniqueSetRaw.h.
Definition at line 58 of file UniqueSetRaw.h.
Referenced by UniqueSetRaw< ProxyElem >::del().
00058 { 00059 Entry<Elem> *e = this->next(); 00060 clear(); 00061 return (e); 00062 }
Definition at line 74 of file UniqueSetRaw.h.
Referenced by UniqueSetRaw< ProxyElem >::add(), UniqueSetRaw< ProxyElem >::del(), and UniqueSetRaw< ProxyElem >::load().
friend class EntryGlob< Elem > [friend] |
Definition at line 26 of file UniqueSetRaw.h.
friend class UniqueSetRaw< Elem > [friend] |
Definition at line 25 of file UniqueSetRaw.h.
Definition at line 36 of file UniqueSetRaw.h.
Referenced by Entry< ProxyElem >::clear(), UniqueSetRaw< ProxyElem >::del(), UniqueSetRaw< ProxyElem >::find(), UniqueSetIter< T >::operator*(), UniqueSetIter< T >::operator->(), and Entry< ProxyElem >::operator=().