Back to index

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

List of all members.

Public Member Functions

 nsScriptableDataType (const nsXPTType &aType)
virtual ~nsScriptableDataType ()

Static Public Member Functions

NS_DECL_ISUPPORTS static
NS_DECL_NSISCRIPTABLEDATATYPE
nsresult 
Create (const nsXPTType &aType, nsIScriptableDataType **aResult)

Public Attributes

readonly attribute PRBool isPointer
readonly attribute PRBool isUniquePointer
readonly attribute PRBool isReference
readonly attribute PRBool isArithmetic
readonly attribute PRBool isInterfacePointer
readonly attribute PRBool isArray
readonly attribute PRBool isDependent
readonly attribute PRUint16 dataType
 This is one of the constants declared in nsIDataType.

Private Member Functions

 nsScriptableDataType ()

Private Attributes

nsXPTType mType

Detailed Description

Definition at line 54 of file nsScriptableInterfaceInfo.cpp.


Constructor & Destructor Documentation

Definition at line 63 of file nsScriptableInterfaceInfo.cpp.

        : mType(aType)
    {
    }
virtual nsScriptableDataType::~nsScriptableDataType ( ) [inline, virtual]

Definition at line 68 of file nsScriptableInterfaceInfo.cpp.

    {
    }

Here is the caller graph for this function:


Member Function Documentation

Definition at line 80 of file nsScriptableInterfaceInfo.cpp.

{
    nsScriptableDataType* obj = new nsScriptableDataType(aType);
    if(!obj)
        return NS_ERROR_OUT_OF_MEMORY;
    *aResult = NS_STATIC_CAST(nsIScriptableDataType*, obj);
    NS_ADDREF(*aResult);
    return NS_OK;
}

Here is the call graph for this function:


Member Data Documentation

This is one of the constants declared in nsIDataType.

Definition at line 61 of file nsIScriptableInterfaceInfo.idl.

Definition at line 53 of file nsIScriptableInterfaceInfo.idl.

Definition at line 55 of file nsIScriptableInterfaceInfo.idl.

Definition at line 56 of file nsIScriptableInterfaceInfo.idl.

Definition at line 54 of file nsIScriptableInterfaceInfo.idl.

Definition at line 50 of file nsIScriptableInterfaceInfo.idl.

Definition at line 52 of file nsIScriptableInterfaceInfo.idl.

Definition at line 51 of file nsIScriptableInterfaceInfo.idl.

Definition at line 75 of file nsScriptableInterfaceInfo.cpp.


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