if(myunits.IsBound(aunit->Name()) && asubcode.IsNull())
{
- ErrorMsg << "WOKMake_BuildProcess::GetAndAddStep"
+ WarningMsg << "WOKMake_BuildProcess::GetAndAddStep"
<< "Cannot get step (" << acode << ") for unit " << aunit->Name() << " (type : " << aunit->Type() << ")" << endm;
- return NULLRESULT;
+// return NULLRESULT;
}
- else
+// else
{
Handle(WOKMake_Step) thestep = WOKMake_StepBuilder::BuildStep(this, aunit, acode,asubcode);
if(!thestep.IsNull())
//function : IssuedFrom
//purpose :
//=======================================================================
-const Handle(TCollection_HAsciiString)& WOKMake_DepItem::IssuedFrom() const
+inline const Handle(TCollection_HAsciiString)& WOKMake_DepItem::IssuedFrom() const
{
return myorigin;
}
//function : OutputFile
//purpose :
//=======================================================================
-const Handle(TCollection_HAsciiString)& WOKMake_DepItem::OutputFile() const
+inline const Handle(TCollection_HAsciiString)& WOKMake_DepItem::OutputFile() const
{
return myfile;
}
//function : IsDirectDep
//purpose :
//=======================================================================
-Standard_Boolean WOKMake_DepItem::IsDirectDep() const
+inline Standard_Boolean WOKMake_DepItem::IsDirectDep() const
{
return mydirect;
}
//function : Status
//purpose :
//=======================================================================
-WOKMake_FileStatus WOKMake_DepItem::Status() const
+inline WOKMake_FileStatus WOKMake_DepItem::Status() const
{
return mystatus;
}
//function : IsDirectInput
//purpose :
//=======================================================================
-Standard_Boolean WOKMake_InputFile::IsDirectInput() const
+inline Standard_Boolean WOKMake_InputFile::IsDirectInput() const
{
if(myattr & STEPFILE_DIRECT) return Standard_True;
else return Standard_False;
for(i=1; i<=subcodeseq->Length(); i++)
{
Handle(TCollection_HAsciiString) thesubcode = subcodeseq->Value(i);
+// cout << "WOKMake_MetaStep::GetUnderlyingSteps1 -> GetAndAddStep" << endl ;
Handle(WOKMake_Step) thestep = BuildProcess()->GetAndAddStep(Unit(), Code(), thesubcode);
if(thestep.IsNull())
if(apart->IsEmpty())
{
+// cout << "WOKMake_MetaStep::GetUnderlyingSteps2 -> GetAndAddStep" << endl ;
precstep = BuildProcess()->GetAndAddStep(precunit, acode, Handle(TCollection_HAsciiString)());
}
else
{
+// cout << "WOKMake_MetaStep::GetUnderlyingSteps3 -> GetAndAddStep" << endl ;
precstep = BuildProcess()->GetAndAddStep(precunit, acode, apart);
}
Handle(TCollection_HAsciiString) acode = outfile->ID()->Token(":", 2);
Handle(TCollection_HAsciiString) apart = outfile->ID()->Token(":", 3);
+// cout << "WOKMake_MetaStep::GetUnderlyingSteps4 -> GetAndAddStep" << endl ;
Handle(WOKMake_Step) thestep = BuildProcess()->GetAndAddStep(Unit(), acode, apart);
if(thestep.IsNull())
case WOKMake_Disappeared:
{
Handle(TCollection_HAsciiString) apart = afile->ID()->Token(":", 3);
+// cout << "WOKMake_MetaStep::HandleOutputFile -> GetAndAddStep" << endl ;
Handle(WOKMake_Step) thesubstep = BuildProcess()->GetAndAddStep(Unit(), Code(), apart);
if (!thesubstep.IsNull())
{
//function : IsProduction
//purpose :
//=======================================================================
-Standard_Boolean WOKMake_OutputFile::IsProduction() const
+inline Standard_Boolean WOKMake_OutputFile::IsProduction() const
{
if(myattr & STEPFILE_REFPROD) return Standard_True;
else return Standard_False;
//function : IsMember
//purpose :
//=======================================================================
-Standard_Boolean WOKMake_OutputFile::IsMember() const
+inline Standard_Boolean WOKMake_OutputFile::IsMember() const
{
if(myattr & STEPFILE_MEMBEXT) return Standard_True;
else return Standard_False;
if(afile->File()->Path()->Exists() || afile->File()->Path()->IsSymLink())
{
Unit()->Params().Set("%FilePath", afile->File()->Path()->Name()->ToCString());
+// cout << "WOKMake_Step : " << afile->File()->Path()->Name()->ToCString() << endl ;
acmd = Unit()->Params().Eval(atempl->ToCString(),Standard_True);
//function : BuildProcess
//purpose :
//=======================================================================
-Handle(WOKMake_BuildProcess) WOKMake_Step::BuildProcess() const
+inline Handle(WOKMake_BuildProcess) WOKMake_Step::BuildProcess() const
{
return myprocess;
}
//function : Unit
//purpose :
//=======================================================================
-const Handle(WOKernel_DevUnit)& WOKMake_Step::Unit() const
+inline const Handle(WOKernel_DevUnit)& WOKMake_Step::Unit() const
{
return myunit;
}
//function : Locator
//purpose :
//=======================================================================
-const Handle(WOKernel_Locator)& WOKMake_Step::Locator() const
+inline const Handle(WOKernel_Locator)& WOKMake_Step::Locator() const
{
return myprocess->Locator();
}
//function : Locator
//purpose :
//=======================================================================
-const Handle(WOKUtils_Shell)& WOKMake_Step::Shell() const
+inline const Handle(WOKUtils_Shell)& WOKMake_Step::Shell() const
{
return myprocess->Shell();
}
//function : Locator
//purpose :
//=======================================================================
-const Handle(WOKernel_UnitGraph)& WOKMake_Step::UnitGraph() const
+inline const Handle(WOKernel_UnitGraph)& WOKMake_Step::UnitGraph() const
{
return myprocess->UnitGraph();
}
//function : ID
//purpose :
//=======================================================================
-const Handle(TCollection_HAsciiString)& WOKMake_StepFile::ID() const
+inline const Handle(TCollection_HAsciiString)& WOKMake_StepFile::ID() const
{
return myid;
}
//function : File
//purpose :
//=======================================================================
-const Handle(WOKernel_File)& WOKMake_StepFile::File() const
+inline const Handle(WOKernel_File)& WOKMake_StepFile::File() const
{
return myfile;
}
//function : BuilderEntity
//purpose :
//=======================================================================
-const Handle(WOKBuilder_Entity)& WOKMake_StepFile::BuilderEntity() const
+inline const Handle(WOKBuilder_Entity)& WOKMake_StepFile::BuilderEntity() const
{
return myent;
}
//function : LastPath
//purpose :
//=======================================================================
-const Handle(WOKUtils_Path)& WOKMake_StepFile::LastPath() const
+inline const Handle(WOKUtils_Path)& WOKMake_StepFile::LastPath() const
{
return mylastpath;
}
//function : Status
//purpose :
//=======================================================================
-WOKMake_FileStatus WOKMake_StepFile::Status() const
+inline WOKMake_FileStatus WOKMake_StepFile::Status() const
{
return mystatus;
}
//function : IsLocateAble
//purpose :
//=======================================================================
-Standard_Boolean WOKMake_StepFile::IsLocateAble() const
+inline Standard_Boolean WOKMake_StepFile::IsLocateAble() const
{
if(myattr & STEPFILE_LOCATE) return Standard_True;
else return Standard_False;
//function : IsPhysic
//purpose :
//=======================================================================
-Standard_Boolean WOKMake_StepFile::IsPhysic() const
+inline Standard_Boolean WOKMake_StepFile::IsPhysic() const
{
if(myattr & STEPFILE_PHYSIC) return Standard_True;
else return Standard_False;
//function : IsXStep
//purpose :
//=======================================================================
-Standard_Boolean WOKMake_StepFile::IsStepID() const
+inline Standard_Boolean WOKMake_StepFile::IsStepID() const
{
if(myattr & STEPFILE_STEPID) return Standard_True;
else return Standard_False;