Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes | Friends
InstantiationSet::Iterator Class Reference

#include <nsRuleNetwork.h>

Inheritance diagram for InstantiationSet::Iterator:
Inheritance graph
[legend]
Collaboration diagram for InstantiationSet::Iterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Iterator (List *aList)
Iteratoroperator++ ()
Iterator operator++ (int)
Iteratoroperator-- ()
Iterator operator-- (int)
Instantiationoperator* () const
Instantiationoperator-> () const
PRBool operator== (const ConstIterator &aConstIterator) const
PRBool operator!= (const ConstIterator &aConstIterator) const

Protected Attributes

ListmCurrent

Friends

class InstantiationSet
class Iterator

Detailed Description

Definition at line 734 of file nsRuleNetwork.h.


Constructor & Destructor Documentation

Definition at line 736 of file nsRuleNetwork.h.

: ConstIterator(aList) {}

Member Function Documentation

PRBool InstantiationSet::Iterator::operator!= ( const ConstIterator aConstIterator) const [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 765 of file nsRuleNetwork.h.

                                                                     {
            return mCurrent != aConstIterator.mCurrent; }
Instantiation& InstantiationSet::Iterator::operator* ( ) const [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 756 of file nsRuleNetwork.h.

                                         {
            return mCurrent->mInstantiation; }
Iterator& InstantiationSet::Iterator::operator++ ( ) [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 738 of file nsRuleNetwork.h.

                               {
            mCurrent = mCurrent->mNext;
            return *this; }
Iterator InstantiationSet::Iterator::operator++ ( int  ) [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 742 of file nsRuleNetwork.h.

                                 {
            Iterator result(*this);
            mCurrent = mCurrent->mNext;
            return result; }
Iterator& InstantiationSet::Iterator::operator-- ( ) [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 747 of file nsRuleNetwork.h.

                               {
            mCurrent = mCurrent->mPrev;
            return *this; }
Iterator InstantiationSet::Iterator::operator-- ( int  ) [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 751 of file nsRuleNetwork.h.

                                 {
            Iterator result(*this);
            mCurrent = mCurrent->mPrev;
            return result; }
Instantiation* InstantiationSet::Iterator::operator-> ( ) const [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 759 of file nsRuleNetwork.h.

                                          {
            return &mCurrent->mInstantiation; }
PRBool InstantiationSet::Iterator::operator== ( const ConstIterator aConstIterator) const [inline]

Reimplemented from InstantiationSet::ConstIterator.

Definition at line 762 of file nsRuleNetwork.h.

                                                                     {
            return mCurrent == aConstIterator.mCurrent; }

Friends And Related Function Documentation

friend class InstantiationSet [friend]

Definition at line 768 of file nsRuleNetwork.h.

friend class Iterator [friend, inherited]

Definition at line 687 of file nsRuleNetwork.h.


Member Data Documentation

Definition at line 688 of file nsRuleNetwork.h.


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