Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends
nsDocumentObserverList::Iterator Class Reference

#include <nsDocument.h>

Inheritance diagram for nsDocumentObserverList::Iterator:
Inheritance graph
Collaboration diagram for nsDocumentObserverList::Iterator:
Collaboration graph

List of all members.

Public Member Functions

nsIDocumentObserverGetNext ()

Protected Member Functions

 Iterator (PRInt32 aStep, nsDocumentObserverList &aList)
 ~Iterator ()

Protected Attributes

PRInt32 mPosition

Private Attributes

PRInt32 mStep


class nsDocumentObserverList

Detailed Description

Definition at line 286 of file nsDocument.h.

Constructor & Destructor Documentation

nsDocumentObserverList::Iterator::Iterator ( PRInt32  aStep,
nsDocumentObserverList aList 
) [inline, protected]

Definition at line 292 of file nsDocument.h.

      mPosition(aStep > 0 ? 0 : aList.mObservers.Count() - 1),
      NS_ASSERTION(mStep == 1 || mStep == -1, "Invalid step size");
      aList.mIterators = this;

Definition at line 302 of file nsDocument.h.

      NS_ASSERTION(mList.mIterators == this, "Destroyed out of order?");
      mList.mIterators = mNext;

Member Function Documentation

Definition at line 699 of file nsDocument.cpp.

Friends And Related Function Documentation

friend class nsDocumentObserverList [friend]

Definition at line 307 of file nsDocument.h.

Member Data Documentation

Definition at line 317 of file nsDocument.h.

Definition at line 320 of file nsDocument.h.

Definition at line 310 of file nsDocument.h.

Definition at line 314 of file nsDocument.h.

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