Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsStringEnumerator.h File Reference
#include "nsIStringEnumerator.h"
#include "nsVoidArray.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NS_COM nsresult NS_NewUTF8StringEnumerator (nsIUTF8StringEnumerator **aResult, const nsCStringArray *aArray)
NS_COM nsresult NS_NewStringEnumerator (nsIStringEnumerator **aResult, const nsStringArray *aArray)
NS_COM nsresult NS_NewAdoptingStringEnumerator (nsIStringEnumerator **aResult, nsStringArray *aArray)
NS_COM nsresult NS_NewAdoptingUTF8StringEnumerator (nsIUTF8StringEnumerator **aResult, nsCStringArray *aArray)
NS_COM nsresult NS_NewStringEnumerator (nsIStringEnumerator **aResult, const nsStringArray *aArray, nsISupports *aOwner)
NS_COM nsresult NS_NewUTF8StringEnumerator (nsIUTF8StringEnumerator **aResult, const nsCStringArray *aArray, nsISupports *aOwner)

Function Documentation

NS_COM nsresult NS_NewAdoptingStringEnumerator ( nsIStringEnumerator **  aResult,
nsStringArray *  aArray 
)

Definition at line 218 of file nsStringEnumerator.cpp.

{
    NS_ENSURE_ARG_POINTER(aResult);
    NS_ENSURE_ARG_POINTER(aArray);
    
    *aResult = new nsStringEnumerator(aArray, PR_TRUE);
    return StringEnumeratorTail(aResult);
}

Here is the call graph for this function:

Here is the caller graph for this function:

NS_COM nsresult NS_NewAdoptingUTF8StringEnumerator ( nsIUTF8StringEnumerator **  aResult,
nsCStringArray *  aArray 
)

Definition at line 229 of file nsStringEnumerator.cpp.

{
    NS_ENSURE_ARG_POINTER(aResult);
    NS_ENSURE_ARG_POINTER(aArray);
    
    *aResult = new nsStringEnumerator(aArray, PR_TRUE);
    return StringEnumeratorTail(aResult);
}

Here is the call graph for this function:

Here is the caller graph for this function:

NS_COM nsresult NS_NewStringEnumerator ( nsIStringEnumerator **  aResult,
const nsStringArray *  aArray 
)

Definition at line 241 of file nsStringEnumerator.cpp.

{
    NS_ENSURE_ARG_POINTER(aResult);
    NS_ENSURE_ARG_POINTER(aArray);
    
    *aResult = new nsStringEnumerator(aArray, PR_FALSE);
    return StringEnumeratorTail(aResult);
}

Here is the call graph for this function:

NS_COM nsresult NS_NewStringEnumerator ( nsIStringEnumerator **  aResult,
const nsStringArray *  aArray,
nsISupports *  aOwner 
)

Definition at line 195 of file nsStringEnumerator.cpp.

{
    NS_ENSURE_ARG_POINTER(aResult);
    NS_ENSURE_ARG_POINTER(aArray);
    
    *aResult = new nsStringEnumerator(aArray, aOwner);
    return StringEnumeratorTail(aResult);
}

Here is the call graph for this function:

Here is the caller graph for this function:

NS_COM nsresult NS_NewUTF8StringEnumerator ( nsIUTF8StringEnumerator **  aResult,
const nsCStringArray *  aArray 
)

Definition at line 252 of file nsStringEnumerator.cpp.

{
    NS_ENSURE_ARG_POINTER(aResult);
    NS_ENSURE_ARG_POINTER(aArray);
    
    *aResult = new nsStringEnumerator(aArray, PR_FALSE);
    return StringEnumeratorTail(aResult);
}

Here is the call graph for this function:

NS_COM nsresult NS_NewUTF8StringEnumerator ( nsIUTF8StringEnumerator **  aResult,
const nsCStringArray *  aArray,
nsISupports *  aOwner 
)

Definition at line 207 of file nsStringEnumerator.cpp.

{
    NS_ENSURE_ARG_POINTER(aResult);
    NS_ENSURE_ARG_POINTER(aArray);
    
    *aResult = new nsStringEnumerator(aArray, aOwner);
    return StringEnumeratorTail(aResult);
}

Here is the call graph for this function:

Here is the caller graph for this function: