home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
cadfeature.tcl
< prev
next >
Wrap
Text File
|
1996-06-11
|
2KB
|
62 lines
#---------------------------------------------------------------------------
#
# (c) Cadre Technologies Inc. 1996
#
# File: @(#)cadfeature.tcl /main/2
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)cadfeature.tcl /main/2 11 Jun 1996 Copyright 1996 Cadre Technologies Inc.
# Start user added include file section
# End user added include file section
require "cadcdmcomp.tcl"
Class CADFeature : {CADCDMComp} {
method destructor
constructor
method getMatrixComponent
method theClass
attribute row
attribute _theClass
}
method CADFeature::destructor {this} {
# Start destructor user section
# End destructor user section
$this CADCDMComp::destructor
}
constructor CADFeature {class this theClass row} {
set this [CADCDMComp::constructor $class $this]
$this _theClass $theClass
[$theClass _featureSet] append $this
$this row $row
# Start constructor user section
# End constructor user section
return $this
}
method CADFeature::getMatrixComponent {this} {
return [$this row]
}
# Do not delete this line -- regeneration end marker
method CADFeature::theClass {this args} {
if {$args == ""} {
return [$this _theClass]
}
set ref [$this _theClass]
if {$ref != ""} {
[$ref _featureSet] removeValue $this
}
set obj [lindex $args 0]
if {$obj != ""} {
[$obj _featureSet] append $this
}
$this _theClass $obj
}