📄 node15.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>3.4 Class TclObject</TITLE><META NAME="description" CONTENT="3.4 Class TclObject"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node24.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node24.html"><LINK REL="previous" HREF="node8.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node8.html"><LINK REL="up" HREF="node5.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node5.html"><LINK REL="next" HREF="node16.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node16.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html1364" HREF="node16.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node16.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html1358" HREF="node5.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node5.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html1352" HREF="node14.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node14.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html1360" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html1362" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html1365" HREF="node16.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node16.html">3.4.0.0.1 Differences from v1</A><B> Up:</B> <A NAME="tex2html1359" HREF="node5.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node5.html">3. OTcl Linkage</A><B> Previous:</B> <A NAME="tex2html1353" HREF="node14.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node14.html">3.3.6 Other Operations on</A>   <B> <A NAME="tex2html1361" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html1363" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION02140000000000000000"></A><A NAME="sec:TclObject"></A><BR>3.4 Class TclObject</H1><P>TclObject../Tcl/Tcl.his the base class for most of the other classesin the interpreted and compiled hierarchies.Every object in the class TclObject is created by the userfrom within the interpreter.An equivalent shadow object is created in the compiled hierarchy.The two objects are closely associated with each other.The class TclClass, described in the next section,contains the mechanisms that perform this shadowing.<P>In the rest of this document, we often refer to an object as a TclObject<A NAME="tex2html5" HREF="footnode.html#foot822" tppabs="http://www.isi.edu/nsnam/ns/doc/footnode.html#foot822"><SUP>3.1</SUP></A>.By this, we refer to a particular object that is either in the classTclObject, or in a class that is derived from the class TclObject.If it is necessary, we will explicitly qualify whether that object isan object within the interpreter, or an object within the compiled code.In such cases,we will use the abbreviations ``interpreted object'', and``compiled object'' to distinguish the two.and within the compiled code respectively.<P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><UL><LI><UL><LI><A NAME="tex2html1366" HREF="node16.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node16.html">3.4.0.0.1 Differences from v1</A><LI><A NAME="tex2html1367" HREF="node17.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node17.html">3.4.0.0.2 Example configuration of a TclObject</A></UL></UL><BR><LI><A NAME="tex2html1368" HREF="node18.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node18.html">3.4.1 Creating and Destroying TclObjects</A><UL><LI><A NAME="tex2html1369" HREF="node19.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node19.html">3.4.1.0.1 Creating TclObjects</A><LI><A NAME="tex2html1370" HREF="node20.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node20.html">3.4.1.0.2 Deletion of TclObjects</A></UL><BR><LI><A NAME="tex2html1371" HREF="node21.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node21.html">3.4.2 Variable Bindings</A><LI><A NAME="tex2html1372" HREF="node22.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node22.html">3.4.3 Variable Tracing</A><LI><A NAME="tex2html1373" HREF="node23.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node23.html">3.4.4 command Methods: Definition and Invocation</A></UL><!--End of Table of Child-Links--><HR><!--Navigation Panel--><A NAME="tex2html1364" HREF="node16.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node16.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html1358" HREF="node5.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node5.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html1352" HREF="node14.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node14.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html1360" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html1362" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html1365" HREF="node16.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node16.html">3.4.0.0.1 Differences from v1</A><B> Up:</B> <A NAME="tex2html1359" HREF="node5.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node5.html">3. OTcl Linkage</A><B> Previous:</B> <A NAME="tex2html1353" HREF="node14.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node14.html">3.3.6 Other Operations on</A>   <B> <A NAME="tex2html1361" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html1363" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <!--End of Navigation Panel--><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -