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:
91
src/StepAP203/StepAP203.cdl
Executable file
91
src/StepAP203/StepAP203.cdl
Executable file
@@ -0,0 +1,91 @@
|
||||
-- File: StepAP203.cdl
|
||||
-- Created: Tue Nov 9 16:00:14 1999
|
||||
-- Author: data exchange team
|
||||
-- <det@doomox>
|
||||
---Copyright: Matra Datavision 1999
|
||||
|
||||
|
||||
package StepAP203
|
||||
|
||||
---Purpose: Contains implementation of STEP entities specific for AP203
|
||||
|
||||
uses
|
||||
TCollection,
|
||||
StepBasic,
|
||||
StepRepr
|
||||
|
||||
is
|
||||
|
||||
class ApprovedItem;
|
||||
class CcDesignApproval;
|
||||
class CcDesignCertification;
|
||||
class CcDesignContract;
|
||||
class CcDesignDateAndTimeAssignment;
|
||||
class CcDesignPersonAndOrganizationAssignment;
|
||||
class CcDesignSecurityClassification;
|
||||
class CcDesignSpecificationReference;
|
||||
class CertifiedItem;
|
||||
class Change;
|
||||
class ChangeRequest;
|
||||
class ChangeRequestItem;
|
||||
class ClassifiedItem;
|
||||
class ContractedItem;
|
||||
class DateTimeItem;
|
||||
class PersonOrganizationItem;
|
||||
class SpecifiedItem;
|
||||
class StartRequest;
|
||||
class StartRequestItem;
|
||||
class StartWork;
|
||||
class WorkItem;
|
||||
|
||||
class Array1OfApprovedItem instantiates
|
||||
Array1 from TCollection (ApprovedItem);
|
||||
class HArray1OfApprovedItem instantiates
|
||||
HArray1 from TCollection (ApprovedItem, Array1OfApprovedItem);
|
||||
|
||||
class Array1OfCertifiedItem instantiates
|
||||
Array1 from TCollection (CertifiedItem);
|
||||
class HArray1OfCertifiedItem instantiates
|
||||
HArray1 from TCollection (CertifiedItem, Array1OfCertifiedItem);
|
||||
|
||||
class Array1OfClassifiedItem instantiates
|
||||
Array1 from TCollection (ClassifiedItem);
|
||||
class HArray1OfClassifiedItem instantiates
|
||||
HArray1 from TCollection (ClassifiedItem, Array1OfClassifiedItem);
|
||||
|
||||
class Array1OfContractedItem instantiates
|
||||
Array1 from TCollection (ContractedItem);
|
||||
class HArray1OfContractedItem instantiates
|
||||
HArray1 from TCollection (ContractedItem, Array1OfContractedItem);
|
||||
|
||||
class Array1OfDateTimeItem instantiates
|
||||
Array1 from TCollection (DateTimeItem);
|
||||
class HArray1OfDateTimeItem instantiates
|
||||
HArray1 from TCollection (DateTimeItem, Array1OfDateTimeItem);
|
||||
|
||||
class Array1OfPersonOrganizationItem instantiates
|
||||
Array1 from TCollection (PersonOrganizationItem);
|
||||
class HArray1OfPersonOrganizationItem instantiates
|
||||
HArray1 from TCollection (PersonOrganizationItem, Array1OfPersonOrganizationItem);
|
||||
|
||||
class Array1OfSpecifiedItem instantiates
|
||||
Array1 from TCollection (SpecifiedItem);
|
||||
class HArray1OfSpecifiedItem instantiates
|
||||
HArray1 from TCollection (SpecifiedItem, Array1OfSpecifiedItem);
|
||||
|
||||
class Array1OfWorkItem instantiates
|
||||
Array1 from TCollection (WorkItem);
|
||||
class HArray1OfWorkItem instantiates
|
||||
HArray1 from TCollection (WorkItem, Array1OfWorkItem);
|
||||
|
||||
class Array1OfChangeRequestItem instantiates
|
||||
Array1 from TCollection (ChangeRequestItem);
|
||||
class HArray1OfChangeRequestItem instantiates
|
||||
HArray1 from TCollection (ChangeRequestItem, Array1OfChangeRequestItem);
|
||||
|
||||
class Array1OfStartRequestItem instantiates
|
||||
Array1 from TCollection (StartRequestItem);
|
||||
class HArray1OfStartRequestItem instantiates
|
||||
HArray1 from TCollection (StartRequestItem, Array1OfStartRequestItem);
|
||||
|
||||
end StepAP203;
|
77
src/StepAP203/StepAP203_ApprovedItem.cdl
Executable file
77
src/StepAP203/StepAP203_ApprovedItem.cdl
Executable file
@@ -0,0 +1,77 @@
|
||||
-- File: StepAP203_ApprovedItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:26 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ApprovedItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type ApprovedItem
|
||||
|
||||
uses
|
||||
ProductDefinitionFormation from StepBasic,
|
||||
ProductDefinition from StepBasic,
|
||||
ConfigurationEffectivity from StepRepr,
|
||||
ConfigurationItem from StepRepr,
|
||||
SecurityClassification from StepBasic,
|
||||
ChangeRequest from StepAP203,
|
||||
Change from StepAP203,
|
||||
StartRequest from StepAP203,
|
||||
StartWork from StepAP203,
|
||||
Certification from StepBasic,
|
||||
Contract from StepBasic
|
||||
|
||||
is
|
||||
Create returns ApprovedItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of ApprovedItem select type
|
||||
-- 1 -> ProductDefinitionFormation from StepBasic
|
||||
-- 2 -> ProductDefinition from StepBasic
|
||||
-- 3 -> ConfigurationEffectivity from StepRepr
|
||||
-- 4 -> ConfigurationItem from StepRepr
|
||||
-- 5 -> SecurityClassification from StepBasic
|
||||
-- 6 -> ChangeRequest from StepAP203
|
||||
-- 7 -> Change from StepAP203
|
||||
-- 8 -> StartRequest from StepAP203
|
||||
-- 9 -> StartWork from StepAP203
|
||||
-- 10 -> Certification from StepBasic
|
||||
-- 11 -> Contract from StepBasic
|
||||
-- 0 else
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
ProductDefinition (me) returns ProductDefinition from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinition (or Null if another type)
|
||||
|
||||
ConfigurationEffectivity (me) returns ConfigurationEffectivity from StepRepr;
|
||||
---Purpose: Returns Value as ConfigurationEffectivity (or Null if another type)
|
||||
|
||||
ConfigurationItem (me) returns ConfigurationItem from StepRepr;
|
||||
---Purpose: Returns Value as ConfigurationItem (or Null if another type)
|
||||
|
||||
SecurityClassification (me) returns SecurityClassification from StepBasic;
|
||||
---Purpose: Returns Value as SecurityClassification (or Null if another type)
|
||||
|
||||
ChangeRequest (me) returns ChangeRequest from StepAP203;
|
||||
---Purpose: Returns Value as ChangeRequest (or Null if another type)
|
||||
|
||||
Change (me) returns Change from StepAP203;
|
||||
---Purpose: Returns Value as Change (or Null if another type)
|
||||
|
||||
StartRequest (me) returns StartRequest from StepAP203;
|
||||
---Purpose: Returns Value as StartRequest (or Null if another type)
|
||||
|
||||
StartWork (me) returns StartWork from StepAP203;
|
||||
---Purpose: Returns Value as StartWork (or Null if another type)
|
||||
|
||||
Certification (me) returns Certification from StepBasic;
|
||||
---Purpose: Returns Value as Certification (or Null if another type)
|
||||
|
||||
Contract (me) returns Contract from StepBasic;
|
||||
---Purpose: Returns Value as Contract (or Null if another type)
|
||||
|
||||
end ApprovedItem;
|
148
src/StepAP203/StepAP203_ApprovedItem.cxx
Executable file
148
src/StepAP203/StepAP203_ApprovedItem.cxx
Executable file
@@ -0,0 +1,148 @@
|
||||
// File: StepAP203_ApprovedItem.cxx
|
||||
// Created: Fri Nov 26 16:26:26 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_ApprovedItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_ApprovedItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_ApprovedItem::StepAP203_ApprovedItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_ApprovedItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ConfigurationEffectivity))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ConfigurationItem))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_ChangeRequest))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_Change))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_StartRequest))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_StartWork))) return 9;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Certification))) return 10;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Contract))) return 11;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinitionFormation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinitionFormation) StepAP203_ApprovedItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinition) StepAP203_ApprovedItem::ProductDefinition () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ConfigurationEffectivity
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ConfigurationEffectivity) StepAP203_ApprovedItem::ConfigurationEffectivity () const
|
||||
{
|
||||
return Handle(StepRepr_ConfigurationEffectivity)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ConfigurationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ConfigurationItem) StepAP203_ApprovedItem::ConfigurationItem () const
|
||||
{
|
||||
return Handle(StepRepr_ConfigurationItem)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SecurityClassification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_SecurityClassification) StepAP203_ApprovedItem::SecurityClassification () const
|
||||
{
|
||||
return Handle(StepBasic_SecurityClassification)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ChangeRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_ChangeRequest) StepAP203_ApprovedItem::ChangeRequest () const
|
||||
{
|
||||
return Handle(StepAP203_ChangeRequest)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Change
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_Change) StepAP203_ApprovedItem::Change () const
|
||||
{
|
||||
return Handle(StepAP203_Change)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : StartRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_StartRequest) StepAP203_ApprovedItem::StartRequest () const
|
||||
{
|
||||
return Handle(StepAP203_StartRequest)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : StartWork
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_StartWork) StepAP203_ApprovedItem::StartWork () const
|
||||
{
|
||||
return Handle(StepAP203_StartWork)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Certification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Certification) StepAP203_ApprovedItem::Certification () const
|
||||
{
|
||||
return Handle(StepBasic_Certification)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Contract
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Contract) StepAP203_ApprovedItem::Contract () const
|
||||
{
|
||||
return Handle(StepBasic_Contract)::DownCast(Value());
|
||||
}
|
32
src/StepAP203/StepAP203_CcDesignApproval.cdl
Executable file
32
src/StepAP203/StepAP203_CcDesignApproval.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_CcDesignApproval.cdl
|
||||
-- Created: Fri Nov 26 16:26:31 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CcDesignApproval from StepAP203
|
||||
inherits ApprovalAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity CcDesignApproval
|
||||
|
||||
uses
|
||||
Approval from StepBasic,
|
||||
HArray1OfApprovedItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns CcDesignApproval from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aApprovalAssignment_AssignedApproval: Approval from StepBasic;
|
||||
aItems: HArray1OfApprovedItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfApprovedItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfApprovedItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfApprovedItem from StepAP203;
|
||||
|
||||
end CcDesignApproval;
|
49
src/StepAP203/StepAP203_CcDesignApproval.cxx
Executable file
49
src/StepAP203/StepAP203_CcDesignApproval.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_CcDesignApproval.cxx
|
||||
// Created: Fri Nov 26 16:26:31 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CcDesignApproval.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CcDesignApproval
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CcDesignApproval::StepAP203_CcDesignApproval ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignApproval::Init (const Handle(StepBasic_Approval) &aApprovalAssignment_AssignedApproval,
|
||||
const Handle(StepAP203_HArray1OfApprovedItem) &aItems)
|
||||
{
|
||||
StepBasic_ApprovalAssignment::Init(aApprovalAssignment_AssignedApproval);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfApprovedItem) StepAP203_CcDesignApproval::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignApproval::SetItems (const Handle(StepAP203_HArray1OfApprovedItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
32
src/StepAP203/StepAP203_CcDesignCertification.cdl
Executable file
32
src/StepAP203/StepAP203_CcDesignCertification.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_CcDesignCertification.cdl
|
||||
-- Created: Fri Nov 26 16:26:31 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CcDesignCertification from StepAP203
|
||||
inherits CertificationAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity CcDesignCertification
|
||||
|
||||
uses
|
||||
Certification from StepBasic,
|
||||
HArray1OfCertifiedItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns CcDesignCertification from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aCertificationAssignment_AssignedCertification: Certification from StepBasic;
|
||||
aItems: HArray1OfCertifiedItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfCertifiedItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfCertifiedItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfCertifiedItem from StepAP203;
|
||||
|
||||
end CcDesignCertification;
|
49
src/StepAP203/StepAP203_CcDesignCertification.cxx
Executable file
49
src/StepAP203/StepAP203_CcDesignCertification.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_CcDesignCertification.cxx
|
||||
// Created: Fri Nov 26 16:26:31 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CcDesignCertification.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CcDesignCertification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CcDesignCertification::StepAP203_CcDesignCertification ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignCertification::Init (const Handle(StepBasic_Certification) &aCertificationAssignment_AssignedCertification,
|
||||
const Handle(StepAP203_HArray1OfCertifiedItem) &aItems)
|
||||
{
|
||||
StepBasic_CertificationAssignment::Init(aCertificationAssignment_AssignedCertification);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfCertifiedItem) StepAP203_CcDesignCertification::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignCertification::SetItems (const Handle(StepAP203_HArray1OfCertifiedItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
32
src/StepAP203/StepAP203_CcDesignContract.cdl
Executable file
32
src/StepAP203/StepAP203_CcDesignContract.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_CcDesignContract.cdl
|
||||
-- Created: Fri Nov 26 16:26:31 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CcDesignContract from StepAP203
|
||||
inherits ContractAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity CcDesignContract
|
||||
|
||||
uses
|
||||
Contract from StepBasic,
|
||||
HArray1OfContractedItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns CcDesignContract from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aContractAssignment_AssignedContract: Contract from StepBasic;
|
||||
aItems: HArray1OfContractedItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfContractedItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfContractedItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfContractedItem from StepAP203;
|
||||
|
||||
end CcDesignContract;
|
49
src/StepAP203/StepAP203_CcDesignContract.cxx
Executable file
49
src/StepAP203/StepAP203_CcDesignContract.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_CcDesignContract.cxx
|
||||
// Created: Fri Nov 26 16:26:31 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CcDesignContract.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CcDesignContract
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CcDesignContract::StepAP203_CcDesignContract ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignContract::Init (const Handle(StepBasic_Contract) &aContractAssignment_AssignedContract,
|
||||
const Handle(StepAP203_HArray1OfContractedItem) &aItems)
|
||||
{
|
||||
StepBasic_ContractAssignment::Init(aContractAssignment_AssignedContract);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfContractedItem) StepAP203_CcDesignContract::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignContract::SetItems (const Handle(StepAP203_HArray1OfContractedItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
34
src/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cdl
Executable file
34
src/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: StepAP203_CcDesignDateAndTimeAssignment.cdl
|
||||
-- Created: Fri Nov 26 16:26:32 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CcDesignDateAndTimeAssignment from StepAP203
|
||||
inherits DateAndTimeAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity CcDesignDateAndTimeAssignment
|
||||
|
||||
uses
|
||||
DateAndTime from StepBasic,
|
||||
DateTimeRole from StepBasic,
|
||||
HArray1OfDateTimeItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns CcDesignDateAndTimeAssignment from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDateAndTimeAssignment_AssignedDateAndTime: DateAndTime from StepBasic;
|
||||
aDateAndTimeAssignment_Role: DateTimeRole from StepBasic;
|
||||
aItems: HArray1OfDateTimeItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfDateTimeItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfDateTimeItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfDateTimeItem from StepAP203;
|
||||
|
||||
end CcDesignDateAndTimeAssignment;
|
51
src/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cxx
Executable file
51
src/StepAP203/StepAP203_CcDesignDateAndTimeAssignment.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepAP203_CcDesignDateAndTimeAssignment.cxx
|
||||
// Created: Fri Nov 26 16:26:32 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CcDesignDateAndTimeAssignment.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CcDesignDateAndTimeAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CcDesignDateAndTimeAssignment::StepAP203_CcDesignDateAndTimeAssignment ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignDateAndTimeAssignment::Init (const Handle(StepBasic_DateAndTime) &aDateAndTimeAssignment_AssignedDateAndTime,
|
||||
const Handle(StepBasic_DateTimeRole) &aDateAndTimeAssignment_Role,
|
||||
const Handle(StepAP203_HArray1OfDateTimeItem) &aItems)
|
||||
{
|
||||
StepBasic_DateAndTimeAssignment::Init(aDateAndTimeAssignment_AssignedDateAndTime,
|
||||
aDateAndTimeAssignment_Role);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfDateTimeItem) StepAP203_CcDesignDateAndTimeAssignment::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignDateAndTimeAssignment::SetItems (const Handle(StepAP203_HArray1OfDateTimeItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
34
src/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cdl
Executable file
34
src/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: StepAP203_CcDesignPersonAndOrganizationAssignment.cdl
|
||||
-- Created: Fri Nov 26 16:26:32 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CcDesignPersonAndOrganizationAssignment from StepAP203
|
||||
inherits PersonAndOrganizationAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity CcDesignPersonAndOrganizationAssignment
|
||||
|
||||
uses
|
||||
PersonAndOrganization from StepBasic,
|
||||
PersonAndOrganizationRole from StepBasic,
|
||||
HArray1OfPersonOrganizationItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns CcDesignPersonAndOrganizationAssignment from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aPersonAndOrganizationAssignment_AssignedPersonAndOrganization: PersonAndOrganization from StepBasic;
|
||||
aPersonAndOrganizationAssignment_Role: PersonAndOrganizationRole from StepBasic;
|
||||
aItems: HArray1OfPersonOrganizationItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfPersonOrganizationItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfPersonOrganizationItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfPersonOrganizationItem from StepAP203;
|
||||
|
||||
end CcDesignPersonAndOrganizationAssignment;
|
51
src/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cxx
Executable file
51
src/StepAP203/StepAP203_CcDesignPersonAndOrganizationAssignment.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepAP203_CcDesignPersonAndOrganizationAssignment.cxx
|
||||
// Created: Fri Nov 26 16:26:32 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CcDesignPersonAndOrganizationAssignment.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CcDesignPersonAndOrganizationAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CcDesignPersonAndOrganizationAssignment::StepAP203_CcDesignPersonAndOrganizationAssignment ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignPersonAndOrganizationAssignment::Init (const Handle(StepBasic_PersonAndOrganization) &aPersonAndOrganizationAssignment_AssignedPersonAndOrganization,
|
||||
const Handle(StepBasic_PersonAndOrganizationRole) &aPersonAndOrganizationAssignment_Role,
|
||||
const Handle(StepAP203_HArray1OfPersonOrganizationItem) &aItems)
|
||||
{
|
||||
StepBasic_PersonAndOrganizationAssignment::Init(aPersonAndOrganizationAssignment_AssignedPersonAndOrganization,
|
||||
aPersonAndOrganizationAssignment_Role);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfPersonOrganizationItem) StepAP203_CcDesignPersonAndOrganizationAssignment::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignPersonAndOrganizationAssignment::SetItems (const Handle(StepAP203_HArray1OfPersonOrganizationItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
32
src/StepAP203/StepAP203_CcDesignSecurityClassification.cdl
Executable file
32
src/StepAP203/StepAP203_CcDesignSecurityClassification.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_CcDesignSecurityClassification.cdl
|
||||
-- Created: Fri Nov 26 16:26:33 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CcDesignSecurityClassification from StepAP203
|
||||
inherits SecurityClassificationAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity CcDesignSecurityClassification
|
||||
|
||||
uses
|
||||
SecurityClassification from StepBasic,
|
||||
HArray1OfClassifiedItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns CcDesignSecurityClassification from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aSecurityClassificationAssignment_AssignedSecurityClassification: SecurityClassification from StepBasic;
|
||||
aItems: HArray1OfClassifiedItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfClassifiedItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfClassifiedItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfClassifiedItem from StepAP203;
|
||||
|
||||
end CcDesignSecurityClassification;
|
49
src/StepAP203/StepAP203_CcDesignSecurityClassification.cxx
Executable file
49
src/StepAP203/StepAP203_CcDesignSecurityClassification.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_CcDesignSecurityClassification.cxx
|
||||
// Created: Fri Nov 26 16:26:33 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CcDesignSecurityClassification.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CcDesignSecurityClassification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CcDesignSecurityClassification::StepAP203_CcDesignSecurityClassification ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignSecurityClassification::Init (const Handle(StepBasic_SecurityClassification) &aSecurityClassificationAssignment_AssignedSecurityClassification,
|
||||
const Handle(StepAP203_HArray1OfClassifiedItem) &aItems)
|
||||
{
|
||||
StepBasic_SecurityClassificationAssignment::Init(aSecurityClassificationAssignment_AssignedSecurityClassification);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfClassifiedItem) StepAP203_CcDesignSecurityClassification::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignSecurityClassification::SetItems (const Handle(StepAP203_HArray1OfClassifiedItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
34
src/StepAP203/StepAP203_CcDesignSpecificationReference.cdl
Executable file
34
src/StepAP203/StepAP203_CcDesignSpecificationReference.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: StepAP203_CcDesignSpecificationReference.cdl
|
||||
-- Created: Fri Nov 26 16:26:33 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CcDesignSpecificationReference from StepAP203
|
||||
inherits DocumentReference from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity CcDesignSpecificationReference
|
||||
|
||||
uses
|
||||
Document from StepBasic,
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfSpecifiedItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns CcDesignSpecificationReference from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDocumentReference_AssignedDocument: Document from StepBasic;
|
||||
aDocumentReference_Source: HAsciiString from TCollection;
|
||||
aItems: HArray1OfSpecifiedItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfSpecifiedItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfSpecifiedItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfSpecifiedItem from StepAP203;
|
||||
|
||||
end CcDesignSpecificationReference;
|
51
src/StepAP203/StepAP203_CcDesignSpecificationReference.cxx
Executable file
51
src/StepAP203/StepAP203_CcDesignSpecificationReference.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepAP203_CcDesignSpecificationReference.cxx
|
||||
// Created: Fri Nov 26 16:26:33 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CcDesignSpecificationReference.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CcDesignSpecificationReference
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CcDesignSpecificationReference::StepAP203_CcDesignSpecificationReference ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignSpecificationReference::Init (const Handle(StepBasic_Document) &aDocumentReference_AssignedDocument,
|
||||
const Handle(TCollection_HAsciiString) &aDocumentReference_Source,
|
||||
const Handle(StepAP203_HArray1OfSpecifiedItem) &aItems)
|
||||
{
|
||||
StepBasic_DocumentReference::Init0(aDocumentReference_AssignedDocument,
|
||||
aDocumentReference_Source);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfSpecifiedItem) StepAP203_CcDesignSpecificationReference::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_CcDesignSpecificationReference::SetItems (const Handle(StepAP203_HArray1OfSpecifiedItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
27
src/StepAP203/StepAP203_CertifiedItem.cdl
Executable file
27
src/StepAP203/StepAP203_CertifiedItem.cdl
Executable file
@@ -0,0 +1,27 @@
|
||||
-- File: StepAP203_CertifiedItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:26 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CertifiedItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type CertifiedItem
|
||||
|
||||
uses
|
||||
SuppliedPartRelationship from StepRepr
|
||||
|
||||
is
|
||||
Create returns CertifiedItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of CertifiedItem select type
|
||||
-- 1 -> SuppliedPartRelationship from StepRepr
|
||||
-- 0 else
|
||||
|
||||
SuppliedPartRelationship (me) returns SuppliedPartRelationship from StepRepr;
|
||||
---Purpose: Returns Value as SuppliedPartRelationship (or Null if another type)
|
||||
|
||||
end CertifiedItem;
|
38
src/StepAP203/StepAP203_CertifiedItem.cxx
Executable file
38
src/StepAP203/StepAP203_CertifiedItem.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
// File: StepAP203_CertifiedItem.cxx
|
||||
// Created: Fri Nov 26 16:26:26 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_CertifiedItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_CertifiedItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_CertifiedItem::StepAP203_CertifiedItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_CertifiedItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_SuppliedPartRelationship))) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SuppliedPartRelationship
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_SuppliedPartRelationship) StepAP203_CertifiedItem::SuppliedPartRelationship () const
|
||||
{
|
||||
return Handle(StepRepr_SuppliedPartRelationship)::DownCast(Value());
|
||||
}
|
32
src/StepAP203/StepAP203_Change.cdl
Executable file
32
src/StepAP203/StepAP203_Change.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_Change.cdl
|
||||
-- Created: Fri Nov 26 16:26:35 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class Change from StepAP203
|
||||
inherits ActionAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity Change
|
||||
|
||||
uses
|
||||
Action from StepBasic,
|
||||
HArray1OfWorkItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns Change from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aActionAssignment_AssignedAction: Action from StepBasic;
|
||||
aItems: HArray1OfWorkItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfWorkItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfWorkItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfWorkItem from StepAP203;
|
||||
|
||||
end Change;
|
49
src/StepAP203/StepAP203_Change.cxx
Executable file
49
src/StepAP203/StepAP203_Change.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_Change.cxx
|
||||
// Created: Fri Nov 26 16:26:35 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_Change.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_Change
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_Change::StepAP203_Change ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_Change::Init (const Handle(StepBasic_Action) &aActionAssignment_AssignedAction,
|
||||
const Handle(StepAP203_HArray1OfWorkItem) &aItems)
|
||||
{
|
||||
StepBasic_ActionAssignment::Init(aActionAssignment_AssignedAction);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfWorkItem) StepAP203_Change::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_Change::SetItems (const Handle(StepAP203_HArray1OfWorkItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
32
src/StepAP203/StepAP203_ChangeRequest.cdl
Executable file
32
src/StepAP203/StepAP203_ChangeRequest.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_ChangeRequest.cdl
|
||||
-- Created: Fri Nov 26 16:26:35 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ChangeRequest from StepAP203
|
||||
inherits ActionRequestAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity ChangeRequest
|
||||
|
||||
uses
|
||||
VersionedActionRequest from StepBasic,
|
||||
HArray1OfChangeRequestItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns ChangeRequest from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aActionRequestAssignment_AssignedActionRequest: VersionedActionRequest from StepBasic;
|
||||
aItems: HArray1OfChangeRequestItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfChangeRequestItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfChangeRequestItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfChangeRequestItem from StepAP203;
|
||||
|
||||
end ChangeRequest;
|
49
src/StepAP203/StepAP203_ChangeRequest.cxx
Executable file
49
src/StepAP203/StepAP203_ChangeRequest.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_ChangeRequest.cxx
|
||||
// Created: Fri Nov 26 16:26:35 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_ChangeRequest.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_ChangeRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_ChangeRequest::StepAP203_ChangeRequest ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_ChangeRequest::Init (const Handle(StepBasic_VersionedActionRequest) &aActionRequestAssignment_AssignedActionRequest,
|
||||
const Handle(StepAP203_HArray1OfChangeRequestItem) &aItems)
|
||||
{
|
||||
StepBasic_ActionRequestAssignment::Init(aActionRequestAssignment_AssignedActionRequest);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfChangeRequestItem) StepAP203_ChangeRequest::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_ChangeRequest::SetItems (const Handle(StepAP203_HArray1OfChangeRequestItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
27
src/StepAP203/StepAP203_ChangeRequestItem.cdl
Executable file
27
src/StepAP203/StepAP203_ChangeRequestItem.cdl
Executable file
@@ -0,0 +1,27 @@
|
||||
-- File: StepAP203_ChangeRequestItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:26 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ChangeRequestItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type ChangeRequestItem
|
||||
|
||||
uses
|
||||
ProductDefinitionFormation from StepBasic
|
||||
|
||||
is
|
||||
Create returns ChangeRequestItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of ChangeRequestItem select type
|
||||
-- 1 -> ProductDefinitionFormation from StepBasic
|
||||
-- 0 else
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
end ChangeRequestItem;
|
38
src/StepAP203/StepAP203_ChangeRequestItem.cxx
Executable file
38
src/StepAP203/StepAP203_ChangeRequestItem.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
// File: StepAP203_ChangeRequestItem.cxx
|
||||
// Created: Fri Nov 26 16:26:26 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_ChangeRequestItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_ChangeRequestItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_ChangeRequestItem::StepAP203_ChangeRequestItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_ChangeRequestItem::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_ChangeRequestItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
32
src/StepAP203/StepAP203_ClassifiedItem.cdl
Executable file
32
src/StepAP203/StepAP203_ClassifiedItem.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_ClassifiedItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:26 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ClassifiedItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type ClassifiedItem
|
||||
|
||||
uses
|
||||
ProductDefinitionFormation from StepBasic,
|
||||
AssemblyComponentUsage from StepRepr
|
||||
|
||||
is
|
||||
Create returns ClassifiedItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of ClassifiedItem select type
|
||||
-- 1 -> ProductDefinitionFormation from StepBasic
|
||||
-- 2 -> AssemblyComponentUsage from StepRepr
|
||||
-- 0 else
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
AssemblyComponentUsage (me) returns AssemblyComponentUsage from StepRepr;
|
||||
---Purpose: Returns Value as AssemblyComponentUsage (or Null if another type)
|
||||
|
||||
end ClassifiedItem;
|
49
src/StepAP203/StepAP203_ClassifiedItem.cxx
Executable file
49
src/StepAP203/StepAP203_ClassifiedItem.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_ClassifiedItem.cxx
|
||||
// Created: Fri Nov 26 16:26:26 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_ClassifiedItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_ClassifiedItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_ClassifiedItem::StepAP203_ClassifiedItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_ClassifiedItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_AssemblyComponentUsage))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinitionFormation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinitionFormation) StepAP203_ClassifiedItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AssemblyComponentUsage
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_AssemblyComponentUsage) StepAP203_ClassifiedItem::AssemblyComponentUsage () const
|
||||
{
|
||||
return Handle(StepRepr_AssemblyComponentUsage)::DownCast(Value());
|
||||
}
|
27
src/StepAP203/StepAP203_ContractedItem.cdl
Executable file
27
src/StepAP203/StepAP203_ContractedItem.cdl
Executable file
@@ -0,0 +1,27 @@
|
||||
-- File: StepAP203_ContractedItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:26 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ContractedItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type ContractedItem
|
||||
|
||||
uses
|
||||
ProductDefinitionFormation from StepBasic
|
||||
|
||||
is
|
||||
Create returns ContractedItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of ContractedItem select type
|
||||
-- 1 -> ProductDefinitionFormation from StepBasic
|
||||
-- 0 else
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
end ContractedItem;
|
38
src/StepAP203/StepAP203_ContractedItem.cxx
Executable file
38
src/StepAP203/StepAP203_ContractedItem.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
// File: StepAP203_ContractedItem.cxx
|
||||
// Created: Fri Nov 26 16:26:27 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_ContractedItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_ContractedItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_ContractedItem::StepAP203_ContractedItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_ContractedItem::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_ContractedItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
67
src/StepAP203/StepAP203_DateTimeItem.cdl
Executable file
67
src/StepAP203/StepAP203_DateTimeItem.cdl
Executable file
@@ -0,0 +1,67 @@
|
||||
-- File: StepAP203_DateTimeItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:27 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class DateTimeItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type DateTimeItem
|
||||
|
||||
uses
|
||||
ProductDefinition from StepBasic,
|
||||
ChangeRequest from StepAP203,
|
||||
StartRequest from StepAP203,
|
||||
Change from StepAP203,
|
||||
StartWork from StepAP203,
|
||||
ApprovalPersonOrganization from StepBasic,
|
||||
Contract from StepBasic,
|
||||
SecurityClassification from StepBasic,
|
||||
Certification from StepBasic
|
||||
|
||||
is
|
||||
Create returns DateTimeItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of DateTimeItem select type
|
||||
-- 1 -> ProductDefinition from StepBasic
|
||||
-- 2 -> ChangeRequest from StepAP203
|
||||
-- 3 -> StartRequest from StepAP203
|
||||
-- 4 -> Change from StepAP203
|
||||
-- 5 -> StartWork from StepAP203
|
||||
-- 6 -> ApprovalPersonOrganization from StepBasic
|
||||
-- 7 -> Contract from StepBasic
|
||||
-- 8 -> SecurityClassification from StepBasic
|
||||
-- 9 -> Certification from StepBasic
|
||||
-- 0 else
|
||||
|
||||
ProductDefinition (me) returns ProductDefinition from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinition (or Null if another type)
|
||||
|
||||
ChangeRequest (me) returns ChangeRequest from StepAP203;
|
||||
---Purpose: Returns Value as ChangeRequest (or Null if another type)
|
||||
|
||||
StartRequest (me) returns StartRequest from StepAP203;
|
||||
---Purpose: Returns Value as StartRequest (or Null if another type)
|
||||
|
||||
Change (me) returns Change from StepAP203;
|
||||
---Purpose: Returns Value as Change (or Null if another type)
|
||||
|
||||
StartWork (me) returns StartWork from StepAP203;
|
||||
---Purpose: Returns Value as StartWork (or Null if another type)
|
||||
|
||||
ApprovalPersonOrganization (me) returns ApprovalPersonOrganization from StepBasic;
|
||||
---Purpose: Returns Value as ApprovalPersonOrganization (or Null if another type)
|
||||
|
||||
Contract (me) returns Contract from StepBasic;
|
||||
---Purpose: Returns Value as Contract (or Null if another type)
|
||||
|
||||
SecurityClassification (me) returns SecurityClassification from StepBasic;
|
||||
---Purpose: Returns Value as SecurityClassification (or Null if another type)
|
||||
|
||||
Certification (me) returns Certification from StepBasic;
|
||||
---Purpose: Returns Value as Certification (or Null if another type)
|
||||
|
||||
end DateTimeItem;
|
126
src/StepAP203/StepAP203_DateTimeItem.cxx
Executable file
126
src/StepAP203/StepAP203_DateTimeItem.cxx
Executable file
@@ -0,0 +1,126 @@
|
||||
// File: StepAP203_DateTimeItem.cxx
|
||||
// Created: Fri Nov 26 16:26:27 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_DateTimeItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_DateTimeItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_DateTimeItem::StepAP203_DateTimeItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_DateTimeItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_ChangeRequest))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_StartRequest))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_Change))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_StartWork))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ApprovalPersonOrganization))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Contract))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Certification))) return 9;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinition) StepAP203_DateTimeItem::ProductDefinition () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ChangeRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_ChangeRequest) StepAP203_DateTimeItem::ChangeRequest () const
|
||||
{
|
||||
return Handle(StepAP203_ChangeRequest)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : StartRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_StartRequest) StepAP203_DateTimeItem::StartRequest () const
|
||||
{
|
||||
return Handle(StepAP203_StartRequest)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Change
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_Change) StepAP203_DateTimeItem::Change () const
|
||||
{
|
||||
return Handle(StepAP203_Change)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : StartWork
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_StartWork) StepAP203_DateTimeItem::StartWork () const
|
||||
{
|
||||
return Handle(StepAP203_StartWork)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ApprovalPersonOrganization
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ApprovalPersonOrganization) StepAP203_DateTimeItem::ApprovalPersonOrganization () const
|
||||
{
|
||||
return Handle(StepBasic_ApprovalPersonOrganization)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Contract
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Contract) StepAP203_DateTimeItem::Contract () const
|
||||
{
|
||||
return Handle(StepBasic_Contract)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SecurityClassification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_SecurityClassification) StepAP203_DateTimeItem::SecurityClassification () const
|
||||
{
|
||||
return Handle(StepBasic_SecurityClassification)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Certification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Certification) StepAP203_DateTimeItem::Certification () const
|
||||
{
|
||||
return Handle(StepBasic_Certification)::DownCast(Value());
|
||||
}
|
72
src/StepAP203/StepAP203_PersonOrganizationItem.cdl
Executable file
72
src/StepAP203/StepAP203_PersonOrganizationItem.cdl
Executable file
@@ -0,0 +1,72 @@
|
||||
-- File: StepAP203_PersonOrganizationItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:27 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class PersonOrganizationItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type PersonOrganizationItem
|
||||
|
||||
uses
|
||||
Change from StepAP203,
|
||||
StartWork from StepAP203,
|
||||
ChangeRequest from StepAP203,
|
||||
StartRequest from StepAP203,
|
||||
ConfigurationItem from StepRepr,
|
||||
Product from StepBasic,
|
||||
ProductDefinitionFormation from StepBasic,
|
||||
ProductDefinition from StepBasic,
|
||||
Contract from StepBasic,
|
||||
SecurityClassification from StepBasic
|
||||
|
||||
is
|
||||
Create returns PersonOrganizationItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of PersonOrganizationItem select type
|
||||
-- 1 -> Change from StepAP203
|
||||
-- 2 -> StartWork from StepAP203
|
||||
-- 3 -> ChangeRequest from StepAP203
|
||||
-- 4 -> StartRequest from StepAP203
|
||||
-- 5 -> ConfigurationItem from StepRepr
|
||||
-- 6 -> Product from StepBasic
|
||||
-- 7 -> ProductDefinitionFormation from StepBasic
|
||||
-- 8 -> ProductDefinition from StepBasic
|
||||
-- 9 -> Contract from StepBasic
|
||||
-- 10 -> SecurityClassification from StepBasic
|
||||
-- 0 else
|
||||
|
||||
Change (me) returns Change from StepAP203;
|
||||
---Purpose: Returns Value as Change (or Null if another type)
|
||||
|
||||
StartWork (me) returns StartWork from StepAP203;
|
||||
---Purpose: Returns Value as StartWork (or Null if another type)
|
||||
|
||||
ChangeRequest (me) returns ChangeRequest from StepAP203;
|
||||
---Purpose: Returns Value as ChangeRequest (or Null if another type)
|
||||
|
||||
StartRequest (me) returns StartRequest from StepAP203;
|
||||
---Purpose: Returns Value as StartRequest (or Null if another type)
|
||||
|
||||
ConfigurationItem (me) returns ConfigurationItem from StepRepr;
|
||||
---Purpose: Returns Value as ConfigurationItem (or Null if another type)
|
||||
|
||||
Product (me) returns Product from StepBasic;
|
||||
---Purpose: Returns Value as Product (or Null if another type)
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
ProductDefinition (me) returns ProductDefinition from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinition (or Null if another type)
|
||||
|
||||
Contract (me) returns Contract from StepBasic;
|
||||
---Purpose: Returns Value as Contract (or Null if another type)
|
||||
|
||||
SecurityClassification (me) returns SecurityClassification from StepBasic;
|
||||
---Purpose: Returns Value as SecurityClassification (or Null if another type)
|
||||
|
||||
end PersonOrganizationItem;
|
137
src/StepAP203/StepAP203_PersonOrganizationItem.cxx
Executable file
137
src/StepAP203/StepAP203_PersonOrganizationItem.cxx
Executable file
@@ -0,0 +1,137 @@
|
||||
// File: StepAP203_PersonOrganizationItem.cxx
|
||||
// Created: Fri Nov 26 16:26:27 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_PersonOrganizationItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_PersonOrganizationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_PersonOrganizationItem::StepAP203_PersonOrganizationItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_PersonOrganizationItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_Change))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_StartWork))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_ChangeRequest))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP203_StartRequest))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ConfigurationItem))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Product))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Contract))) return 9;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 10;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Change
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_Change) StepAP203_PersonOrganizationItem::Change () const
|
||||
{
|
||||
return Handle(StepAP203_Change)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : StartWork
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_StartWork) StepAP203_PersonOrganizationItem::StartWork () const
|
||||
{
|
||||
return Handle(StepAP203_StartWork)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ChangeRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_ChangeRequest) StepAP203_PersonOrganizationItem::ChangeRequest () const
|
||||
{
|
||||
return Handle(StepAP203_ChangeRequest)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : StartRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_StartRequest) StepAP203_PersonOrganizationItem::StartRequest () const
|
||||
{
|
||||
return Handle(StepAP203_StartRequest)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ConfigurationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ConfigurationItem) StepAP203_PersonOrganizationItem::ConfigurationItem () const
|
||||
{
|
||||
return Handle(StepRepr_ConfigurationItem)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Product
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Product) StepAP203_PersonOrganizationItem::Product () const
|
||||
{
|
||||
return Handle(StepBasic_Product)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinitionFormation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinitionFormation) StepAP203_PersonOrganizationItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinition) StepAP203_PersonOrganizationItem::ProductDefinition () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Contract
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Contract) StepAP203_PersonOrganizationItem::Contract () const
|
||||
{
|
||||
return Handle(StepBasic_Contract)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SecurityClassification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_SecurityClassification) StepAP203_PersonOrganizationItem::SecurityClassification () const
|
||||
{
|
||||
return Handle(StepBasic_SecurityClassification)::DownCast(Value());
|
||||
}
|
32
src/StepAP203/StepAP203_SpecifiedItem.cdl
Executable file
32
src/StepAP203/StepAP203_SpecifiedItem.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_SpecifiedItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:27 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class SpecifiedItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type SpecifiedItem
|
||||
|
||||
uses
|
||||
ProductDefinition from StepBasic,
|
||||
ShapeAspect from StepRepr
|
||||
|
||||
is
|
||||
Create returns SpecifiedItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of SpecifiedItem select type
|
||||
-- 1 -> ProductDefinition from StepBasic
|
||||
-- 2 -> ShapeAspect from StepRepr
|
||||
-- 0 else
|
||||
|
||||
ProductDefinition (me) returns ProductDefinition from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinition (or Null if another type)
|
||||
|
||||
ShapeAspect (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns Value as ShapeAspect (or Null if another type)
|
||||
|
||||
end SpecifiedItem;
|
49
src/StepAP203/StepAP203_SpecifiedItem.cxx
Executable file
49
src/StepAP203/StepAP203_SpecifiedItem.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_SpecifiedItem.cxx
|
||||
// Created: Fri Nov 26 16:26:27 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_SpecifiedItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_SpecifiedItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_SpecifiedItem::StepAP203_SpecifiedItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_SpecifiedItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspect))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinition) StepAP203_SpecifiedItem::ProductDefinition () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAspect
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepAP203_SpecifiedItem::ShapeAspect () const
|
||||
{
|
||||
return Handle(StepRepr_ShapeAspect)::DownCast(Value());
|
||||
}
|
32
src/StepAP203/StepAP203_StartRequest.cdl
Executable file
32
src/StepAP203/StepAP203_StartRequest.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_StartRequest.cdl
|
||||
-- Created: Fri Nov 26 16:26:40 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class StartRequest from StepAP203
|
||||
inherits ActionRequestAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity StartRequest
|
||||
|
||||
uses
|
||||
VersionedActionRequest from StepBasic,
|
||||
HArray1OfStartRequestItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns StartRequest from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aActionRequestAssignment_AssignedActionRequest: VersionedActionRequest from StepBasic;
|
||||
aItems: HArray1OfStartRequestItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfStartRequestItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfStartRequestItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfStartRequestItem from StepAP203;
|
||||
|
||||
end StartRequest;
|
49
src/StepAP203/StepAP203_StartRequest.cxx
Executable file
49
src/StepAP203/StepAP203_StartRequest.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_StartRequest.cxx
|
||||
// Created: Fri Nov 26 16:26:40 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_StartRequest.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_StartRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_StartRequest::StepAP203_StartRequest ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_StartRequest::Init (const Handle(StepBasic_VersionedActionRequest) &aActionRequestAssignment_AssignedActionRequest,
|
||||
const Handle(StepAP203_HArray1OfStartRequestItem) &aItems)
|
||||
{
|
||||
StepBasic_ActionRequestAssignment::Init(aActionRequestAssignment_AssignedActionRequest);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfStartRequestItem) StepAP203_StartRequest::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_StartRequest::SetItems (const Handle(StepAP203_HArray1OfStartRequestItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
27
src/StepAP203/StepAP203_StartRequestItem.cdl
Executable file
27
src/StepAP203/StepAP203_StartRequestItem.cdl
Executable file
@@ -0,0 +1,27 @@
|
||||
-- File: StepAP203_StartRequestItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:27 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class StartRequestItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type StartRequestItem
|
||||
|
||||
uses
|
||||
ProductDefinitionFormation from StepBasic
|
||||
|
||||
is
|
||||
Create returns StartRequestItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of StartRequestItem select type
|
||||
-- 1 -> ProductDefinitionFormation from StepBasic
|
||||
-- 0 else
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
end StartRequestItem;
|
38
src/StepAP203/StepAP203_StartRequestItem.cxx
Executable file
38
src/StepAP203/StepAP203_StartRequestItem.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
// File: StepAP203_StartRequestItem.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_StartRequestItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_StartRequestItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_StartRequestItem::StepAP203_StartRequestItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepAP203_StartRequestItem::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_StartRequestItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
32
src/StepAP203/StepAP203_StartWork.cdl
Executable file
32
src/StepAP203/StepAP203_StartWork.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepAP203_StartWork.cdl
|
||||
-- Created: Fri Nov 26 16:26:40 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class StartWork from StepAP203
|
||||
inherits ActionAssignment from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity StartWork
|
||||
|
||||
uses
|
||||
Action from StepBasic,
|
||||
HArray1OfWorkItem from StepAP203
|
||||
|
||||
is
|
||||
Create returns StartWork from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aActionAssignment_AssignedAction: Action from StepBasic;
|
||||
aItems: HArray1OfWorkItem from StepAP203);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Items (me) returns HArray1OfWorkItem from StepAP203;
|
||||
---Purpose: Returns field Items
|
||||
SetItems (me: mutable; Items: HArray1OfWorkItem from StepAP203);
|
||||
---Purpose: Set field Items
|
||||
|
||||
fields
|
||||
theItems: HArray1OfWorkItem from StepAP203;
|
||||
|
||||
end StartWork;
|
49
src/StepAP203/StepAP203_StartWork.cxx
Executable file
49
src/StepAP203/StepAP203_StartWork.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepAP203_StartWork.cxx
|
||||
// Created: Fri Nov 26 16:26:40 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepAP203_StartWork.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP203_StartWork
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepAP203_StartWork::StepAP203_StartWork ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_StartWork::Init (const Handle(StepBasic_Action) &aActionAssignment_AssignedAction,
|
||||
const Handle(StepAP203_HArray1OfWorkItem) &aItems)
|
||||
{
|
||||
StepBasic_ActionAssignment::Init(aActionAssignment_AssignedAction);
|
||||
|
||||
theItems = aItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Items
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP203_HArray1OfWorkItem) StepAP203_StartWork::Items () const
|
||||
{
|
||||
return theItems;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItems
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepAP203_StartWork::SetItems (const Handle(StepAP203_HArray1OfWorkItem) &aItems)
|
||||
{
|
||||
theItems = aItems;
|
||||
}
|
27
src/StepAP203/StepAP203_WorkItem.cdl
Executable file
27
src/StepAP203/StepAP203_WorkItem.cdl
Executable file
@@ -0,0 +1,27 @@
|
||||
-- File: StepAP203_WorkItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:28 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class WorkItem from StepAP203
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type WorkItem
|
||||
|
||||
uses
|
||||
ProductDefinitionFormation from StepBasic
|
||||
|
||||
is
|
||||
Create returns WorkItem from StepAP203;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of WorkItem select type
|
||||
-- 1 -> ProductDefinitionFormation from StepBasic
|
||||
-- 0 else
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
end WorkItem;
|
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