Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
nsScriptableMethodInfo Class Reference
Inheritance diagram for nsScriptableMethodInfo:
Inheritance graph
[legend]
Collaboration diagram for nsScriptableMethodInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsScriptableMethodInfo (nsIInterfaceInfo *aInfo, const nsXPTMethodInfo &aMethod)
virtual ~nsScriptableMethodInfo ()
nsIScriptableParamInfo getParam (in PRUint8 idx)

Static Public Member Functions

NS_DECL_ISUPPORTS static
NS_DECL_NSISCRIPTABLEMETHODINFO
nsresult 
Create (nsIInterfaceInfo *aInfo, const nsXPTMethodInfo &aMethod, nsIScriptableMethodInfo **aResult)

Public Attributes

readonly attribute PRBool isGetter
readonly attribute PRBool isSetter
readonly attribute PRBool isNotXPCOM
readonly attribute PRBool isConstructor
readonly attribute PRBool isHidden
readonly attribute string name
readonly attribute PRUint8 paramCount
readonly attribute
nsIScriptableParamInfo 
result

Private Member Functions

 nsScriptableMethodInfo ()

Private Attributes

nsCOMPtr< nsIInterfaceInfomInfo
const nsXPTMethodInfomMethod

Detailed Description

Definition at line 362 of file nsScriptableInterfaceInfo.cpp.


Constructor & Destructor Documentation

Definition at line 372 of file nsScriptableInterfaceInfo.cpp.

        : mInfo(aInfo), mMethod(aMethod)
    {
    }
virtual nsScriptableMethodInfo::~nsScriptableMethodInfo ( ) [inline, virtual]

Definition at line 377 of file nsScriptableInterfaceInfo.cpp.

    {
    }

Here is the caller graph for this function:


Member Function Documentation

Definition at line 391 of file nsScriptableInterfaceInfo.cpp.

{
    nsScriptableMethodInfo* obj = new nsScriptableMethodInfo(aInfo, aMethod);
    if(!obj)
        return NS_ERROR_OUT_OF_MEMORY;
    *aResult = NS_STATIC_CAST(nsIScriptableMethodInfo*, obj);
    NS_ADDREF(*aResult);
    return NS_OK;
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 92 of file nsIScriptableInterfaceInfo.idl.

Definition at line 89 of file nsIScriptableInterfaceInfo.idl.

Definition at line 93 of file nsIScriptableInterfaceInfo.idl.

Definition at line 91 of file nsIScriptableInterfaceInfo.idl.

Definition at line 90 of file nsIScriptableInterfaceInfo.idl.

Definition at line 385 of file nsScriptableInterfaceInfo.cpp.

Definition at line 386 of file nsScriptableInterfaceInfo.cpp.

Definition at line 95 of file nsIScriptableInterfaceInfo.idl.

Definition at line 96 of file nsIScriptableInterfaceInfo.idl.

Definition at line 100 of file nsIScriptableInterfaceInfo.idl.


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