mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
38
src/StepAP203/StepAP203_WorkItem.cxx
Executable file
38
src/StepAP203/StepAP203_WorkItem.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
// File: StepAP203_WorkItem.cxx
|
||||
// Created: Fri Nov 26 16:26:28 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_WorkItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_WorkItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_WorkItem::StepAP203_WorkItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_WorkItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinitionFormation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinitionFormation) StepAP203_WorkItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
Reference in New Issue
Block a user