Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
moab::Range::const_pair_iterator Class Reference

#include <Range.hpp>

+ Collaboration diagram for moab::Range::const_pair_iterator:

Public Member Functions

 const_pair_iterator ()
 const_pair_iterator (const PairNode *node)
 const_pair_iterator (const const_iterator &i)
const PairNodeoperator* () const
const PairNodeoperator-> () const
const_pair_iteratoroperator-- ()
const_pair_iteratoroperator++ ()
const_pair_iterator operator-- (int)
const_pair_iterator operator++ (int)
bool operator== (const const_pair_iterator &other) const
bool operator!= (const const_pair_iterator &other) const

Private Attributes

const PairNodemyNode

Detailed Description

Definition at line 682 of file Range.hpp.


Constructor & Destructor Documentation

Definition at line 685 of file Range.hpp.

: myNode( NULL ) {}

Definition at line 686 of file Range.hpp.

: myNode( node ) {}

Definition at line 687 of file Range.hpp.

: myNode( i.mNode ) {}

Member Function Documentation

bool moab::Range::const_pair_iterator::operator!= ( const const_pair_iterator other) const [inline]

Definition at line 730 of file Range.hpp.

References myNode.

        {
            return other.myNode != myNode;
        }
const PairNode& moab::Range::const_pair_iterator::operator* ( ) const [inline]

Definition at line 689 of file Range.hpp.

        {
            return *myNode;
        }
const_pair_iterator& moab::Range::const_pair_iterator::operator++ ( ) [inline]

Definition at line 705 of file Range.hpp.

        {
            myNode = myNode->mNext;
            return *this;
        }
const_pair_iterator moab::Range::const_pair_iterator::operator++ ( int  ) [inline]

Definition at line 718 of file Range.hpp.

References moab::operator++().

        {
            const_pair_iterator rval( *this );
            this->operator++();
            return rval;
        }
const_pair_iterator& moab::Range::const_pair_iterator::operator-- ( ) [inline]

Definition at line 699 of file Range.hpp.

References moab::Range::PairNode::mPrev.

        {
            myNode = myNode->mPrev;
            return *this;
        }
const_pair_iterator moab::Range::const_pair_iterator::operator-- ( int  ) [inline]

Definition at line 711 of file Range.hpp.

        {
            const_pair_iterator rval( *this );
            this->operator--();
            return rval;
        }
const PairNode* moab::Range::const_pair_iterator::operator-> ( ) const [inline]

Definition at line 694 of file Range.hpp.

        {
            return myNode;
        }
bool moab::Range::const_pair_iterator::operator== ( const const_pair_iterator other) const [inline]

Definition at line 725 of file Range.hpp.

References myNode.

        {
            return other.myNode == myNode;
        }

Member Data Documentation

Definition at line 736 of file Range.hpp.

Referenced by operator!=(), and operator==().

List of all members.


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