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)
commit5a6cd644b6216a0f23ff3fe4c32dba3200bd0b90 (patch)
tree042154a9e8b9a31882c87cd9d2c13a7368683e34 /doc/object.n
parent81bd85f2b61d7176482e2a2df0878f7368cd654d (diff)
downloadtcl-5a6cd644b6216a0f23ff3fe4c32dba3200bd0b90.zip
tcl-5a6cd644b6216a0f23ff3fe4c32dba3200bd0b90.tar.gz
tcl-5a6cd644b6216a0f23ff3fe4c32dba3200bd0b90.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.