Back to index

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

#include <nsRuleNetwork.h>

Collaboration diagram for nsAssignmentSet::ConstIterator:
Collaboration graph

List of all members.

Public Member Functions

 ConstIterator (List *aAssignmentList)
 ConstIterator (const ConstIterator &aConstIterator)
ConstIteratoroperator= (const ConstIterator &aConstIterator)
 ~ConstIterator ()
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
const nsAssignmentoperator* () const
const nsAssignmentoperator-> () const
PRBool operator== (const ConstIterator &aConstIterator) const
PRBool operator!= (const ConstIterator &aConstIterator) const

Protected Attributes


Detailed Description

Definition at line 460 of file nsRuleNetwork.h.

Constructor & Destructor Documentation

nsAssignmentSet::ConstIterator::ConstIterator ( List aAssignmentList) [inline]

Definition at line 462 of file nsRuleNetwork.h.

                                             : mCurrent(aAssignmentList) {
            NS_IF_ADDREF(mCurrent); }

Definition at line 465 of file nsRuleNetwork.h.

            : mCurrent(aConstIterator.mCurrent) {
            NS_IF_ADDREF(mCurrent); }

Definition at line 475 of file nsRuleNetwork.h.

Member Function Documentation

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

Definition at line 501 of file nsRuleNetwork.h.

            return mCurrent != aConstIterator.mCurrent; }
const nsAssignment& nsAssignmentSet::ConstIterator::operator* ( ) const [inline]

Definition at line 492 of file nsRuleNetwork.h.

            return mCurrent->mAssignment; }
ConstIterator& nsAssignmentSet::ConstIterator::operator++ ( ) [inline]

Definition at line 477 of file nsRuleNetwork.h.

ConstIterator nsAssignmentSet::ConstIterator::operator++ ( int  ) [inline]

Definition at line 484 of file nsRuleNetwork.h.

const nsAssignment* nsAssignmentSet::ConstIterator::operator-> ( ) const [inline]

Definition at line 495 of file nsRuleNetwork.h.

            return &mCurrent->mAssignment; }
ConstIterator& nsAssignmentSet::ConstIterator::operator= ( const ConstIterator aConstIterator) [inline]

Definition at line 469 of file nsRuleNetwork.h.

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

Definition at line 498 of file nsRuleNetwork.h.

            return mCurrent == aConstIterator.mCurrent; }

Member Data Documentation

Definition at line 505 of file nsRuleNetwork.h.

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