| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Attributes
TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i > Class Template Reference

Iterators class for the tree. It is used to abstract walking on the tree. More...

`#include <TeRedBlackTree.h>`

List of all members.

## Public Member Functions

void | invalid (void)
| Makes iterator invalid.
Node_i * | getNode (void) const
| Returns node pointer.
| internal_iterator ()
| Constructor.
| internal_iterator (TeRBTree< Node_i > *tree, Node_i *n)
| Constructor.
virtual | ~internal_iterator ()
| Destructor.
Node_i::TeRedBlackNodeData * | operator-> () const
| Dereference operator.
Node_i::TeRedBlackNodeData & | operator* () const
| Dereference operator.
internal_iterator & | operator++ ()
| Operator ++ pre-fixed.
internal_iterator | operator++ (int)
| Operator ++ pos-fixed.
internal_iterator & | operator-- ()
| Operator -- pre-fixed.
internal_iterator | operator-- (int)
| Operator -- pos-fixed.
bool | operator== (const internal_iterator &other) const
| Operator ==.
bool | operator!= (const internal_iterator &other) const
| Operator !=.

## Protected Attributes

TeRBTree< Node_i > * | tree_
| Pointer to the tree.
Node_i * | node_
| Pointer to the node.

## Detailed Description

### template<class NODE>
template<class Node_i>
class TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >

Iterators class for the tree. It is used to abstract walking on the tree.

## Constructor & Destructor Documentation

template<class NODE>
template<class Node_i >

TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::internal_iterator | ( |  | ) | `[inline]`

Constructor.

template<class NODE>
template<class Node_i >

TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::internal_iterator | ( | TeRBTree< Node_i > * | tree,
|  | Node_i * | n
| ) |  | `[inline]`

Constructor.

template<class NODE>
template<class Node_i >

virtual TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::~internal_iterator | ( |  | ) | `[inline, virtual]`

Destructor.

## Member Function Documentation

template<class NODE>
template<class Node_i >

Node_i* TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::getNode | ( | void |  | ) | const`[inline]`

Returns node pointer.

template<class NODE>
template<class Node_i >

void TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::invalid | ( | void |  | ) | `[inline]`

Makes iterator invalid.

template<class NODE>
template<class Node_i >

bool TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator!= | ( | const internal_iterator< Node_i > & | other | ) | const`[inline]`

Operator !=.

template<class NODE>
template<class Node_i >

Node_i::TeRedBlackNodeData& TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator* | ( |  | ) | const`[inline]`

Dereference operator.

template<class NODE>
template<class Node_i >

internal_iterator& TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator++ | ( |  | ) | `[inline]`

Operator ++ pre-fixed.

template<class NODE>
template<class Node_i >

internal_iterator TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator++ | ( | int |  | ) | `[inline]`

Operator ++ pos-fixed.

template<class NODE>
template<class Node_i >

internal_iterator& TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator-- | ( |  | ) | `[inline]`

Operator -- pre-fixed.

template<class NODE>
template<class Node_i >

internal_iterator TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator-- | ( | int |  | ) | `[inline]`

Operator -- pos-fixed.

template<class NODE>
template<class Node_i >

Node_i::TeRedBlackNodeData* TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator-> | ( |  | ) | const`[inline]`

Dereference operator.

template<class NODE>
template<class Node_i >

bool TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::operator== | ( | const internal_iterator< Node_i > & | other | ) | const`[inline]`

Operator ==.

## Member Data Documentation

template<class NODE>
template<class Node_i >

Node_i* TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::node_`[protected]`

Pointer to the node.

template<class NODE>
template<class Node_i >

TeRBTree<Node_i>* TeREDBLACK::TeRBTree< NODE >::internal_iterator< Node_i >::tree_`[protected]`

Pointer to the tree.

The documentation for this class was generated from the following file:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeRedBlackTree.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines