home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)ccsysversi.tcl /main/hindenburg/5
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)ccsysversi.tcl /main/hindenburg/5 16 May 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require_module_file "ccsystem.tcl" clearcase
- require_module_file "vssystemve.tcl" vcm
-
- # This class represents a ClearCase aware system
- # for code generation.
-
- Class CCSysVersion : {CCSystem VSSystemVersion} {
- constructor
- method destructor
- method promoteFile
- method promoter
- method path
- method localFileVersions
- }
-
- constructor CCSysVersion {class this name} {
- set this [CCSystem::constructor $class $this $name]
- set this [VSSystemVersion::constructor $class $this $name]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method CCSysVersion::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this CCSystem::destructor
- $this VSSystemVersion::destructor
- }
-
-
- # Promote file to a CCFileLink.
- #
- method CCSysVersion::promoteFile {this file} {
- CCFileLink promote $file
- }
-
-
- # Call promoter in VSSystemVersion.
- #
- method CCSysVersion::promoter {this} {
- $this VSSystemVersion::promoter
- }
-
-
- # Call path of CCSystem.
- #
- method CCSysVersion::path {this} {
- return [$this CCSystem::path]
- }
-
-
- # Resolve ambiguity: call localFileVersions of CCSystem.
- #
- method CCSysVersion::localFileVersions {this} {
- return [$this CCSystem::localFileVersions]
- }
-
- # Do not delete this line -- regeneration end marker
-