diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-03-27 08:21:12 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-03-27 08:21:12 (GMT) |
| commit | bd4ee7bdfc0c20fbb365e4ef1d5a1f523be48ce9 (patch) | |
| tree | 042154a9e8b9a31882c87cd9d2c13a7368683e34 /doc/object.n | |
| parent | 5bb8224cd0f027966b82d091c86a453be6e3c2d8 (diff) | |
| download | tcl-bd4ee7bdfc0c20fbb365e4ef1d5a1f523be48ce9.zip tcl-bd4ee7bdfc0c20fbb365e4ef1d5a1f523be48ce9.tar.gz tcl-bd4ee7bdfc0c20fbb365e4ef1d5a1f523be48ce9.tar.bz2 | |
Implementation of TIP #397
Diffstat (limited to 'doc/object.n')
| -rw-r--r-- | doc/object.n | 10 |
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. |
