FreeFOAM The Cross-Platform CFD Toolkit
octree< Type >::iterator Class Reference

An STL iterator for octree. More...

#include <src/meshTools/octree/octree.H>


Detailed Description

template<class Type>
class Foam::octree< Type >::iterator

An STL iterator for octree.

Definition at line 378 of file octree.H.

List of all members.

Public Member Functions

 iterator (octree &)
 Construct for a given octree.
 iterator (octree &oc, const label index)
 Contruct for a given octree, at a certain position.
void operator= (const iterator &)
bool operator== (const iterator &) const
bool operator!= (const iterator &) const
treeLeaf< Type > & operator* ()
iteratoroperator++ ()
iterator operator++ (int)

Constructor & Destructor Documentation

iterator ( octree )

Construct for a given octree.

iterator ( octree oc,
const label  index 
)

Contruct for a given octree, at a certain position.


Member Function Documentation

void operator= ( const iterator iter)

Definition at line 681 of file octree.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorIn.

bool operator== ( const iterator iter) const

Definition at line 699 of file octree.C.

References octree< Type >::nLeaves().

bool operator!= ( const iterator iter) const

Definition at line 711 of file octree.C.

References Foam::operator==().

Foam::treeLeaf< Type > & operator* ( )

Definition at line 718 of file octree.C.

Foam::octree< Type >::iterator & operator++ ( )

Definition at line 726 of file octree.C.

Foam::octree< Type >::iterator operator++ ( int  )

Definition at line 735 of file octree.C.


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