Ptex
|
Internal class used to provide iteration through the hash table. More...
#include <PtexHashMap.h>
Public Member Functions | |
iterator () | |
Default Constructor. More... | |
iterator (const iterator &iter) | |
Proper copy constructor implementation. More... | |
value_type | operator* () const |
Operator for obtaining the value that the iterator references. More... | |
iterator & | operator= (const iterator &iter) |
Proper assignment operator. More... | |
bool | operator== (const iterator &iter) const |
For comparing equality of iterators. More... | |
bool | operator!= (const iterator &iter) const |
For comparing inequality of iterators. More... | |
iterator & | operator++ (int) |
For advancing the iterator to the next element. More... | |
Private Attributes | |
Entry ** | e |
const PtexHashMap * | h |
int | b |
Friends | |
class | PtexHashMap |
Internal class used to provide iteration through the hash table.
Definition at line 102 of file PtexHashMap.h.
|
inline |
Default Constructor.
Definition at line 105 of file PtexHashMap.h.
|
inline |
Proper copy constructor implementation.
Definition at line 108 of file PtexHashMap.h.
|
inline |
For comparing inequality of iterators.
Definition at line 124 of file PtexHashMap.h.
References PtexHashMap< KeyType, DataType, HashFn >::iterator::e.
|
inline |
Operator for obtaining the value that the iterator references.
Definition at line 111 of file PtexHashMap.h.
References PtexHashMap< KeyType, DataType, HashFn >::iterator::e.
PtexHashMap< KeyType, DataType, HashFn >::iterator & PtexHashMap< KeyType, DataType, HashFn >::iterator::operator++ | ( | int | ) |
For advancing the iterator to the next element.
Definition at line 226 of file PtexHashMap.h.
References PtexHashMap< KeyType, DataType, HashFn >::_buckets, PtexHashMap< KeyType, DataType, HashFn >::_numBuckets, PtexHashMap< KeyType, DataType, HashFn >::iterator::b, PtexHashMap< KeyType, DataType, HashFn >::iterator::e, PtexHashMap< KeyType, DataType, HashFn >::iterator::h, and PtexHashMap< KeyType, DataType, HashFn >::Entry::next.
|
inline |
Proper assignment operator.
Definition at line 117 of file PtexHashMap.h.
References PtexHashMap< KeyType, DataType, HashFn >::iterator::b, PtexHashMap< KeyType, DataType, HashFn >::iterator::e, and PtexHashMap< KeyType, DataType, HashFn >::iterator::h.
|
inline |
For comparing equality of iterators.
Definition at line 122 of file PtexHashMap.h.
References PtexHashMap< KeyType, DataType, HashFn >::iterator::e.
|
friend |
Definition at line 129 of file PtexHashMap.h.
|
private |
Definition at line 132 of file PtexHashMap.h.
Referenced by PtexHashMap< KeyType, DataType, HashFn >::find(), PtexHashMap< KeyType, DataType, HashFn >::iterator::operator++(), and PtexHashMap< KeyType, DataType, HashFn >::iterator::operator=().
|
private |
Definition at line 130 of file PtexHashMap.h.
Referenced by PtexHashMap< KeyType, DataType, HashFn >::erase(), PtexHashMap< KeyType, DataType, HashFn >::find(), PtexHashMap< KeyType, DataType, HashFn >::iterator::operator!=(), PtexHashMap< KeyType, DataType, HashFn >::iterator::operator*(), PtexHashMap< KeyType, DataType, HashFn >::iterator::operator++(), PtexHashMap< KeyType, DataType, HashFn >::iterator::operator=(), and PtexHashMap< KeyType, DataType, HashFn >::iterator::operator==().
|
private |
Definition at line 131 of file PtexHashMap.h.
Referenced by PtexHashMap< KeyType, DataType, HashFn >::find(), PtexHashMap< KeyType, DataType, HashFn >::iterator::operator++(), and PtexHashMap< KeyType, DataType, HashFn >::iterator::operator=().