Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
nsScriptableInterfaceInfo Class Reference

#include <iixprivate.h>

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

List of all members.

Public Member Functions

 nsScriptableInterfaceInfo ()
 nsScriptableInterfaceInfo (nsIInterfaceInfo *aInfo)
virtual ~nsScriptableInterfaceInfo ()
void init (in nsIIDPtr aIID)
void initWithName (in string name)
nsIScriptableMethodInfo getMethodInfo (in PRUint16 index)
 These include methods and constants for parent (and all ancestors).
nsIScriptableMethodInfo getMethodInfoForName (in string methodName, out PRUint16 index)
nsIScriptableConstant getConstant (in PRUint16 index)
nsIScriptableInterfaceInfo getInfoForParam (in PRUint16 methodIndex, in nsIScriptableParamInfo param)
 Get the interface information or iid associated with a param of some method in this interface.
nsIIDPtr getIIDForParam (in PRUint16 methodIndex, in nsIScriptableParamInfo param)
nsIScriptableDataType getTypeForParam (in PRUint16 methodIndex, in nsIScriptableParamInfo param, in PRUint16 dimension)
PRUint8 getSizeIsArgNumberForParam (in PRUint16 methodIndex, in nsIScriptableParamInfo param, in PRUint16 dimension)
PRUint8 getLengthIsArgNumberForParam (in PRUint16 methodIndex, in nsIScriptableParamInfo param, in PRUint16 dimension)
PRUint8 getInterfaceIsArgNumberForParam (in PRUint16 methodIndex, in nsIScriptableParamInfo param)
PRBool isIID (in nsIIDPtr IID)
PRBool hasAncestor (in nsIIDPtr iid)

Static Public Member Functions

NS_DECL_ISUPPORTS static
NS_DECL_NSISCRIPTABLEINTERFACEINFO
nsresult 
Create (nsIInterfaceInfo *aInfo, nsIScriptableInterfaceInfo **aResult)

Public Attributes

attribute nsIInterfaceInfo info
readonly attribute string name
readonly attribute nsIIDPtr interfaceID
readonly attribute PRBool isValid
 True if this object has been sucessfully set to wrap an interface info.
readonly attribute PRBool isScriptable
readonly attribute
nsIScriptableInterfaceInfo 
parent
readonly attribute PRUint16 methodCount
 These include counts for parent (and all ancestors).
readonly attribute PRUint16 constantCount
readonly attribute PRBool isFunction

Private Attributes

nsCOMPtr< nsIInterfaceInfomInfo

Detailed Description

Definition at line 174 of file iixprivate.h.


Constructor & Destructor Documentation

Definition at line 494 of file nsScriptableInterfaceInfo.cpp.

{
}

Here is the caller graph for this function:

Definition at line 498 of file nsScriptableInterfaceInfo.cpp.

    : mInfo(aInfo)
{
}

Definition at line 503 of file nsScriptableInterfaceInfo.cpp.

{
    // empty;
}

Member Function Documentation

Definition at line 481 of file nsScriptableInterfaceInfo.cpp.

Here is the call graph for this function:

nsIIDPtr nsIScriptableInterfaceInfo::getIIDForParam ( in PRUint16  methodIndex,
in nsIScriptableParamInfo  param 
) [inherited]

Get the interface information or iid associated with a param of some method in this interface.

These include methods and constants for parent (and all ancestors).

PRBool nsIScriptableInterfaceInfo::hasAncestor ( in nsIIDPtr  iid) [inherited]
void nsIScriptableInterfaceInfo::init ( in nsIIDPtr  aIID) [inherited]
PRBool nsIScriptableInterfaceInfo::isIID ( in nsIIDPtr  IID) [inherited]

Member Data Documentation

Definition at line 128 of file nsIScriptableInterfaceInfo.idl.

Definition at line 106 of file nsIScriptableInterfaceInfo.idl.

readonly attribute nsIIDPtr nsIScriptableInterfaceInfo::interfaceID [inherited]

Definition at line 113 of file nsIScriptableInterfaceInfo.idl.

Definition at line 171 of file nsIScriptableInterfaceInfo.idl.

Definition at line 120 of file nsIScriptableInterfaceInfo.idl.

True if this object has been sucessfully set to wrap an interface info.

Definition at line 118 of file nsIScriptableInterfaceInfo.idl.

These include counts for parent (and all ancestors).

Definition at line 127 of file nsIScriptableInterfaceInfo.idl.

Definition at line 188 of file iixprivate.h.

Definition at line 111 of file nsIScriptableInterfaceInfo.idl.

Definition at line 122 of file nsIScriptableInterfaceInfo.idl.


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