Back to index

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

#include <nsRuleNetwork.h>

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

List of all members.

Public Member Functions

 ConstIterator (ReteNode **aNode)
 ConstIterator (const ConstIterator &aConstIterator)
ConstIteratoroperator= (const ConstIterator &aConstIterator)
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
const ReteNodeoperator* () const
const ReteNodeoperator-> () const
PRBool operator== (const ConstIterator &aConstIterator) const
PRBool operator!= (const ConstIterator &aConstIterator) const

Protected Attributes

ReteNode ** mCurrent

Friends

class Iterator

Detailed Description

Definition at line 841 of file nsRuleNetwork.h.


Constructor & Destructor Documentation

Definition at line 843 of file nsRuleNetwork.h.

: mCurrent(aNode) {}

Definition at line 845 of file nsRuleNetwork.h.

            : mCurrent(aConstIterator.mCurrent) {}

Member Function Documentation

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

Reimplemented in ReteNodeSet::Iterator.

Definition at line 870 of file nsRuleNetwork.h.

                                                                     {
            return mCurrent != aConstIterator.mCurrent; }
const ReteNode* ReteNodeSet::ConstIterator::operator* ( ) const [inline]

Reimplemented in ReteNodeSet::Iterator.

Definition at line 861 of file nsRuleNetwork.h.

                                          {
            return *mCurrent; }
ConstIterator& ReteNodeSet::ConstIterator::operator++ ( ) [inline]

Reimplemented in ReteNodeSet::Iterator.

Definition at line 852 of file nsRuleNetwork.h.

                                    {
            ++mCurrent;
            return *this; }
ConstIterator ReteNodeSet::ConstIterator::operator++ ( int  ) [inline]

Reimplemented in ReteNodeSet::Iterator.

Definition at line 856 of file nsRuleNetwork.h.

                                      {
            ConstIterator result(*this);
            ++mCurrent;
            return result; }
const ReteNode* ReteNodeSet::ConstIterator::operator-> ( ) const [inline]

Reimplemented in ReteNodeSet::Iterator.

Definition at line 864 of file nsRuleNetwork.h.

                                           {
            return *mCurrent; }
ConstIterator& ReteNodeSet::ConstIterator::operator= ( const ConstIterator aConstIterator) [inline]

Definition at line 848 of file nsRuleNetwork.h.

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

Reimplemented in ReteNodeSet::Iterator.

Definition at line 867 of file nsRuleNetwork.h.

                                                                     {
            return mCurrent == aConstIterator.mCurrent; }

Friends And Related Function Documentation

friend class Iterator [friend]

Definition at line 874 of file nsRuleNetwork.h.


Member Data Documentation

Definition at line 875 of file nsRuleNetwork.h.


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