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

used to iterate over sub-ranges of a range More...

#include <Range.hpp>

+ Inheritance diagram for moab::Range::pair_iterator:
+ Collaboration diagram for moab::Range::pair_iterator:

Public Member Functions

 pair_iterator ()
 pair_iterator (PairNode *nodep)
 pair_iterator (const pair_iterator &copy)
 pair_iterator (const const_iterator &copy)
std::pair< EntityHandle,
EntityHandle > * 
operator-> ()
pair_iteratoroperator++ ()
pair_iterator operator++ (int)
pair_iteratoroperator-- ()
pair_iterator operator-- (int)
bool operator== (const pair_iterator &other) const
bool operator!= (const pair_iterator &other) const
PairNodenode ()

Private Attributes

PairNodemNode

Friends

class Range

Detailed Description

used to iterate over sub-ranges of a range

Definition at line 399 of file Range.hpp.


Constructor & Destructor Documentation

Definition at line 404 of file Range.hpp.

: mNode( NULL ) {}

Definition at line 405 of file Range.hpp.

: mNode( nodep ) {}

Definition at line 406 of file Range.hpp.

: mNode( copy.mNode ) {}

Definition at line 407 of file Range.hpp.

: mNode( copy.mNode ) {}

Member Function Documentation

Definition at line 447 of file Range.hpp.

Referenced by moab::Range::operator-=(), and moab::subtract().

        {
            return mNode;
        }
bool moab::Range::pair_iterator::operator!= ( const pair_iterator other) const [inline]

Definition at line 442 of file Range.hpp.

References mNode.

        {
            return mNode != other.mNode;
        }
pair_iterator& moab::Range::pair_iterator::operator++ ( ) [inline]

Definition at line 414 of file Range.hpp.

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

Definition at line 419 of file Range.hpp.

References moab::operator++().

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

Definition at line 426 of file Range.hpp.

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

Definition at line 431 of file Range.hpp.

        {
            pair_iterator tmp( *this );
            this->operator--();
            return tmp;
        }
std::pair< EntityHandle, EntityHandle >* moab::Range::pair_iterator::operator-> ( ) [inline]

Definition at line 409 of file Range.hpp.

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

Definition at line 437 of file Range.hpp.

References mNode.

        {
            return mNode == other.mNode;
        }

Friends And Related Function Documentation

friend class Range [friend]

Definition at line 401 of file Range.hpp.


Member Data Documentation

Definition at line 453 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