tree< T, tree_node_allocator >::children_iterator Class Reference

Iterator which traverses only the nodes which are siblings of each other. More...

#include <tree_new.hh>

Inheritance diagram for tree< T, tree_node_allocator >::children_iterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 children_iterator (tree_node *)
 children_iterator ()
bool operator!= (const children_iterator &) const
children_iterator operator++ (int)
children_iteratoroperator++ ()
children_iteratoroperator+= (unsigned int)
children_iterator operator-- (int)
children_iteratoroperator-- ()
children_iteratoroperator-= (unsigned int)
bool operator== (const children_iterator &) const
tree_noderange_first () const
tree_noderange_last () const

Public Attributes

tree_nodeparent_

Private Member Functions

void set_parent_ ()

Detailed Description

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
class tree< T, tree_node_allocator >::children_iterator

Iterator which traverses only the nodes which are siblings of each other.

Definition at line 188 of file tree_new.hh.


Constructor & Destructor Documentation

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator::children_iterator (  )  [inline]

Definition at line 1406 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator::children_iterator ( tree_node tn  )  [inline]

Definition at line 1413 of file tree_new.hh.


Member Function Documentation

template<class T , class tree_node_allocator >
bool tree< T, tree_node_allocator >::children_iterator::operator!= ( const children_iterator other  )  const [inline]

Definition at line 1097 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator tree< T, tree_node_allocator >::children_iterator::operator++ ( int   )  [inline]

Definition at line 1448 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator & tree< T, tree_node_allocator >::children_iterator::operator++ (  )  [inline]

Definition at line 1429 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator & tree< T, tree_node_allocator >::children_iterator::operator+= ( unsigned int  num  )  [inline]

Definition at line 1464 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator tree< T, tree_node_allocator >::children_iterator::operator-- ( int   )  [inline]

Definition at line 1456 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator & tree< T, tree_node_allocator >::children_iterator::operator-- (  )  [inline]

Definition at line 1437 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::children_iterator & tree< T, tree_node_allocator >::children_iterator::operator-= ( unsigned int  num  )  [inline]

Definition at line 1474 of file tree_new.hh.

template<class T , class tree_node_allocator >
bool tree< T, tree_node_allocator >::children_iterator::operator== ( const children_iterator other  )  const [inline]

Definition at line 1104 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::tree_node * tree< T, tree_node_allocator >::children_iterator::range_first (  )  const [inline]

Definition at line 1484 of file tree_new.hh.

template<class T , class tree_node_allocator >
tree< T, tree_node_allocator >::tree_node * tree< T, tree_node_allocator >::children_iterator::range_last (  )  const [inline]

Definition at line 1491 of file tree_new.hh.

template<class T , class tree_node_allocator >
void tree< T, tree_node_allocator >::children_iterator::set_parent_ (  )  [inline, private]

Definition at line 1420 of file tree_new.hh.


Member Data Documentation

template<class T, class tree_node_allocator = std::allocator<tree_node_<T> >>
tree_node* tree< T, tree_node_allocator >::children_iterator::parent_

Definition at line 204 of file tree_new.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:58 2014