Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
txExpandedNameMap::iterator Class Reference

#include <txExpandedNameMap.h>

Collaboration diagram for txExpandedNameMap::iterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 iterator (txExpandedNameMap &aMap)
MBool next ()
const txExpandedName key ()
TxObjectvalue ()

Private Attributes

txExpandedNameMapmMap
int mCurrentPos

Detailed Description

Definition at line 91 of file txExpandedNameMap.h.


Constructor & Destructor Documentation

Definition at line 93 of file txExpandedNameMap.h.

                                          : mMap(aMap),
                                            mCurrentPos(-1)
        {
        }

Member Function Documentation

Definition at line 103 of file txExpandedNameMap.h.

        {
            NS_ASSERTION(mCurrentPos >= 0 && mCurrentPos < mMap.mItemCount,
                         "invalid position in txExpandedNameMap::iterator");
            return txExpandedName(mMap.mItems[mCurrentPos].mNamespaceID,
                                  mMap.mItems[mCurrentPos].mLocalName);
        }

Definition at line 98 of file txExpandedNameMap.h.

        {
            return ++mCurrentPos < mMap.mItemCount;
        }

Here is the caller graph for this function:

Definition at line 111 of file txExpandedNameMap.h.

        {
            NS_ASSERTION(mCurrentPos >= 0 && mCurrentPos < mMap.mItemCount,
                         "invalid position in txExpandedNameMap::iterator");
            return mMap.mItems[mCurrentPos].mValue;
        }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 120 of file txExpandedNameMap.h.

Definition at line 119 of file txExpandedNameMap.h.


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