Back to index

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

#include <nsRuleNetwork.h>

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

List of all members.

Public Member Functions

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

Protected Attributes

ListmCurrent

Friends

class Iterator

Detailed Description

Definition at line 685 of file nsRuleNetwork.h.


Constructor & Destructor Documentation

Definition at line 691 of file nsRuleNetwork.h.

: mCurrent(aList) {}

Definition at line 693 of file nsRuleNetwork.h.

            : mCurrent(aConstIterator.mCurrent) {}

Member Function Documentation

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

Reimplemented in InstantiationSet::Iterator.

Definition at line 727 of file nsRuleNetwork.h.

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

Reimplemented in InstantiationSet::Iterator.

Definition at line 718 of file nsRuleNetwork.h.

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

Reimplemented in InstantiationSet::Iterator.

Definition at line 700 of file nsRuleNetwork.h.

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

Reimplemented in InstantiationSet::Iterator.

Definition at line 704 of file nsRuleNetwork.h.

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

Reimplemented in InstantiationSet::Iterator.

Definition at line 709 of file nsRuleNetwork.h.

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

Reimplemented in InstantiationSet::Iterator.

Definition at line 713 of file nsRuleNetwork.h.

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

Reimplemented in InstantiationSet::Iterator.

Definition at line 721 of file nsRuleNetwork.h.

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

Definition at line 696 of file nsRuleNetwork.h.

                                                                      {
            mCurrent = aConstIterator.mCurrent;
            return *this; }
PRBool InstantiationSet::ConstIterator::operator== ( const ConstIterator aConstIterator) const [inline]

Reimplemented in InstantiationSet::Iterator.

Definition at line 724 of file nsRuleNetwork.h.

                                                                     {
            return mCurrent == aConstIterator.mCurrent; }

Friends And Related Function Documentation

friend class Iterator [friend]

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: