home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
vacpptarget.tcl
< prev
next >
Wrap
Text File
|
1997-11-10
|
4KB
|
138 lines
#---------------------------------------------------------------------------
#
# Copyright (c) 1997 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 : vacpptarget.tcl
# Author :
# Original date : November 1997
# Description : Classes for code generation
#
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
# File: @(#)vacppclass.tcl /main/titanic/2
#---------------------------------------------------------------------------
# Start user added include file section
# End user added include file section
Class VACPPClass : {VAClass} {
constructor
method destructor
method generateBeginSub
attribute includeFileName
attribute includeDefine
}
constructor VACPPClass {class this} {
set this [VAClass::constructor $class $this]
# Start constructor user section
# End constructor user section
return $this
}
method VACPPClass::destructor {this} {
# Start destructor user section
# End destructor user section
$this VAClass::destructor
}
method VACPPClass::generateBeginSub {this section} {
$section append "//VBIncludes: \"[$this includeFileName]\""
if {[$this includeDefine] != ""} {
$section append " [$this includeDefine]"
}
$section append "\n"
}
# Do not delete this line -- regeneration end marker
#---------------------------------------------------------------------------
# File: @(#)vacppenums.tcl /main/titanic/2
#---------------------------------------------------------------------------
# Start user added include file section
# End user added include file section
Class VACPPEnums : {VAEnums} {
constructor
method destructor
method generateBeginSub
attribute includeFileName
attribute includeDefine
}
constructor VACPPEnums {class this} {
set this [VAEnums::constructor $class $this]
# Start constructor user section
# End constructor user section
return $this
}
method VACPPEnums::destructor {this} {
# Start destructor user section
# End destructor user section
$this VAEnums::destructor
}
method VACPPEnums::generateBeginSub {this section} {
$section append "//VBIncludes: \"[$this includeFileName]\""
if {[$this includeDefine] != ""} {
$section append " [$this includeDefine]"
}
$section append "\n"
}
# Do not delete this line -- regeneration end marker
#---------------------------------------------------------------------------
# File: @(#)vacpptyped.tcl /main/titanic/2
#---------------------------------------------------------------------------
# Start user added include file section
# End user added include file section
Class VACPPTypeDef : {VATypeDef} {
constructor
method destructor
method generateBeginSub
attribute includeFileName
attribute includeDefine
}
constructor VACPPTypeDef {class this} {
set this [VATypeDef::constructor $class $this]
# Start constructor user section
# End constructor user section
return $this
}
method VACPPTypeDef::destructor {this} {
# Start destructor user section
# End destructor user section
$this VATypeDef::destructor
}
method VACPPTypeDef::generateBeginSub {this section} {
$section append "//VBIncludes: \"[$this includeFileName]\""
if {[$this includeDefine] != ""} {
$section append " [$this includeDefine]"
}
$section append "\n"
}
# Do not delete this line -- regeneration end marker