Logo Search packages:      
Sourcecode: cadabra version File versions

exptree::index_iterator Class Reference

#include <storage.hh>

Inheritance diagram for exptree::index_iterator:

tree< T, tree_node_allocator >::iterator_base

List of all members.


Detailed Description

An iterator which iterates over indices even if they are at lower levels, i.e. taking into account the "Inherit" property of nodes.

Definition at line 173 of file storage.hh.


Public Types

typedef ptrdiff_t difference_type
typedef ptrdiff_t difference_type
typedef
std::bidirectional_iterator_tag 
iterator_category
typedef
std::bidirectional_iterator_tag 
iterator_category
typedef T * pointer
typedef T * pointer
typedef T & reference
typedef T & reference
typedef size_t size_type
typedef size_t size_type
typedef T value_type
typedef T value_type

Public Member Functions

sibling_iterator begin () const
sibling_iterator begin () const
sibling_iterator end () const
sibling_iterator end () const
 index_iterator (const index_iterator &)
unsigned int number_of_children () const
unsigned int number_of_children () const
 Number of children of the node pointed to by the iterator.
bool operator!= (const index_iterator &) const
T & operator* () const
T & operator* () const
index_iterator operator++ (int)
index_iteratoroperator++ ()
index_iteratoroperator+= (unsigned int)
virtual iterator_baseoperator-- ()=0
virtual iterator_baseoperator-= (unsigned int)=0
T * operator-> () const
T * operator-> () const
bool operator== (const index_iterator &) const
void skip_children ()
void skip_children (bool skip)
void skip_children ()
 When called, the next increment/decrement skips children of this node.

Static Public Member Functions

static index_iterator create (const iterator_base &)

Public Attributes

iterator halt
tree_nodenode
iterator roof
iterator walk

Protected Attributes

bool skip_current_children_

Private Member Functions

bool is_index (iterator) const

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

Generated by  Doxygen 1.6.0   Back to index