WOKAPI_Command_Workbench.cxx
WOKAPI_Command_Unit.cxx
WOKAPI_Command_TriggeredMake.cxx
+
UnSelectAll();
SetForceFlag(Standard_False);
+ Standard_Integer i;
- for(Standard_Integer i=1; i<=defines->Length(); i++)
+ for(i=1; i<=defines->Length(); i++)
{
const WOKTools_Define& adefine = defines->Value(i);
{
WOKTools_MapOfHAsciiString typemap;
- for(Standard_Integer i=1; i<=types.Length(); i++)
+ for(i=1; i<=types.Length(); i++)
{
const Handle(TCollection_HAsciiString)& atype = types.Value(i);
if(!typemap.Contains(atype)) typemap.Add(atype);
{
WOKTools_MapOfHAsciiString typemap;
- for(Standard_Integer i=1; i<=types.Length(); i++)
+ for(i=1; i<=types.Length(); i++)
{
const Handle(TCollection_HAsciiString)& atype = types.Value(i);
if(!typemap.Contains(atype)) typemap.Add(atype);
{
WOKAPI_SequenceOfUnit wbunits;
mybench.Units(wbunits);
- for(Standard_Integer i=1; i<=wbunits.Length(); i++)
+ for(i=1; i<=wbunits.Length(); i++)
{
const WOKAPI_Unit& aunit = wbunits.Value(i);
const Handle(TCollection_HAsciiString)& aname = aunit.Name();
WOKAPI_SequenceOfUnit wbunits;
mybench.Units(wbunits);
- for(Standard_Integer i=1; i<=wbunits.Length(); i++)
+ for(i=1; i<=wbunits.Length(); i++)
{
const WOKAPI_Unit& aunit = wbunits.Value(i);
const Handle(TCollection_HAsciiString)& aname = aunit.Name();
//=======================================================================
void WOKAPI_BuildProcess::UnitSteps(const WOKAPI_Unit& aunit, WOKAPI_SequenceOfMakeStep& aseq) const
{
- const TColStd_SequenceOfHAsciiString& steps = myprocess->GetUnitSteps(aunit.Name());
WOKAPI_MakeStep apistep;
+ const TColStd_SequenceOfHAsciiString& steps = myprocess->GetUnitSteps(aunit.Name());
for(Standard_Integer i=1; i<=steps.Length(); i++)
{
//function : Locate
//purpose :
//=======================================================================
-WOKAPI_Command::Locate(const WOKAPI_Session& asession,
+Standard_Integer WOKAPI_Command::Locate(const WOKAPI_Session& asession,
const Standard_Integer argc, const WOKTools_ArgTable& argv,
WOKTools_Return& returns)
{
aprocess.SetForceFlag(force);
- Standard_Integer status;
+ Standard_Integer status = 0;
if(getsteps)
{
WOKAPI_SequenceOfMakeStep steps;
returns Entity from WOKAPI;
+ Destructor ( me : out );
+ ---C++: alias "Standard_EXPORT virtual ~WOKAPI_Entity () {}"
+
IsValid(me)
returns Boolean from Standard
is virtual;
//purpose :
//=======================================================================
WOKAPI_MakeOption::WOKAPI_MakeOption(const WOKAPI_MakeOption& another)
- : mycode(another.Code()), mytype(another.Type()), mytargets(another.Targets()), myforce(another.IsForced()), myplatforms(another.Platforms())
+ : mycode(another.Code()),
+ myforce(another.IsForced()),
+ mytype(another.Type()),
+ mytargets(another.Targets()),
+ myplatforms(another.Platforms())
{
}
//=======================================================================
const WOKAPI_StepType atype,
const Handle(TColStd_HSequenceOfHAsciiString)& targets,
const Standard_Boolean forced)
- : mycode(astr), mytype(atype), mytargets(targets), myforce(forced)
+ : mycode(astr), myforce(forced), mytype(atype), mytargets(targets)
{
}
//=======================================================================
const Handle(TColStd_HSequenceOfHAsciiString)& targets,
const Standard_Boolean forced,
const Handle(TColStd_HSequenceOfHAsciiString) & platforms)
- : mycode(astr), mytype(atype), mytargets(targets), myforce(forced),myplatforms(platforms)
+ : mycode(astr), myforce(forced), mytype(atype), mytargets(targets), myplatforms(platforms)
{
}
static char WorkbenchStr[] = "Workbench";
static char ModeStr[] = "Mode";
- static char DebugStr[] = "Debug";
- static char OptimiseStr[] = "Optimise";
static char DBMSStr[] = "DBMS";
Standard_Boolean WOKAPI_Process::ExecuteFile(const Handle(TCollection_HAsciiString)& afile)
{
static char BuildStr[] = ":Build";
-
- static char ForceStr[] = "Force";
- static char YesStr[] = "Yes";
- static char NoStr[] = "No";
-
static char TclStr[] = ":Tcl";
Standard_Integer index;
void WOKAPI_Session::GeneralFailure(const Handle(Standard_Failure)& )
{
- static FailedInOpen;
+ static Standard_Boolean FailedInOpen;
OSD::SetSignal(); //==== ReArm the signals. =============
#ifndef WNT
WOKUtils_Signal::Arm(WOKUtils_SIGINT, (WOKUtils_SigHandler) NULL);