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, nsIScriptableInterfaceInfo.info, nsIXPCNativeCallContext.CalleeInterface, nsIXPConnectWrappedJS.InterfaceInfo

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

nsIGenericInterfaceInfoSet.appendExternalInterface, nsIWebServiceComplexTypeWrapper.Init, nsIWebServicePropertyBagWrapper.Init, nsIWebServiceProxy.Init, nsIXPCFunctionThisTranslator.TranslateThis

This interface is returned from the following methods:

nsIGenericInterfaceInfoSet.interfaceInfoAt, nsIInterfaceInfo.getInfoForParam, nsIInterfaceInfoManager.getInfoForIID, nsIInterfaceInfoManager.getInfoForName, nsIWSPInterfaceInfoService.infoForPort, nsIXPConnectWrappedNative.FindInterfaceWithMember, nsIXPConnectWrappedNative.FindInterfaceWithName

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com