ug4
|
this iterator is used by the ntree class to provide access to the elements of a given node More...
#include <ntree_iterator.h>
Public Types | |
typedef size_t | difference_type |
typedef std::forward_iterator_tag | iterator_category |
typedef elem_t * | pointer |
typedef value_type & | reference |
typedef const_ntree_element_iterator | this_type |
typedef elem_t | value_type |
Public Member Functions | |
const_ntree_element_iterator () | |
const_ntree_element_iterator (const entry_t *entries, size_t entryInd) | |
bool | operator!= (const this_type &iter) const |
value_type | operator* () const |
this_type | operator++ () |
this_type | operator++ (int unused) |
bool | operator== (const this_type &iter) const |
Private Member Functions | |
bool | equal (const this_type &other) const |
void | increment () |
Private Attributes | |
const entry_t * | m_entries |
size_t | m_entryInd |
Static Private Attributes | |
static const size_t | s_invalidIndex = -1 |
marks an index as invalid More... | |
this iterator is used by the ntree class to provide access to the elements of a given node
typedef size_t ug::const_ntree_element_iterator< elem_t, entry_t >::difference_type |
typedef std::forward_iterator_tag ug::const_ntree_element_iterator< elem_t, entry_t >::iterator_category |
typedef elem_t* ug::const_ntree_element_iterator< elem_t, entry_t >::pointer |
typedef value_type& ug::const_ntree_element_iterator< elem_t, entry_t >::reference |
typedef const_ntree_element_iterator ug::const_ntree_element_iterator< elem_t, entry_t >::this_type |
typedef elem_t ug::const_ntree_element_iterator< elem_t, entry_t >::value_type |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
staticprivate |
marks an index as invalid
Referenced by ug::const_ntree_element_iterator< elem_t, entry_t >::increment(), and ug::const_ntree_element_iterator< elem_t, entry_t >::operator*().