Back to index

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

#include <nsRuleNetwork.h>

Collaboration diagram for MemoryElementSet::ConstIterator:
Collaboration graph

List of all members.

Public Member Functions

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

Protected Attributes


Detailed Description

Definition at line 308 of file nsRuleNetwork.h.

Constructor & Destructor Documentation

Definition at line 310 of file nsRuleNetwork.h.

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

Definition at line 313 of file nsRuleNetwork.h.

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

Definition at line 323 of file nsRuleNetwork.h.

Member Function Documentation

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

Definition at line 349 of file nsRuleNetwork.h.

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

Definition at line 340 of file nsRuleNetwork.h.

            return *mCurrent->mElement; }
ConstIterator& MemoryElementSet::ConstIterator::operator++ ( ) [inline]

Definition at line 325 of file nsRuleNetwork.h.

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

Definition at line 332 of file nsRuleNetwork.h.

const MemoryElement* MemoryElementSet::ConstIterator::operator-> ( ) const [inline]

Definition at line 343 of file nsRuleNetwork.h.

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

Definition at line 317 of file nsRuleNetwork.h.

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

Definition at line 346 of file nsRuleNetwork.h.

            return mCurrent == aConstIterator.mCurrent; }

Member Data Documentation

Definition at line 353 of file nsRuleNetwork.h.

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