Back to index

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

#include <nsClusterKeySet.h>

Collaboration diagram for nsClusterKeySet::ConstIterator:
Collaboration graph

List of all members.

Public Member Functions

 ConstIterator (Entry *aEntry)
 ConstIterator (const ConstIterator &aConstIterator)
ConstIteratoroperator= (const ConstIterator &aConstIterator)
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
const nsClusterKeyoperator* () const
const nsClusterKeyoperator-> () const
PRBool operator== (const ConstIterator &aConstIterator) const
PRBool operator!= (const ConstIterator &aConstIterator) const

Protected Attributes


Detailed Description

Definition at line 94 of file nsClusterKeySet.h.

Constructor & Destructor Documentation

Definition at line 99 of file nsClusterKeySet.h.

: mCurrent(aEntry) {}

Definition at line 101 of file nsClusterKeySet.h.

            : mCurrent(aConstIterator.mCurrent) {}

Member Function Documentation

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

Definition at line 126 of file nsClusterKeySet.h.

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

Definition at line 117 of file nsClusterKeySet.h.

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

Definition at line 108 of file nsClusterKeySet.h.

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

Definition at line 112 of file nsClusterKeySet.h.

            ConstIterator result(*this);
            mCurrent = mCurrent->mNext;
            return result; }
const nsClusterKey* nsClusterKeySet::ConstIterator::operator-> ( ) const [inline]

Definition at line 120 of file nsClusterKeySet.h.

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

Definition at line 104 of file nsClusterKeySet.h.

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

Definition at line 123 of file nsClusterKeySet.h.

            return mCurrent == aConstIterator.mCurrent; }

Member Data Documentation

Definition at line 96 of file nsClusterKeySet.h.

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