WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIInterfaceInfo

IID:215DBE04-94A7-11d2-BA58-00805F8A5DD7
Inherits From:nsISupports

Properties

readonly PRUint16 constantCount

readonly nsIIDPtr InterfaceIID

readonly PRUint16 methodCount

These include counts for parent (and all ancestors).

readonly char* name

readonly nsIInterfaceInfo parent


Methods

void getConstant ( PRUint16 index , out nsXPTConstantPtr* constant ) nsIIDPtr getIIDForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param ) [notxpcom] nsresult getIIDForParamNoAlloc ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , out nsIID iid ) void getIIDShared ( out nsIIDPtrShared iid ) nsIInterfaceInfo getInfoForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param ) PRUint8 getInterfaceIsArgNumberForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param ) PRUint8 getLengthIsArgNumberForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , PRUint16 dimension ) void getMethodInfo ( PRUint16 index , out nsXPTMethodInfoPtr* info ) void getMethodInfoForName ( char* methodName , out PRUint16 index , out nsXPTMethodInfoPtr* info ) void getNameShared ( out char* name ) PRUint8 getSizeIsArgNumberForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , PRUint16 dimension ) nsXPTType getTypeForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , PRUint16 dimension ) PRBool hasAncestor ( nsIIDPtr iid ) PRBool isFunction ( ) PRBool isIID ( nsIIDPtr IID ) PRBool isScriptable ( )

void getConstant ( PRUint16 index , out nsXPTConstantPtr* constant )

Arguments:
index
constant

nsIIDPtr getIIDForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param )

Arguments:
methodIndex
param

[notxpcom] nsresult getIIDForParamNoAlloc ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , out nsIID iid )

Arguments:
methodIndex
param
iid

void getIIDShared ( out nsIIDPtrShared iid )

Arguments:
iid

nsIInterfaceInfo getInfoForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param )

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

Arguments:
methodIndex
param

PRUint8 getInterfaceIsArgNumberForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param )

Arguments:
methodIndex
param

PRUint8 getLengthIsArgNumberForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , PRUint16 dimension )

Arguments:
methodIndex
param
dimension

void getMethodInfo ( PRUint16 index , out nsXPTMethodInfoPtr* info )

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

These do *not* make copies ***explicit bending of XPCOM rules***.

Arguments:
index
info

void getMethodInfoForName ( char* methodName , out PRUint16 index , out nsXPTMethodInfoPtr* info )

Arguments:
methodName
index
info

void getNameShared ( out char* name )

Arguments:
name

PRUint8 getSizeIsArgNumberForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , PRUint16 dimension )

Arguments:
methodIndex
param
dimension

nsXPTType getTypeForParam ( PRUint16 methodIndex , nsXPTParamInfoPtr* param , PRUint16 dimension )

These do *not* make copies ***explicit bending of XPCOM rules***.

Arguments:
methodIndex
param
dimension

PRBool hasAncestor ( nsIIDPtr iid )

Arguments:
iid

PRBool isFunction ( )


PRBool isIID ( nsIIDPtr IID )

Arguments:
IID

PRBool isScriptable ( )


References

This interface is the type of the following properties:

nsIInterfaceInfo.parent, nsIXPConnectWrappedJS.InterfaceInfo

This interface is passed as an argument to the following methods:

nsIXPCFunctionThisTranslator.TranslateThis

This interface is returned from the following methods:

nsIInterfaceInfo.getInfoForParam, nsIInterfaceInfoManager.getInfoForIID, nsIInterfaceInfoManager.getInfoForName, nsIXPConnectWrappedNative.FindInterfaceWithMember, nsIXPConnectWrappedNative.FindInterfaceWithName

Reference documentation is generated from Mozilla's source.