Back to index

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

#include <nsTemplateMatchSet.h>

Collaboration diagram for nsTemplateMatchSet::ConstIterator:
Collaboration graph

List of all members.

Public Member Functions

 ConstIterator ()
 ConstIterator (const ConstIterator &aIterator)
ConstIteratoroperator= (const ConstIterator &aIterator)
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
nsTemplateMatchoperator* () const
nsTemplateMatchoperator-> () const
PRBool operator== (const ConstIterator &aIterator) const
PRBool operator!= (const ConstIterator &aIterator) const

Protected Member Functions

 ConstIterator (Element *aElement)

Protected Attributes



class nsTemplateMatchSet

Detailed Description

Definition at line 71 of file nsTemplateMatchSet.h.

Constructor & Destructor Documentation

nsTemplateMatchSet::ConstIterator::ConstIterator ( Element aElement) [inline, protected]

Definition at line 77 of file nsTemplateMatchSet.h.

            : mCurrent(aElement) {}

Definition at line 81 of file nsTemplateMatchSet.h.

Definition at line 83 of file nsTemplateMatchSet.h.

            : mCurrent(aIterator.mCurrent) {}

Member Function Documentation

PRBool nsTemplateMatchSet::ConstIterator::operator!= ( const ConstIterator aIterator) const [inline]

Definition at line 113 of file nsTemplateMatchSet.h.

            return !aIterator.operator==(*this); }
nsTemplateMatch& nsTemplateMatchSet::ConstIterator::operator* ( ) const [inline]

Definition at line 102 of file nsTemplateMatchSet.h.

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

Definition at line 92 of file nsTemplateMatchSet.h.

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

Definition at line 97 of file nsTemplateMatchSet.h.

            ConstIterator tmp(*this);
            mCurrent = mCurrent->mNext;
            return tmp; }
nsTemplateMatch* nsTemplateMatchSet::ConstIterator::operator-> ( ) const [inline]

Definition at line 105 of file nsTemplateMatchSet.h.

            return mCurrent->mMatch; }
ConstIterator& nsTemplateMatchSet::ConstIterator::operator= ( const ConstIterator aIterator) [inline]

Definition at line 87 of file nsTemplateMatchSet.h.

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

Definition at line 109 of file nsTemplateMatchSet.h.

            return mCurrent == aIterator.mCurrent; }

Friends And Related Function Documentation

friend class nsTemplateMatchSet [friend]

Definition at line 73 of file nsTemplateMatchSet.h.

Member Data Documentation

Definition at line 75 of file nsTemplateMatchSet.h.

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