MOAB: Mesh Oriented datABase  (version 5.2.1)
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 680 of file Range.hpp.


Constructor & Destructor Documentation

Definition at line 683 of file Range.hpp.

: myNode( NULL ) {}

Definition at line 684 of file Range.hpp.

: myNode( node ) {}

Definition at line 685 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 728 of file Range.hpp.

References myNode.

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

Definition at line 687 of file Range.hpp.

References myNode.

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

Definition at line 703 of file Range.hpp.

References moab::Range::PairNode::mNext, and myNode.

Referenced by operator++().

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

Definition at line 716 of file Range.hpp.

References operator++().

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

Definition at line 697 of file Range.hpp.

References moab::Range::PairNode::mPrev, and myNode.

Referenced by operator--().

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

Definition at line 709 of file Range.hpp.

References operator--().

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

Definition at line 692 of file Range.hpp.

References myNode.

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

Definition at line 723 of file Range.hpp.

References myNode.

        {
            return other.myNode == myNode;
        }

Member Data Documentation

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