moab
moab::Range::const_pair_iterator Class Reference

#include <Range.hpp>

List of all members.

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 658 of file Range.hpp.


Constructor & Destructor Documentation

Definition at line 660 of file Range.hpp.

: myNode(NULL) {}

Definition at line 661 of file Range.hpp.

: myNode(node) {}

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

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

Definition at line 664 of file Range.hpp.

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

Definition at line 673 of file Range.hpp.

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

Definition at line 679 of file Range.hpp.

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

Definition at line 670 of file Range.hpp.

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

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

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

Definition at line 682 of file Range.hpp.

        { return other.myNode == myNode; }

Member Data Documentation

Definition at line 689 of file Range.hpp.


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