|
Compounds |
| struct | OTclClass |
| struct | OTclClasses |
| struct | OTclObject |
Defines |
| #define | TclIsVarUndefined(varPtr) ((varPtr)->flags == VAR_UNDEFINED) |
| #define | ObjVarTablePtr(OBJ) (&(OBJ)->variables.varTable) |
| #define | compat_Tcl_AddObjErrorInfo(a, b, c) Tcl_AddErrorInfo(a,b) |
| #define | OTCLSMALLARGS 8 |
| #define | MAXTCLPROC 4096 |
Typedefs |
| typedef OTclObject | OTclObject |
| typedef OTclClass | OTclClass |
| typedef OTclClasses | OTclClasses |
Enumerations |
| enum | colors { WHITE,
GRAY,
BLACK
} |
Functions |
| int | OTclErrMsg (Tcl_Interp *in, char *msg, Tcl_FreeProc *type) |
| int | OTclErrArgCnt (Tcl_Interp *in, char *cmdname, char *arglist) |
| int | OTclErrBadVal (Tcl_Interp *in, char *expected, char *value) |
| int | OTclErrType (Tcl_Interp *in, char *nm, char *wt) |
| int | TopoSort (OTclClass *cl, OTclClass *base, OTclClasses *(*next)(OTclClass *)) |
| void | RC (OTclClasses *sl) |
| OTclClasses * | Super (OTclClass *cl) |
| OTclClasses * | ComputePrecedence (OTclClass *cl) |
| OTclClasses * | Sub (OTclClass *cl) |
| OTclClasses * | ComputeDependents (OTclClass *cl) |
| void | FlushPrecedences (OTclClass *cl) |
| void | AddInstance (OTclObject *obj, OTclClass *cl) |
| int | RemoveInstance (OTclObject *obj, OTclClass *cl) |
| void | AS (OTclClass *cl, OTclClass *s, OTclClasses **sl) |
| void | AddSuper (OTclClass *cl, OTclClass *super) |
| int | RS (OTclClass *cl, OTclClass *s, OTclClasses **sl) |
| int | RemoveSuper (OTclClass *cl, OTclClass *super) |
| OTclClass * | InObject (Tcl_Interp *in) |
| OTclClass * | InClass (Tcl_Interp *in) |
| int | IsType (OTclObject *obj, OTclClass *type) |
| int | LookupMethod (Tcl_HashTable *methods, char *nm, Tcl_CmdProc **pr, ClientData *cd, Tcl_CmdDeleteProc **dp) |
| OTclClass * | SearchCMethod (OTclClasses *pl, char *nm, Tcl_CmdProc **pr, ClientData *cd, Tcl_CmdDeleteProc **dp) |
| int | OTclDispatch (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| void | AutoLoaderDP (ClientData cd) |
| int | AutoLoader (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | MakeAuto (Tcl_CmdInfo *proc, char *loader) |
| void | AddMethod (Tcl_HashTable *methods, char *nm, Tcl_CmdProc *pr, ClientData cd, Tcl_CmdDeleteProc *dp, ClientData dd) |
| int | RemoveMethod (Tcl_HashTable *methods, char *nm, ClientData cd) |
| int | MakeProc (Tcl_CmdInfo *proc, Tcl_Interp *in, int argc, char *argv[]) |
| void | ListKeys (Tcl_Interp *in, Tcl_HashTable *table, char *pattern) |
| void | ListInstanceKeys (Tcl_Interp *in, Tcl_HashTable *table, char *pattern) |
| void | ListProcKeys (Tcl_Interp *in, Tcl_HashTable *table, char *pattern) |
| Proc * | FindProc (Tcl_HashTable *table, char *name) |
| int | ListProcArgs (Tcl_Interp *in, Tcl_HashTable *table, char *name) |
| int | ListProcDefault (Tcl_Interp *in, Tcl_HashTable *table, char *name, char *arg, char *var) |
| int | ListProcBody (Tcl_Interp *in, Tcl_HashTable *table, char *name) |
| void | PrimitiveOInit (void *mem, Tcl_Interp *in, char *name, OTclClass *cl) |
| void | PrimitiveODestroyNoFree (ClientData cd) |
| void | PrimitiveODestroy (ClientData cd) |
| OTclObject * | PrimitiveOCreate (Tcl_Interp *in, char *name, OTclClass *cl) |
| void | PrimitiveCInit (void *mem, Tcl_Interp *in, char *name, OTclClass *class) |
| void | PrimitiveCDestroy (ClientData cd) |
| OTclClass * | PrimitiveCCreate (Tcl_Interp *in, char *name, OTclClass *class) |
| int | OTclOAllocMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclOInitMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclODestroyMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclOClassMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclCInfoMethod (ClientData, Tcl_Interp *, int, char *[]) |
| int | OTclOInfoMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclOProcMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclONextMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclOSetMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclOUnsetMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclOInstVarOne (OTclObject *obj, Tcl_Interp *in, char *frameName, char *varName, char *localName, int flags) |
| int | OTclOInstVarMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclCAllocMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclCCreateMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclCSuperClassMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| int | OTclCInstProcMethod (ClientData cd, Tcl_Interp *in, int argc, char *argv[]) |
| OTclObject * | OTclAsObject (Tcl_Interp *in, ClientData cd) |
| OTclClass * | OTclAsClass (Tcl_Interp *in, ClientData cd) |
| OTclObject * | OTclGetObject (Tcl_Interp *in, char *name) |
| OTclClass * | OTclGetClass (Tcl_Interp *in, char *name) |
| OTclObject * | OTclCreateObject (Tcl_Interp *in, char *name, OTclClass *cl) |
| OTclClass * | OTclCreateClass (Tcl_Interp *in, char *name, OTclClass *cl) |
| int | OTclDeleteObject (Tcl_Interp *in, OTclObject *obj) |
| int | OTclDeleteClass (Tcl_Interp *in, OTclClass *cl) |
| void | OTclAddPMethod (OTclObject *obj, char *nm, Tcl_CmdProc *proc, ClientData cd, Tcl_CmdDeleteProc *dp) |
| void | OTclAddIMethod (OTclClass *cl, char *nm, Tcl_CmdProc *proc, ClientData cd, Tcl_CmdDeleteProc *dp) |
| int | OTclRemovePMethod (OTclObject *obj, char *nm) |
| int | OTclRemoveIMethod (OTclClass *cl, char *nm) |
| int | OTclNextMethod (OTclObject *obj, Tcl_Interp *in, int argc, char *argv[]) |
| char * | OTclSetInstVar (OTclObject *obj, Tcl_Interp *in, char *name, char *value, int flgs) |
| char * | OTclGetInstVar (OTclObject *obj, Tcl_Interp *in, char *name, int flgs) |
| int | OTclUnsetInstVar (OTclObject *obj, Tcl_Interp *in, char *name, int flgs) |
| void | OTclSetObjectData (OTclObject *obj, OTclClass *cl, ClientData data) |
| int | OTclGetObjectData (OTclObject *obj, OTclClass *cl, ClientData *data) |
| int | OTclUnsetObjectData (OTclObject *obj, OTclClass *cl) |
| int | Otcl_Init (Tcl_Interp *in) |
Variables |
| Tcl_HashTable * | theObjects = 0 |
| Tcl_HashTable * | theClasses = 0 |
| Tcl_CmdProc * | ProcInterpId = 0 |