Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
nsBaseContentList Class Reference

#include <nsContentList.h>

Inheritance diagram for nsBaseContentList:
Inheritance graph
[legend]
Collaboration diagram for nsBaseContentList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsBaseContentList ()
virtual ~nsBaseContentList ()
NS_DECL_ISUPPORTS virtual
NS_DECL_NSIDOMNODELIST void 
AppendElement (nsIContent *aContent)
virtual void RemoveElement (nsIContent *aContent)
virtual PRInt32 IndexOf (nsIContent *aContent, PRBool aDoFlush)
virtual void Reset ()
nsIDOMNode item (in unsigned long index)

Static Public Member Functions

static void Shutdown ()

Public Attributes

readonly attribute unsigned long length

Protected Attributes

nsCOMArray< nsIContentmElements

Detailed Description

Definition at line 62 of file nsContentList.h.


Constructor & Destructor Documentation

Definition at line 58 of file nsContentList.cpp.

{
}

Definition at line 62 of file nsContentList.cpp.

{
}

Member Function Documentation

Definition at line 102 of file nsContentList.cpp.

{
  mElements.AppendObject(aContent);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in nsContentList.

Definition at line 114 of file nsContentList.cpp.

{
  return mElements.IndexOf(aContent);
}

Here is the call graph for this function:

Here is the caller graph for this function:

nsIDOMNode nsIDOMNodeList::item ( in unsigned long  index) [inherited]

Here is the caller graph for this function:

Definition at line 108 of file nsContentList.cpp.

{
  mElements.RemoveObject(aContent);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 120 of file nsContentList.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 127 of file nsContentList.cpp.


Member Data Documentation

readonly attribute unsigned long nsIDOMNodeList::length [inherited]

Definition at line 58 of file nsIDOMNodeList.idl.

Definition at line 81 of file nsContentList.h.


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