summaryrefslogtreecommitdiffstats
path: root/doc/object.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-03-27 08:21:12 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-03-27 08:21:12 (GMT)
commit4d9e1c8453091e516efd3919546e5c88e768b53a (patch)
tree042154a9e8b9a31882c87cd9d2c13a7368683e34 /doc/object.n
parent543416450d89c9fdc7df13eea26715813d861a91 (diff)
downloadtcl-4d9e1c8453091e516efd3919546e5c88e768b53a.zip
tcl-4d9e1c8453091e516efd3919546e5c88e768b53a.tar.gz
tcl-4d9e1c8453091e516efd3919546e5c88e768b53a.tar.bz2
Implementation of TIP #397
Diffstat (limited to 'doc/object.n')
-rw-r--r--doc/object.n10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/object.n b/doc/object.n
index 3a948a4..6737e7e 100644
--- a/doc/object.n
+++ b/doc/object.n
@@ -91,6 +91,16 @@ must not have any namespace separators in it. The result is the empty string.
.
This method returns the globally qualified name of the variable \fIvarName\fR
in the unique namespace for the object \fIobj\fR.
+.TP
+\fIobj \fB<cloned> \fIsourceObjectName\fR
+.VS
+This method is used by the \fBoo::object\fR command to copy the state of one
+object to another. It is responsible for copying the procedures and variables
+of the namespace of the source object (\fIsourceObjectName\fR) to the current
+object. It does not copy any other types of commands or any traces on the
+variables; that can be added if desired by overriding this method in a
+subclass.
+.VE
.SH EXAMPLES
.PP
This example demonstrates basic use of an object.