Back to index

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

#include <nsNameSpaceMap.h>

Collaboration diagram for nsNameSpaceMap::const_iterator:
Collaboration graph

List of all members.

Public Member Functions

 const_iterator ()
 const_iterator (const const_iterator &iter)
const_iteratoroperator= (const const_iterator &iter)
const_iteratoroperator++ ()
const_iterator operator++ (int)
const Entryoperator-> () const
const Entryoperator* () const
PRBool operator== (const const_iterator &iter) const
PRBool operator!= (const const_iterator &iter) const

Protected Member Functions

 const_iterator (const Entry *aCurrent)

Protected Attributes

const EntrymCurrent


class nsNameSpaceMap

Detailed Description

Definition at line 73 of file nsNameSpaceMap.h.

Constructor & Destructor Documentation

nsNameSpaceMap::const_iterator::const_iterator ( const Entry aCurrent) [inline, protected]

Definition at line 77 of file nsNameSpaceMap.h.

            : mCurrent(aCurrent) {}

Definition at line 83 of file nsNameSpaceMap.h.

Definition at line 86 of file nsNameSpaceMap.h.

            : mCurrent(iter.mCurrent) {}

Member Function Documentation

PRBool nsNameSpaceMap::const_iterator::operator!= ( const const_iterator iter) const [inline]

Definition at line 114 of file nsNameSpaceMap.h.

            return ! iter.operator==(*this); }
const Entry& nsNameSpaceMap::const_iterator::operator* ( ) const [inline]

Definition at line 107 of file nsNameSpaceMap.h.

{ return *mCurrent; }
const_iterator& nsNameSpaceMap::const_iterator::operator++ ( ) [inline]

Definition at line 95 of file nsNameSpaceMap.h.

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

Definition at line 100 of file nsNameSpaceMap.h.

            const_iterator tmp(*this);
            mCurrent = mCurrent->mNext;
            return tmp; }
const Entry* nsNameSpaceMap::const_iterator::operator-> ( void  ) const [inline]

Definition at line 105 of file nsNameSpaceMap.h.

{ return mCurrent; }
const_iterator& nsNameSpaceMap::const_iterator::operator= ( const const_iterator iter) [inline]

Definition at line 90 of file nsNameSpaceMap.h.

            mCurrent = iter.mCurrent;
            return *this; }
PRBool nsNameSpaceMap::const_iterator::operator== ( const const_iterator iter) const [inline]

Definition at line 110 of file nsNameSpaceMap.h.

            return mCurrent == iter.mCurrent; }

Friends And Related Function Documentation

friend class nsNameSpaceMap [friend]

Definition at line 75 of file nsNameSpaceMap.h.

Member Data Documentation

Definition at line 80 of file nsNameSpaceMap.h.

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