sbCOMArray_base Class Reference

#include <sbCOMArray.h>

Public Member Functions

PRInt32 Count () const
 
nsISupportsObjectAt (PRInt32 aIndex) const
 
nsISupportsSafeObjectAt (PRInt32 aIndex) const
 
nsISupportsoperator[] (PRInt32 aIndex) const
 
PRBool SetCapacity (PRUint32 aCapacity)
 

Protected Member Functions

 sbCOMArray_base ()
 
 sbCOMArray_base (PRInt32 aCount)
 
 sbCOMArray_base (const sbCOMArray_base &other)
 
 ~sbCOMArray_base ()
 
PRInt32 IndexOf (nsISupports *aObject) const
 
PRInt32 IndexOfObject (nsISupports *aObject) const
 
PRBool EnumerateForwards (nsVoidArrayEnumFunc aFunc, void *aData)
 
PRBool EnumerateBackwards (nsVoidArrayEnumFunc aFunc, void *aData)
 
void Sort (nsVoidArrayComparatorFunc aFunc, void *aData)
 
void Clear ()
 
PRBool InsertObjectAt (nsISupports *aObject, PRInt32 aIndex)
 
PRBool InsertObjectsAt (const sbCOMArray_base &aObjects, PRInt32 aIndex)
 
PRBool ReplaceObjectAt (nsISupports *aObject, PRInt32 aIndex)
 
PRBool AppendObject (nsISupports *aObject)
 
PRBool AppendObjects (const sbCOMArray_base &aObjects)
 
PRBool RemoveObject (nsISupports *aObject)
 
PRBool RemoveObjectAt (PRInt32 aIndex)
 

Friends

class sbArray
 

Detailed Description

Definition at line 49 of file sbCOMArray.h.

Constructor & Destructor Documentation

sbCOMArray_base::sbCOMArray_base ( )
inlineprotected

Definition at line 53 of file sbCOMArray.h.

sbCOMArray_base::sbCOMArray_base ( PRInt32  aCount)
inlineprotected

Definition at line 54 of file sbCOMArray.h.

void * sbCOMArray_base::sbCOMArray_base ( const sbCOMArray_base other)
protected

Definition at line 49 of file sbCOMArray.cpp.

sbCOMArray_base::~sbCOMArray_base ( )
protected

Definition at line 56 of file sbCOMArray.cpp.

Here is the call graph for this function:

Member Function Documentation

PRBool sbCOMArray_base::AppendObject ( nsISupports aObject)
inlineprotected

Definition at line 83 of file sbCOMArray.h.

Here is the call graph for this function:

PRBool sbCOMArray_base::AppendObjects ( const sbCOMArray_base aObjects)
inlineprotected

Definition at line 86 of file sbCOMArray.h.

Here is the call graph for this function:

void sbCOMArray_base::Clear ( void  )
protected

Definition at line 156 of file sbCOMArray.cpp.

Here is the call graph for this function:

PRInt32 sbCOMArray_base::Count ( ) const
inline

Definition at line 95 of file sbCOMArray.h.

Here is the caller graph for this function:

PRBool sbCOMArray_base::EnumerateBackwards ( nsVoidArrayEnumFunc  aFunc,
void *  aData 
)
inlineprotected

Definition at line 68 of file sbCOMArray.h.

PRBool sbCOMArray_base::EnumerateForwards ( nsVoidArrayEnumFunc  aFunc,
void *  aData 
)
inlineprotected

Definition at line 64 of file sbCOMArray.h.

PRInt32 sbCOMArray_base::IndexOf ( nsISupports aObject) const
inlineprotected

Definition at line 58 of file sbCOMArray.h.

PRInt32 sbCOMArray_base::IndexOfObject ( nsISupports aObject) const
protected

Definition at line 66 of file sbCOMArray.cpp.

PRBool sbCOMArray_base::InsertObjectAt ( nsISupports aObject,
PRInt32  aIndex 
)
protected

Definition at line 85 of file sbCOMArray.cpp.

Here is the caller graph for this function:

PRBool sbCOMArray_base::InsertObjectsAt ( const sbCOMArray_base aObjects,
PRInt32  aIndex 
)
protected

Definition at line 93 of file sbCOMArray.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsISupports* sbCOMArray_base::ObjectAt ( PRInt32  aIndex) const
inline

Definition at line 99 of file sbCOMArray.h.

Here is the caller graph for this function:

nsISupports* sbCOMArray_base::operator[] ( PRInt32  aIndex) const
inline

Definition at line 107 of file sbCOMArray.h.

Here is the call graph for this function:

PRBool sbCOMArray_base::RemoveObject ( nsISupports aObject)
protected

Definition at line 125 of file sbCOMArray.cpp.

PRBool sbCOMArray_base::RemoveObjectAt ( PRInt32  aIndex)
protected

Definition at line 134 of file sbCOMArray.cpp.

Here is the call graph for this function:

PRBool sbCOMArray_base::ReplaceObjectAt ( nsISupports aObject,
PRInt32  aIndex 
)
protected

Definition at line 106 of file sbCOMArray.cpp.

nsISupports* sbCOMArray_base::SafeObjectAt ( PRInt32  aIndex) const
inline

Definition at line 103 of file sbCOMArray.h.

PRBool sbCOMArray_base::SetCapacity ( PRUint32  aCapacity)
inline

Definition at line 113 of file sbCOMArray.h.

void sbCOMArray_base::Sort ( nsVoidArrayComparatorFunc  aFunc,
void *  aData 
)
inlineprotected

Definition at line 72 of file sbCOMArray.h.

Friends And Related Function Documentation

friend class sbArray
friend

Definition at line 51 of file sbCOMArray.h.


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