ErrorMsg << "WOKUtils_Param::LoadParamClass"
<< "Too many include levels while loading file : " << afile << endm;
break;
+ case EDL_FILENOTFOUND:
+ ErrorMsg << "WOKUtils_Param::LoadParamClass"
+ << "File not found : " << afile << endm;
+ break;
}
return Standard_False;
}
-proc WOKUtils_Replace::AdmFileType {} {
+proc WOKUtils_Replace:AdmFileType {} {
return "dbadmfile";
}
-proc WOKUtils_Replace::OutputDirTypeName {} {
+proc WOKUtils_Replace:OutputDirTypeName {} {
return "dbtmpfile";
}
-proc WOKUtils_Replace::HandleInputFile { ID } {
+proc WOKUtils_Replace:HandleInputFile { ID } {
scan $ID "%\[^:\]:%\[^:\]:%\[^:\]" unit type name
}
}
-proc WOKUtils_Replace::Execute { unit args } {
+proc WOKUtils_Replace:Execute { unit args } {
global tcl_interactive
set tcl_interactive 1
package require Wokutils
- msgprint -i -c "WOKUtils_Replace::Execute" "Copying of WOKUtils includes"
+ msgprint -i -c "WOKUtils_Replace:Execute" "Copying of WOKUtils includes"
if { [wokparam -e %Station $unit] != "wnt" } {
set copycmd "cp -p "
}
if { ! $result } {
- msgprint -i -c "WOKUtils_Replace::Execute" "Copy $source to $target"
+ msgprint -i -c "WOKUtils_Replace:Execute" "Copy $source to $target"
if { [file exist $target] && [wokparam -e %Station $unit] != "wnt" } {
eval exec "chmod u+w $target"
}
eval exec "$copycmd $TheArgs"
} else {
- msgprint -i -c "WOKUtils_Replace::Execute" "No change in $source"
+ msgprint -i -c "WOKUtils_Replace:Execute" "No change in $source"
}
}
return 0;
//purpose :
//=======================================================================
WOKUtils_Trigger::WOKUtils_Trigger()
- : mystat(WOKUtils_Unknown), myidx(1)
+ : myidx(1), mystat(WOKUtils_Unknown)
{
}
InfoMsg << "DefaultHandler" << "Arg " << i << " is : " << astrval->Value() << endm;
}
break;
+ default: break;
}
}
return WOKUtils_Unknown;
--- File: WOKUtils_WOKSteps.edl
--- Author: Jean GAUTIER
--- History: Tue Aug 12 17:12:59 1997 Jean GAUTIER Creation
--- Copyright: Matra Datavision 1997
-
-@ifnotdefined ( %WOKUtils_WOKSteps_EDL) then
-@set %WOKUtils_WOKSteps_EDL = "";
-
-
-@string %WOKSteps_XcppGroup += "xcpp.repl";
-@set %WOKSteps_xcpp_repl = "*WOKUtils_Replace(xcpp.header)";
-
+@ifnotdefined ( %WOKUtils_WOKSteps_EDL ) then
+ @set %WOKUtils_WOKSteps_EDL = "";
+ @string %WOKSteps_XcppGroup += "xcpp.repl";
+ @set %WOKSteps_xcpp_repl = "*WOKUtils_Replace(xcpp.header)";
@endif;
+