Ptex
|
Internal class used to provide iteration through the dictionary. More...
#include <PtexDict.h>
Public Member Functions | |
const_iterator () | |
Default Constructor. More... | |
const_iterator (const const_iterator &iter) | |
Proper copy constructor implementation for const_iterator. More... | |
const_iterator (const iterator &iter) | |
Conversion constructor for iterator. More... | |
const_iterator & | operator= (const const_iterator &iter) |
Proper assignment operator for const_iterator. More... | |
const_iterator & | operator= (iterator &iter) |
Proper assignment operator for iterator. More... | |
const value_type & | operator* () const |
Operator for obtaining the value that the const_iterator references. More... | |
const value_type * | operator-> () const |
Pointer reference operator. More... | |
operator bool () | |
For determining whether or not an iterator is valid. 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... | |
bool | operator== (const const_iterator &iter) const |
For comparing equality of const_iterators. More... | |
bool | operator!= (const const_iterator &iter) const |
For comparing inequality of iterators. More... | |
const_iterator & | operator++ (int) |
For advancing the iterator to the next element. More... | |
Private Member Functions | |
const_iterator (Entry **e, const PtexDict *d, int b) | |
Constructor Helper for inline creation. More... | |
const value_type & | getValue () const |
simple helper function for retrieving the value from the Entry More... | |
Private Attributes | |
const PtexDict * | _d |
dictionary back reference More... | |
Entry ** | _e |
pointer to entry in table this iterator refs More... | |
int | _b |
bucket number this references More... | |
Static Private Attributes | |
static value_type | _defaultVal |
Default value. More... | |
Friends | |
class | PtexDict |
class | iterator |
Internal class used to provide iteration through the dictionary.
This works on const data types, and provides const safe access. This class can also be created from a PtexDict::iterator class instance.
Definition at line 377 of file PtexDict.h.
|
inline |
Default Constructor.
Definition at line 380 of file PtexDict.h.
|
inline |
Proper copy constructor implementation for const_iterator.
Definition at line 383 of file PtexDict.h.
Conversion constructor for iterator.
Definition at line 386 of file PtexDict.h.
|
inlineprivate |
Constructor Helper for inline creation.
Definition at line 421 of file PtexDict.h.
|
inlineprivate |
simple helper function for retrieving the value from the Entry
Definition at line 424 of file PtexDict.h.
|
inline |
For determining whether or not an iterator is valid.
Definition at line 401 of file PtexDict.h.
|
inline |
For comparing inequality of iterators.
Definition at line 407 of file PtexDict.h.
References PtexDict< T >::iterator::_e.
|
inline |
For comparing inequality of iterators.
Definition at line 413 of file PtexDict.h.
References PtexDict< T >::const_iterator::_e.
|
inline |
Operator for obtaining the value that the const_iterator references.
Definition at line 396 of file PtexDict.h.
PtexDict< T >::const_iterator & PtexDict< T >::const_iterator::operator++ | ( | int | ) |
For advancing the iterator to the next element.
Definition at line 460 of file PtexDict.h.
|
inline |
Pointer reference operator.
Definition at line 398 of file PtexDict.h.
|
inline |
Proper assignment operator for const_iterator.
Definition at line 389 of file PtexDict.h.
References PtexDict< T >::const_iterator::_b, PtexDict< T >::const_iterator::_d, and PtexDict< T >::const_iterator::_e.
|
inline |
Proper assignment operator for iterator.
Definition at line 392 of file PtexDict.h.
References PtexDict< T >::iterator::_b, PtexDict< T >::iterator::_d, and PtexDict< T >::iterator::_e.
|
inline |
For comparing equality of iterators.
Definition at line 404 of file PtexDict.h.
References PtexDict< T >::iterator::_e.
|
inline |
For comparing equality of const_iterators.
Definition at line 410 of file PtexDict.h.
References PtexDict< T >::const_iterator::_e.
|
friend |
Definition at line 430 of file PtexDict.h.
|
friend |
Definition at line 429 of file PtexDict.h.
|
private |
bucket number this references
Definition at line 433 of file PtexDict.h.
Referenced by PtexDict< T >::const_iterator::operator=().
dictionary back reference
Definition at line 431 of file PtexDict.h.
Referenced by PtexDict< T >::const_iterator::operator=().
|
staticprivate |
Default value.
Definition at line 435 of file PtexDict.h.
pointer to entry in table this iterator refs
Definition at line 432 of file PtexDict.h.
Referenced by PtexDict< T >::iterator::operator!=(), PtexDict< T >::const_iterator::operator!=(), PtexDict< T >::const_iterator::operator=(), PtexDict< T >::iterator::operator==(), and PtexDict< T >::const_iterator::operator==().