WOKMake_AdmFileTypes.hxx
WOKMake_StepAccessMacro.hxx
WOKMake_StepConstructPtr.hxx
+
WOKMake_BuildProcess::WOKMake_BuildProcess(const Handle(WOKernel_Locator)& alocator,
const Handle(WOKUtils_Shell)& ashell,
const Handle(WOKernel_UnitGraph)& agraph)
-: mylocator(alocator), myshell(ashell), myunitgraph(agraph), mycdlit(WOKBuilder_MSTool::GetMSchema())
-{
+: myunitgraph(agraph),
+ mylocator(alocator),
+ myshell(ashell),
+ mycdlit(WOKBuilder_MSTool::GetMSchema()){
}
//=======================================================================
//=======================================================================
WOKMake_BuildProcessIterator::WOKMake_BuildProcessIterator(const Handle(WOKMake_BuildProcess)& aprocess,
const Standard_Boolean alogflag)
-: myprocess(aprocess), mygrpidx(1), mystepidx(1), mystatus(WOKMake_Unprocessed), mylogflag(alogflag)
+: myprocess(aprocess),
+ mystatus(WOKMake_Unprocessed),
+ mygrpidx(1),
+ mystepidx(1),
+ mylogflag(alogflag)
{
Handle(WOKMake_Step) curstep = CurStep();
#include <WOKMake_DepItem.ixx>
#define READBUF_SIZE 1024
-
//=======================================================================
//function : WOKMake_DepItem
//purpose :
if(afile->Exists())
{
- Standard_Integer i;
+ Standard_Integer i = 0;
ifstream astream(afile->Name()->ToCString(), ios::in);
Handle(WOKMake_DepItem) item, lastone;
Handle(TCollection_HAsciiString) locatorname;
{
if(apath->Exists())
{
- Standard_Integer i;
+ Standard_Integer i = 0;
ifstream astream(apath->Name()->ToCString());
Handle(WOKMake_InputFile) infile;
Handle(TCollection_HAsciiString) locatorname;
if(apath->Exists())
{
- Standard_Integer i;
+ Standard_Integer i = 0;
ifstream astream(apath->Name()->ToCString(), ios::in);
Handle(WOKMake_InputFile) infile;
Handle(TCollection_HAsciiString) locatorname;
for(Standard_Integer k=1; k<=precsteps->Length() && !found; k++)
{
- const Handle(WOKMake_Step)& subprec = BuildProcess()->Find(precsteps->Value(k));
- const Standard_CString subpreccode = subprec->Code()->ToCString();
if(!strcmp(preccode, BuildProcess()->Find(precsteps->Value(k))->Code()->ToCString()))
found = Standard_True;
}
<< "========> " << thestep->SubCode() << " is still unprocessed" << endm;
ok=Standard_False;
break;
+ default: break;
}
}
}
}
break;
+ default: break;
}
}
return Standard_False;
{
if(apath->Exists())
{
- Standard_Integer i;
+ Standard_Integer i = 0;
ifstream astream(apath->Name()->ToCString());
Handle(WOKMake_OutputFile) outfile;
if(apath->Exists())
{
- Standard_Integer i;
+ Standard_Integer i = 0;
ifstream astream(apath->Name()->ToCString(), ios::in);
Handle(WOKMake_OutputFile) outfile;
const Handle(TCollection_HAsciiString)& acode,
const Standard_Boolean checked,
const Standard_Boolean hidden)
-: myprocess(aprocess.operator->()), myunit(aunit), mycode(acode), mycheck(checked), myhidden(hidden),
- mystatus(WOKMake_Unprocessed), myexecflag(Standard_False), mydeploaded(Standard_False), myinputcomp(Standard_False)
+: myunit(aunit),
+ mycode(acode),
+ myprocess(aprocess.operator->()),
+ myinputcomp(Standard_False),
+ mydeploaded(Standard_False),
+ mystatus(WOKMake_Unprocessed),
+ mycheck(checked),
+ myhidden(hidden),
+ myexecflag(Standard_False)
{
}
Standard_Boolean stillforexec = Standard_False;
out_index = outmap.FindIndex(mydepout.FindKey(i));
- const Handle(WOKMake_OutputFile)& outfile = outmap(out_index);
-
for (j = mydepmatrix->LowerCol(); j <= mydepmatrix->UpperCol(); j++)
{
//in_index = inmap.FindIndex(mydepin.FindKey(j));
}
}
break;
+ default: break;
}
}
return Standard_False;
{
Handle(WOKMake_Step) result;
WOKMake_DataMapOfHAsciiStringOfStepBuilder& knownsteps = WOKMake_StepBuilder::StepBuilders();
- Standard_Integer i;
+ Standard_Integer i = 1;
if(name.IsNull() || aunit.IsNull() || acode.IsNull())
{
key->AssignCat("_");
- i=1;
Handle(TCollection_HAsciiString) alib = libs->Token(" ", i);
while(!alib->IsEmpty())
{
//purpose :
//=======================================================================
WOKMake_StepFile::WOKMake_StepFile()
- : mystatus(WOKMake_Undetermined), myattr(0)
+ : myattr(0), mystatus(WOKMake_Undetermined)
{
SetPhysicFlag(Standard_True);
}
const Handle(WOKernel_File)& afile,
const Handle(WOKBuilder_Entity)& abuildent,
const Handle(WOKUtils_Path)& aoldpath)
- : myid(anid), myfile(afile), myent(abuildent), mylastpath(aoldpath), mystatus(WOKMake_Undetermined), myattr(0)
+ : myattr(0), myfile(afile), myid(anid), myent(abuildent), mylastpath(aoldpath), mystatus(WOKMake_Undetermined)
{
SetPhysicFlag(Standard_True);
}
Handle(TCollection_HAsciiString) result;
Handle(TCollection_HAsciiString) trigname = new TCollection_HAsciiString(Name());
- trigname->AssignCat("::AdmFileType");
+ trigname->AssignCat(":AdmFileType");
WOKUtils_Trigger execute;
Handle(TCollection_HAsciiString) result;
Handle(TCollection_HAsciiString) trigname = new TCollection_HAsciiString(Name());
- trigname->AssignCat("::OutputDirTypeName");
+ trigname->AssignCat(":OutputDirTypeName");
WOKUtils_Trigger execute;
Handle(TCollection_HAsciiString) trigname = new TCollection_HAsciiString(Name());
- trigname->AssignCat("::HandleInputFile");
+ trigname->AssignCat(":HandleInputFile");
execute(trigname) << infile->ID() << endt >> b;
WOKUtils_Trigger execute;
Handle(TCollection_HAsciiString) trigname = new TCollection_HAsciiString(Name());
- trigname->AssignCat("::Execute");
+ trigname->AssignCat(":Execute");
execute(trigname) << Unit()->UserPathName();