#include "TclXPCOMPrivate.h"
Go to the source code of this file.
Defines | |
#define | NUM_COMMANDS 12 |
Functions | |
int | GetInterfaceInfoFromObj (Tcl_Interp *interp, Tcl_Obj *objPtr, nsIInterfaceInfo **interfaceinfo) |
int | VerifyNsIDObj (Tcl_Interp *interp, Tcl_Obj *iidobj, int flags) |
int | GetClassInfoFromInterfaceList (Tcl_Interp *interp, Tcl_Obj *interfaces, int flags, ClassInfo **cinfo) |
int | GetOverrideSwitches (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], int *baseindex, int *flags) |
int | TclXPCOM_WrapObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_InvokeObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_InfoObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_ThisObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_ConstantObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_NullObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_IsNullObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_PointerObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_AddressObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_FromStringObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_SetReturnCodeObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
int | TclXPCOM_IdObjCmd (ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) |
void | TclXPCOM_RegisterCommands (Tcl_Interp *interp) |
Variables | |
struct { | |
char * command | |
Tcl_ObjCmdProc * cmdproc | |
ClientData clientdata | |
} | cmdtable [NUM_COMMANDS] |
Contains functions that implement the 'xpcom' Tcl command.
Definition in file TclXPCOMCmds.cpp.
|
Definition at line 977 of file TclXPCOMCmds.cpp. Referenced by TclXPCOM_RegisterCommands. |
|
Retrieves the interface info from a Tcl object. If 'objPtr' does not contain a valid and known interface name, then an error message will be set in 'interp'.
Definition at line 52 of file TclXPCOMCmds.cpp. References TclXPCOM_GetNsIDFromObj. Referenced by TclXPCOM_ConstantObjCmd, TclXPCOM_InfoObjCmd, and VerifyNsIDObj. |
|
Verifies a given interface name is known and is reflectable.
Definition at line 91 of file TclXPCOMCmds.cpp. References FORCE_HIDDEN, FORCE_NOTSCRIPTABLE, FORCE_NOTXPCOM, GetInterfaceInfoFromObj, and TclXPCOM_CheckInterfaceIsReflectable. Referenced by GetClassInfoFromInterfaceList. |
|
Resolves a list of interfaces to a ClassInfo.
Definition at line 123 of file TclXPCOMCmds.cpp. References FORCE_HIDDEN, FORCE_NOTSCRIPTABLE, FORCE_NOTXPCOM, TclXPCOM_GetClassInfo, TclXPCOM_GetNsIDFromObj, and VerifyNsIDObj. Referenced by TclXPCOM_InfoObjCmd, and TclXPCOM_WrapObjCmd. |
|
Processes the reflection override switches for a command. 'baseindex' should hold the index at which to start reading from 'objv', and, upon successful completion, will be set to the index of the argument following the switches that were processed.
Definition at line 195 of file TclXPCOMCmds.cpp. References FORCE_HIDDEN, FORCE_NOTSCRIPTABLE, and FORCE_NOTXPCOM. Referenced by TclXPCOM_InvokeObjCmd, and TclXPCOM_WrapObjCmd. |
|
Processes the 'xpcom::wrap' command in the given interpreter.
Definition at line 270 of file TclXPCOMCmds.cpp. References BindScript, FreeTclXPCOMComponent, GetClassInfoFromInterfaceList, GetOverrideSwitches, NewTclXPCOMComponent, TclXPCOMComponent::stubs, and TclXPCOM_NewISupportsObj. |
|
Processes the 'xpcom::invoke' command in the given interpreter.
Definition at line 371 of file TclXPCOMCmds.cpp. References GetInterfaceRef, GetMethodFromIRef, GetMethodInfo, GetOverrideSwitches, INTERFACEINFO_GETTER, INTERFACEINFO_METHOD, INTERFACEINFO_SETTER, QueryInterfaceIRef, MethodInfo::tclparamcount, TclXPCOM_CheckInterfaceIsReflectable, TclXPCOM_CheckMethodIsReflectable, TclXPCOM_GetISupportsFromObj, TclXPCOM_Invoke, and TclXPCOM_ListMethodArguments. |
|
Processes the 'xpcom::info' command in the given interpreter.
Definition at line 488 of file TclXPCOMCmds.cpp. References command, FORCE_NOTSCRIPTABLE, GetClassInfoFromInterfaceList, GetInterfaceInfoFromObj, IdentifierInfo_::indices, INTERFACEINFO_GETTER, INTERFACEINFO_METHOD, TclXPCOM_GetAttributeType, TclXPCOM_GetIdentifierInfoFromClass, TclXPCOM_GetReturnValueType, TclXPCOM_ListClassAttributes, TclXPCOM_ListClassMethods, TclXPCOM_ListInterfaceConstants, TclXPCOM_ListMethodArguments, and TclXPCOM_NewISupportsObj. |
|
Processes the 'xpcom::this' command in the given interpreter.
Definition at line 673 of file TclXPCOMCmds.cpp. References TclXPCOM_GetCurrentComponentContext, and TclXPCOM_NewISupportsObj. |
|
Processes the 'xpcom::constant' command in the given interpreter.
Definition at line 710 of file TclXPCOMCmds.cpp. References GetInterfaceInfoFromObj, and TclXPCOM_GetConstant. |
|
Processes the 'xpcom::null' command in the given interpreter.
Definition at line 752 of file TclXPCOMCmds.cpp. References TclXPCOM_NewPointerObj. |
|
Processes the 'xpcom::isnull' command in the given interpreter.
Definition at line 777 of file TclXPCOMCmds.cpp. References TclXPCOM_IsNULL. |
|
Processes the 'xpcom::pointer' command in the given interpreter.
Definition at line 802 of file TclXPCOMCmds.cpp. References TclXPCOM_NewPointerObj. |
|
Processes the 'xpcom::address' command in the given interpreter.
Definition at line 837 of file TclXPCOMCmds.cpp. References TclXPCOM_GetPointerFromObj. |
|
Processes the 'xpcom::fromstring' command in the given interpreter.
Definition at line 873 of file TclXPCOMCmds.cpp. |
|
Processes the 'xpcom::setReturnCode' command in the given interpreter.
Definition at line 907 of file TclXPCOMCmds.cpp. References TclXPCOM_SetReturnCode. |
|
Processes the 'xpcom::id' command in the given interpreter.
Definition at line 947 of file TclXPCOMCmds.cpp. References TclXPCOM_GetNsIDFromObj. |
|
Registers the TclXPCOM 'C'-implemented commands in the given interpreter.
Definition at line 1010 of file TclXPCOMCmds.cpp. References clientdata, cmdproc, cmdtable, command, and NUM_COMMANDS. |
|
Definition at line 981 of file TclXPCOMCmds.cpp. Referenced by TclXPCOM_InfoObjCmd, and TclXPCOM_RegisterCommands. |
|
Definition at line 982 of file TclXPCOMCmds.cpp. Referenced by TclXPCOM_RegisterCommands. |
|
Definition at line 983 of file TclXPCOMCmds.cpp. Referenced by TclXPCOM_RegisterCommands. |
|
Referenced by TclXPCOM_RegisterCommands. |