home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
ccsysversi.tcl
< prev
next >
Wrap
Text File
|
1997-06-06
|
2KB
|
77 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)ccsysversi.tcl /main/titanic/5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)ccsysversi.tcl /main/titanic/5 6 Jun 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
}
selfPromoter SystemVersion {this} {
CCSysVersion promote $this
}
# 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