tcl.lang.InternalRep -- An interface for any internal representations
that can be stored in a TclObject.
void dispose()
InternalRep duplicate()
String toString()
The InternalRep interface defines the signatures that must be
supported by any class that is going to be an internal representation
in Tcl. The following methods must be implemented:
- dispose
-
The dispose method is called when an InternalRep is no longer
used by Tcl. It should free all the resources used by this InternalRep
instance.
- duplicate
-
The duplicate method is called when an exact copy of the
InternalRep is needed during a copy-on-write operation.
- toString
-
The toString method is called when a string representation is
needed for a TclObject.
Tcl_ObjType.freeProc, Tcl_ObjType.dupIntRepProc, Tcl_ObjType.updateStringProc
TclObject, TclList, TclIndex, TclDouble, TclString, TclInteger, TclBoolean, ReflectObject
internal representation, object, object type
Copyright © 1996-1998 Sun Microsystems, Inc.
Copyright © 1995-1997 Roger E. Critchlow Jr.