Classes | Public Types | Protected Member Functions | Protected Attributes

nsTObserverArray_base Class Reference

#include <nsTObserverArray.h>

Inheritance diagram for nsTObserverArray_base:
Collaboration diagram for nsTObserverArray_base:

List of all members.

Classes

class  Iterator_base

Public Types

typedef PRUint32 index_type
typedef PRUint32 size_type
typedef PRInt32 diff_type

Protected Member Functions

 nsTObserverArray_base ()
 ~nsTObserverArray_base ()
void AdjustIterators (index_type aModPos, diff_type aAdjustment)
 Adjusts iterators after an element has been inserted or removed from the array.
void ClearIterators ()
 Clears iterators when the array is destroyed.

Protected Attributes

Iterator_basemIterators

Member Typedef Documentation


Constructor & Destructor Documentation

nsTObserverArray_base::nsTObserverArray_base (  )  [inline, protected]
nsTObserverArray_base::~nsTObserverArray_base (  )  [inline, protected]

Member Function Documentation

void nsTObserverArray_base::AdjustIterators ( index_type  aModPos,
diff_type  aAdjustment 
) [protected]

Adjusts iterators after an element has been inserted or removed from the array.

Parameters:
modPos Position where elements were added or removed.
adjustment -1 if an element was removed, 1 if an element was added.
void nsTObserverArray_base::ClearIterators (  )  [protected]

Clears iterators when the array is destroyed.


Member Data Documentation


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