FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

octree< Type >::const_iterator Class Reference

An STL const_iterator for octree. More...

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


Detailed Description

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

An STL const_iterator for octree.

Definition at line 426 of file octree.H.

Collaboration diagram for octree< Type >::const_iterator:

List of all members.

Public Member Functions

 const_iterator (const octree &)
 Construct for a given octree.
 const_iterator (const octree &, label)
 Construct for a given octree and index.
void  operator= (const const_iterator &)
bool  operator== (const const_iterator &) const
bool  operator!= (const const_iterator &) const
const treeLeaf< Type > &  operator* ()
const_iterator &  operator++ ()
const_iterator  operator++ (int)

Constructor & Destructor Documentation

const_iterator ( const octree &    )

Construct for a given octree.

const_iterator ( const octree &   ,
label    
)

Construct for a given octree and index.


Member Function Documentation

void operator= ( const const_iterator &   iter  )

Definition at line 806 of file octree.C.

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

bool operator== ( const const_iterator &   iter  ) const

Definition at line 826 of file octree.C.

bool operator!= ( const const_iterator &   iter  ) const

Definition at line 841 of file octree.C.

References Foam::operator==().

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

Definition at line 850 of file octree.C.

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

Definition at line 858 of file octree.C.

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

Definition at line 867 of file octree.C.


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