Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsISupportsArray.idl File Reference
import "nsISupports.idl";
import "nsICollection.idl";
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  nsISupportsArray

Defines

#define NS_SUPPORTSARRAY_CID
#define NS_SUPPORTSARRAY_CONTRACTID   "@mozilla.org/supports-array;1"
#define NS_SUPPORTSARRAY_CLASSNAME   "Supports Array"

Typedefs

typedef PRBool(* nsISupportsArrayEnumFunc )(nsISupports *aElement, void *aData)

Functions

native nsISupportsArrayEnumFunc (nsISupportsArrayEnumFunc)
NS_COM nsresult NS_NewISupportsArray (nsISupportsArray **aInstancePtrResult)
NS_COM nsresult NS_NewISupportsArrayEnumerator (nsISupportsArray *array, nsIBidirectionalEnumerator **aInstancePtrResult)

Define Documentation

Value:
{ /* bda17d50-0d6b-11d3-9331-00104ba0fd40 */         \
    0xbda17d50,                                      \
    0x0d6b,                                          \
    0x11d3,                                          \
    {0x93, 0x31, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \
}

Definition at line 56 of file nsISupportsArray.idl.

Definition at line 64 of file nsISupportsArray.idl.

#define NS_SUPPORTSARRAY_CONTRACTID   "@mozilla.org/supports-array;1"

Definition at line 63 of file nsISupportsArray.idl.


Typedef Documentation

typedef PRBool(* nsISupportsArrayEnumFunc)(nsISupports *aElement, void *aData)

Definition at line 67 of file nsISupportsArray.idl.


Function Documentation

Definition at line 677 of file nsSupportsArray.cpp.

{
  nsresult rv;
  rv = nsSupportsArray::Create(NULL, NS_GET_IID(nsISupportsArray),
                               (void**)aInstancePtrResult);
  return rv;
}

Here is the call graph for this function:

Definition at line 134 of file nsSupportsArrayEnumerator.cpp.

{
  if (aInstancePtrResult == 0)
    return NS_ERROR_NULL_POINTER;
  nsSupportsArrayEnumerator* e = new nsSupportsArrayEnumerator(array);
  if (e == 0)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(e);
  *aInstancePtrResult = e;
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: