Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes

nsBaseContentList Class Reference

#include <nsContentList.h>

Inheritance diagram for nsBaseContentList:
Collaboration diagram for nsBaseContentList:

List of all members.

Classes

class  cycleCollection

Public Member Functions

virtual ~nsBaseContentList ()
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
virtual NS_DECL_NSIDOMNODELIST
nsIContent * 
GetNodeAt (PRUint32 aIndex)
virtual PRInt32 IndexOf (nsIContent *aContent)
PRUint32 Length () const
void AppendElement (nsIContent *aContent)
void InsertElementAt (nsIContent *aContent, PRInt32 aIndex)
 Insert the element at a given index, shifting the objects at the given index and later to make space.
void RemoveElement (nsIContent *aContent)
void Reset ()
virtual PRInt32 IndexOf (nsIContent *aContent, PRBool aDoFlush)

Static Public Member Functions

static void Shutdown ()

Static Public Attributes

static cycleCollection _cycleCollectorGlobal

Protected Attributes

nsCOMArray< nsIContent > mElements

Constructor & Destructor Documentation

virtual nsBaseContentList::~nsBaseContentList (  )  [virtual]

Member Function Documentation

void nsBaseContentList::AppendElement ( nsIContent *  aContent  ) 
NS_DECL_CYCLE_COLLECTING_ISUPPORTS virtual NS_DECL_NSIDOMNODELIST nsIContent* nsBaseContentList::GetNodeAt ( PRUint32  aIndex  )  [virtual]

Reimplemented in nsContentList.

virtual PRInt32 nsBaseContentList::IndexOf ( nsIContent *  aContent  )  [virtual]

Reimplemented in nsContentList.

virtual PRInt32 nsBaseContentList::IndexOf ( nsIContent *  aContent,
PRBool  aDoFlush 
) [virtual]

Reimplemented in nsContentList.

void nsBaseContentList::InsertElementAt ( nsIContent *  aContent,
PRInt32  aIndex 
)

Insert the element at a given index, shifting the objects at the given index and later to make space.

Parameters:
aContent Element to insert, must not be null
aIndex Index to insert the element at.
PRUint32 nsBaseContentList::Length (  )  const [inline]
void nsBaseContentList::RemoveElement ( nsIContent *  aContent  ) 
void nsBaseContentList::Reset (  )  [inline]
static void nsBaseContentList::Shutdown (  )  [static]

Member Data Documentation

nsCOMArray<nsIContent> nsBaseContentList::mElements [protected]

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