home *** CD-ROM | disk | FTP | other *** search
-
- # Copyright (c) 1996 by Cayenne Software Inc.
- #
- # This software is furnished under a license and may be used only in
- # accordance with the terms of such license and with the inclusion of
- # the above copyright notice. This software or any other copies thereof
- # may not be provided or otherwise made available to any other person.
- # No title to and ownership of the software is hereby transferred.
- #
- # The information in this software is subject to change without notice
- # and should not be construed as a commitment by Cayenne Software Inc
- #
- #---------------------------------------------------------------------------
- #
- # File : @(#)intpropref.tcl /main/titanic/1
- # Author : H. Broeze
- # Original date : 6 Sep 1996
- # Description : Installation of RTM integration
- #
- #---------------------------------------------------------------------------
- #
- # @(#)intpropref.tcl /main/titanic/1 12 Jun 1997 Copyright 1996 Cayenne Software
-
- # Start user added include file section
- require intdictnod.tcl
- # End user added include file section
-
-
- Class INTPropRefContainer : {INTDictNode Object} {
- constructor
- method destructor
- method createContainerChild
- method getChild
- method setChild
- method removeChild
- attribute child
- }
-
- constructor INTPropRefContainer {class this name} {
- set this [INTDictNode::constructor $class $this $name]
- set this [Object::constructor $class $this $name]
- $this child [Dictionary new]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method INTPropRefContainer::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this INTDictNode::destructor
- }
-
- method INTPropRefContainer::createContainerChild {this hashId newName} {
- set newContainerChild [INTPropRefContainer new $newName]
- $this setChild $hashId $newContainerChild
- return $newContainerChild
- }
-
- # Do not delete this line -- regeneration end marker
-
- method INTPropRefContainer::getChild {this hashId} {
- return [[$this child] set $hashId]
- }
-
- method INTPropRefContainer::setChild {this hashId newChild} {
- [$this child] set $hashId $newChild
- }
-
- method INTPropRefContainer::removeChild {this hashId} {
- [$this child] unset $hashId
- }
-
-