mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027336: Update STEP entities, according to AP242
Add header and parameter for AP242. Update entities: product_definition_relationship styled_item Update select types: security_classification_item person_and_organization_item organization_item group_item external_identification_item document_reference_item date_item approval_item external_identification_item draughting_callout_element value_qualifier invisibility_context update gdt tests. fix compilation warnings.
This commit is contained in:
@@ -15,15 +15,24 @@
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepAP214_ApprovalItem.hxx>
|
||||
#include <StepBasic_Date.hxx>
|
||||
#include <StepBasic_Document.hxx>
|
||||
#include <StepBasic_DocumentFile.hxx>
|
||||
#include <StepBasic_Effectivity.hxx>
|
||||
#include <StepBasic_Group.hxx>
|
||||
#include <StepBasic_GroupRelationship.hxx>
|
||||
#include <StepBasic_Product.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <StepBasic_ProductDefinitionFormation.hxx>
|
||||
#include <StepBasic_ProductDefinitionFormationRelationship.hxx>
|
||||
#include <StepBasic_ProductDefinitionRelationship.hxx>
|
||||
#include <StepBasic_SecurityClassification.hxx>
|
||||
#include <StepRepr_AssemblyComponentUsageSubstitute.hxx>
|
||||
#include <StepRepr_ConfigurationItem.hxx>
|
||||
#include <StepRepr_MaterialDesignation.hxx>
|
||||
#include <StepRepr_PropertyDefinition.hxx>
|
||||
#include <StepRepr_Representation.hxx>
|
||||
#include <StepRepr_ShapeAspectRelationship.hxx>
|
||||
#include <StepShape_ShapeRepresentation.hxx>
|
||||
#include <StepVisual_MechanicalDesignGeometricPresentationRepresentation.hxx>
|
||||
#include <StepVisual_PresentationArea.hxx>
|
||||
@@ -46,8 +55,16 @@ Standard_Integer StepAP214_ApprovalItem::CaseNum(const Handle(Standard_Transient
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 10;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_ShapeRepresentation))) return 11;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 12;
|
||||
|
||||
return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ConfigurationItem))) return 13;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Date))) return 14;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Document))) return 15;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Effectivity))) return 16;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Group))) return 17;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_GroupRelationship))) return 18;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormationRelationship))) return 19;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_Representation))) return 20;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspectRelationship))) return 21;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -87,3 +104,30 @@ Handle(StepShape_ShapeRepresentation) StepAP214_ApprovalItem::ShapeRepresentatio
|
||||
|
||||
Handle(StepBasic_SecurityClassification) StepAP214_ApprovalItem::SecurityClassification() const
|
||||
{ return GetCasted(StepBasic_SecurityClassification,Value()); }
|
||||
|
||||
Handle(StepRepr_ConfigurationItem) StepAP214_ApprovalItem::ConfigurationItem() const
|
||||
{ return GetCasted(StepRepr_ConfigurationItem,Value()); }
|
||||
|
||||
Handle(StepBasic_Date) StepAP214_ApprovalItem::Date() const
|
||||
{ return GetCasted(StepBasic_Date,Value()); }
|
||||
|
||||
Handle(StepBasic_Document) StepAP214_ApprovalItem::Document() const
|
||||
{ return GetCasted(StepBasic_Document,Value()); }
|
||||
|
||||
Handle(StepBasic_Effectivity) StepAP214_ApprovalItem::Effectivity() const
|
||||
{ return GetCasted(StepBasic_Effectivity,Value()); }
|
||||
|
||||
Handle(StepBasic_Group) StepAP214_ApprovalItem::Group() const
|
||||
{ return GetCasted(StepBasic_Group,Value()); }
|
||||
|
||||
Handle(StepBasic_GroupRelationship) StepAP214_ApprovalItem::GroupRelationship() const
|
||||
{ return GetCasted(StepBasic_GroupRelationship,Value()); }
|
||||
|
||||
Handle(StepBasic_ProductDefinitionFormationRelationship) StepAP214_ApprovalItem::ProductDefinitionFormationRelationship() const
|
||||
{ return GetCasted(StepBasic_ProductDefinitionFormationRelationship,Value()); }
|
||||
|
||||
Handle(StepRepr_Representation) StepAP214_ApprovalItem::Representation() const
|
||||
{ return GetCasted(StepRepr_Representation,Value()); }
|
||||
|
||||
Handle(StepRepr_ShapeAspectRelationship) StepAP214_ApprovalItem::ShapeAspectRelationship() const
|
||||
{ return GetCasted(StepRepr_ShapeAspectRelationship,Value()); }
|
||||
|
@@ -36,8 +36,15 @@ class StepBasic_ProductDefinitionRelationship;
|
||||
class StepRepr_PropertyDefinition;
|
||||
class StepShape_ShapeRepresentation;
|
||||
class StepBasic_SecurityClassification;
|
||||
|
||||
|
||||
class StepRepr_ConfigurationItem;
|
||||
class StepBasic_Date;
|
||||
class StepBasic_Document;
|
||||
class StepBasic_Effectivity;
|
||||
class StepBasic_Group;
|
||||
class StepBasic_GroupRelationship;
|
||||
class StepBasic_ProductDefinitionFormationRelationship;
|
||||
class StepRepr_Representation;
|
||||
class StepRepr_ShapeAspectRelationship;
|
||||
|
||||
class StepAP214_ApprovalItem : public StepData_SelectType
|
||||
{
|
||||
@@ -62,6 +69,15 @@ public:
|
||||
//! 10 -> PropertyDefinition
|
||||
//! 11 -> ShapeRepresentation
|
||||
//! 12 -> SecurityClassification
|
||||
//! 13 -> ConfigurationItem
|
||||
//! 14 -> Date
|
||||
//! 15 -> Document
|
||||
//! 16 -> Effectivity
|
||||
//! 17 -> Group
|
||||
//! 18 -> GroupRelationship
|
||||
//! 19 -> ProductDefinitionFormationRelationship
|
||||
//! 20 -> Representation
|
||||
//! 21 -> ShapeAspectRelationship
|
||||
//! 0 else
|
||||
Standard_EXPORT virtual Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
|
||||
|
||||
@@ -101,8 +117,32 @@ public:
|
||||
//! returns Value as a SecurityClassification (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_SecurityClassification) SecurityClassification() const;
|
||||
|
||||
//! returns Value as a ConfigurationItem (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ConfigurationItem) ConfigurationItem() const;
|
||||
|
||||
//! returns Value as a Date (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_Date) Date() const;
|
||||
|
||||
//! returns Value as a Document (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_Document) Document() const;
|
||||
|
||||
//! returns Value as a Effectivity (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_Effectivity) Effectivity() const;
|
||||
|
||||
//! returns Value as a Group (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_Group) Group() const;
|
||||
|
||||
//! returns Value as a GroupRelationship (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_GroupRelationship) GroupRelationship() const;
|
||||
|
||||
//! returns Value as a ProductDefinitionFormationRelationship (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_ProductDefinitionFormationRelationship) ProductDefinitionFormationRelationship() const;
|
||||
|
||||
//! returns Value as a Representation (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_Representation) Representation() const;
|
||||
|
||||
//! returns Value as a ShapeAspectRelationship (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -69,9 +69,3 @@ Handle(StepAP214_AppliedPersonAndOrganizationAssignment) StepAP214_DateAndTimeIt
|
||||
|
||||
Handle(StepAP214_AppliedOrganizationAssignment) StepAP214_DateAndTimeItem::AppliedOrganizationAssignment() const
|
||||
{ return GetCasted(StepAP214_AppliedOrganizationAssignment,Value()); }
|
||||
|
||||
|
||||
Handle(StepBasic_Effectivity) StepAP214_DateAndTimeItem::Effectivity() const
|
||||
{ return GetCasted(StepBasic_Effectivity,Value()); }
|
||||
|
||||
|
||||
|
@@ -27,8 +27,6 @@ class Standard_Transient;
|
||||
class StepBasic_ApprovalPersonOrganization;
|
||||
class StepAP214_AppliedPersonAndOrganizationAssignment;
|
||||
class StepAP214_AppliedOrganizationAssignment;
|
||||
class StepBasic_Effectivity;
|
||||
|
||||
|
||||
|
||||
class StepAP214_DateAndTimeItem : public StepAP214_ApprovalItem
|
||||
@@ -69,12 +67,6 @@ public:
|
||||
|
||||
//! returns Value as a AppliedOrganizationAssignment (Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedOrganizationAssignment) AppliedOrganizationAssignment() const;
|
||||
|
||||
//! returns Value as a Effectivity (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_Effectivity) Effectivity() const;
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -16,6 +16,7 @@
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepAP214_AppliedOrganizationAssignment.hxx>
|
||||
#include <StepAP214_AppliedPersonAndOrganizationAssignment.hxx>
|
||||
#include <StepAP214_AppliedSecurityClassificationAssignment.hxx>
|
||||
#include <StepAP214_DateItem.hxx>
|
||||
#include <StepBasic_ApprovalPersonOrganization.hxx>
|
||||
#include <StepBasic_DocumentFile.hxx>
|
||||
@@ -51,6 +52,8 @@ Standard_Integer StepAP214_DateItem::CaseNum(const Handle(Standard_Transient)& e
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionRelationship))) return 13;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 14;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_ShapeRepresentation))) return 15;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_AppliedSecurityClassificationAssignment))) return 16;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Document))) return 17;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -67,8 +70,5 @@ Handle(StepAP214_AppliedPersonAndOrganizationAssignment) StepAP214_DateItem::App
|
||||
Handle(StepAP214_AppliedOrganizationAssignment) StepAP214_DateItem::AppliedOrganizationAssignment() const
|
||||
{ return GetCasted(StepAP214_AppliedOrganizationAssignment,Value()); }
|
||||
|
||||
|
||||
Handle(StepBasic_Effectivity) StepAP214_DateItem::Effectivity() const
|
||||
{ return GetCasted(StepBasic_Effectivity,Value()); }
|
||||
|
||||
|
||||
Handle(StepAP214_AppliedSecurityClassificationAssignment) StepAP214_DateItem::AppliedSecurityClassificationAssignment() const
|
||||
{ return GetCasted(StepAP214_AppliedSecurityClassificationAssignment,Value()); }
|
||||
|
@@ -27,9 +27,7 @@ class Standard_Transient;
|
||||
class StepBasic_ApprovalPersonOrganization;
|
||||
class StepAP214_AppliedPersonAndOrganizationAssignment;
|
||||
class StepAP214_AppliedOrganizationAssignment;
|
||||
class StepBasic_Effectivity;
|
||||
|
||||
|
||||
class StepAP214_AppliedSecurityClassificationAssignment;
|
||||
|
||||
class StepAP214_DateItem : public StepAP214_ApprovalItem
|
||||
{
|
||||
@@ -57,6 +55,8 @@ public:
|
||||
//! 13 -> ProductDefinitionRelationship
|
||||
//! 14 -> PropertyDefinition
|
||||
//! 15 -> ShapeRepresentation
|
||||
//! 16 -> AppliedSecurityClassificationAssignment
|
||||
//! 17 -> Document
|
||||
//! 0 else
|
||||
Standard_EXPORT virtual Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const Standard_OVERRIDE;
|
||||
|
||||
@@ -68,12 +68,9 @@ public:
|
||||
|
||||
//! returns Value as a AppliedOrganizationAssignment (Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedOrganizationAssignment) AppliedOrganizationAssignment() const;
|
||||
|
||||
//! returns Value as a Effectivity (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_Effectivity) Effectivity() const;
|
||||
|
||||
|
||||
|
||||
//! returns Value as a AppliedSecurityClassificationAssignment (Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedSecurityClassificationAssignment) AppliedSecurityClassificationAssignment() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -14,32 +14,54 @@
|
||||
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepAP214_AppliedExternalIdentificationAssignment.hxx>
|
||||
#include <StepAP214_DocumentReferenceItem.hxx>
|
||||
#include <StepBasic_Approval.hxx>
|
||||
#include <StepBasic_CharacterizedObject.hxx>
|
||||
#include <StepBasic_ExternallyDefinedItem.hxx>
|
||||
#include <StepBasic_Group.hxx>
|
||||
#include <StepBasic_GroupRelationship.hxx>
|
||||
#include <StepBasic_ProductCategory.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <StepBasic_ProductDefinitionContext.hxx>
|
||||
#include <StepBasic_ProductDefinitionRelationship.hxx>
|
||||
#include <StepRepr_AssemblyComponentUsage.hxx>
|
||||
#include <StepRepr_DescriptiveRepresentationItem.hxx>
|
||||
#include <StepRepr_MaterialDesignation.hxx>
|
||||
#include <StepRepr_MeasureRepresentationItem.hxx>
|
||||
#include <StepRepr_PropertyDefinition.hxx>
|
||||
#include <StepRepr_Representation.hxx>
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
#include <StepRepr_ShapeAspect.hxx>
|
||||
#include <StepRepr_ShapeAspectRelationship.hxx>
|
||||
#include <StepShape_DimensionalSize.hxx>
|
||||
|
||||
StepAP214_DocumentReferenceItem::StepAP214_DocumentReferenceItem () { }
|
||||
|
||||
Standard_Integer StepAP214_DocumentReferenceItem::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Approval))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_DescriptiveRepresentationItem))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_MaterialDesignation))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionRelationship))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_Representation))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspect))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspectRelationship))) return 9;
|
||||
return 0;
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Approval))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_DescriptiveRepresentationItem))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_MaterialDesignation))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionRelationship))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_Representation))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspect))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspectRelationship))) return 9;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_AppliedExternalIdentificationAssignment))) return 10;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_AssemblyComponentUsage))) return 11;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_CharacterizedObject))) return 12;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_DimensionalSize))) return 13;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ExternallyDefinedItem))) return 14;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Group))) return 15;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_GroupRelationship))) return 16;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_MeasureRepresentationItem))) return 17;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductCategory))) return 18;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionContext))) return 19;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_RepresentationItem))) return 20;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -71,3 +93,36 @@ Handle(StepRepr_ShapeAspect) StepAP214_DocumentReferenceItem::ShapeAspect() con
|
||||
|
||||
Handle(StepRepr_ShapeAspectRelationship) StepAP214_DocumentReferenceItem::ShapeAspectRelationship() const
|
||||
{ return GetCasted(StepRepr_ShapeAspectRelationship,Value()); }
|
||||
|
||||
Handle(StepAP214_AppliedExternalIdentificationAssignment) StepAP214_DocumentReferenceItem::AppliedExternalIdentificationAssignment() const
|
||||
{ return GetCasted(StepAP214_AppliedExternalIdentificationAssignment,Value()); }
|
||||
|
||||
Handle(StepRepr_AssemblyComponentUsage) StepAP214_DocumentReferenceItem::AssemblyComponentUsage() const
|
||||
{ return GetCasted(StepRepr_AssemblyComponentUsage,Value()); }
|
||||
|
||||
Handle(StepBasic_CharacterizedObject) StepAP214_DocumentReferenceItem::CharacterizedObject() const
|
||||
{ return GetCasted(StepBasic_CharacterizedObject,Value()); }
|
||||
|
||||
Handle(StepShape_DimensionalSize) StepAP214_DocumentReferenceItem::DimensionalSize() const
|
||||
{ return GetCasted(StepShape_DimensionalSize,Value()); }
|
||||
|
||||
Handle(StepBasic_ExternallyDefinedItem) StepAP214_DocumentReferenceItem::ExternallyDefinedItem() const
|
||||
{ return GetCasted(StepBasic_ExternallyDefinedItem,Value()); }
|
||||
|
||||
Handle(StepBasic_Group) StepAP214_DocumentReferenceItem::Group() const
|
||||
{ return GetCasted(StepBasic_Group,Value()); }
|
||||
|
||||
Handle(StepBasic_GroupRelationship) StepAP214_DocumentReferenceItem::GroupRelationship() const
|
||||
{ return GetCasted(StepBasic_GroupRelationship,Value()); }
|
||||
|
||||
Handle(StepRepr_MeasureRepresentationItem) StepAP214_DocumentReferenceItem::MeasureRepresentationItem() const
|
||||
{ return GetCasted(StepRepr_MeasureRepresentationItem,Value()); }
|
||||
|
||||
Handle(StepBasic_ProductCategory) StepAP214_DocumentReferenceItem::ProductCategory() const
|
||||
{ return GetCasted(StepBasic_ProductCategory,Value()); }
|
||||
|
||||
Handle(StepBasic_ProductDefinitionContext) StepAP214_DocumentReferenceItem::ProductDefinitionContext() const
|
||||
{ return GetCasted(StepBasic_ProductDefinitionContext,Value()); }
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepAP214_DocumentReferenceItem::RepresentationItem() const
|
||||
{ return GetCasted(StepRepr_RepresentationItem,Value()); }
|
||||
|
@@ -33,8 +33,17 @@ class StepRepr_PropertyDefinition;
|
||||
class StepRepr_Representation;
|
||||
class StepRepr_ShapeAspect;
|
||||
class StepRepr_ShapeAspectRelationship;
|
||||
|
||||
|
||||
class StepAP214_AppliedExternalIdentificationAssignment;
|
||||
class StepRepr_AssemblyComponentUsage;
|
||||
class StepBasic_CharacterizedObject;
|
||||
class StepShape_DimensionalSize;
|
||||
class StepBasic_ExternallyDefinedItem;
|
||||
class StepBasic_Group;
|
||||
class StepBasic_GroupRelationship;
|
||||
class StepBasic_ProductCategory;
|
||||
class StepRepr_MeasureRepresentationItem;
|
||||
class StepBasic_ProductDefinitionContext;
|
||||
class StepRepr_RepresentationItem;
|
||||
|
||||
class StepAP214_DocumentReferenceItem : public StepData_SelectType
|
||||
{
|
||||
@@ -76,8 +85,38 @@ public:
|
||||
//! returns Value as a ShapeAspectRelationship (Null if another type)
|
||||
Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
|
||||
|
||||
//! returns Value as a AppliedExternalIdentificationAssignment (Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedExternalIdentificationAssignment) AppliedExternalIdentificationAssignment() const;
|
||||
|
||||
//! returns Value as a AssemblyComponentUsage (Null if another type)
|
||||
Standard_EXPORT Handle(StepRepr_AssemblyComponentUsage) AssemblyComponentUsage() const;
|
||||
|
||||
//! returns Value as a CharacterizedObject (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_CharacterizedObject) CharacterizedObject() const;
|
||||
|
||||
//! returns Value as a DimensionalSize (Null if another type)
|
||||
Standard_EXPORT Handle(StepShape_DimensionalSize) DimensionalSize() const;
|
||||
|
||||
//! returns Value as a ExternallyDefinedItem (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_ExternallyDefinedItem) ExternallyDefinedItem() const;
|
||||
|
||||
//! returns Value as a Group (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_Group) Group() const;
|
||||
|
||||
//! returns Value as a GroupRelationship (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_GroupRelationship) GroupRelationship() const;
|
||||
|
||||
//! returns Value as a MeasureRepresentationItem (Null if another type)
|
||||
Standard_EXPORT Handle(StepRepr_MeasureRepresentationItem) MeasureRepresentationItem() const;
|
||||
|
||||
//! returns Value as a ProductCategory (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_ProductCategory) ProductCategory() const;
|
||||
|
||||
//! returns Value as a ProductDefinitionContext (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_ProductDefinitionContext) ProductDefinitionContext() const;
|
||||
|
||||
//! returns Value as a RepresentationItem (Null if another type)
|
||||
Standard_EXPORT Handle(StepRepr_RepresentationItem) RepresentationItem() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -16,11 +16,22 @@
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepAP214_AppliedOrganizationAssignment.hxx>
|
||||
#include <StepAP214_AppliedPersonAndOrganizationAssignment.hxx>
|
||||
#include <StepAP214_ExternalIdentificationItem.hxx>
|
||||
#include <StepAP214_ExternallyDefinedClass.hxx>
|
||||
#include <StepAP214_ExternallyDefinedGeneralProperty.hxx>
|
||||
#include <StepBasic_Approval.hxx>
|
||||
#include <StepBasic_ApprovalStatus.hxx>
|
||||
#include <StepBasic_DateAndTimeAssignment.hxx>
|
||||
#include <StepBasic_DateAssignment.hxx>
|
||||
#include <StepBasic_DocumentFile.hxx>
|
||||
#include <StepBasic_ExternalSource.hxx>
|
||||
#include <StepBasic_OrganizationalAddress.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <StepBasic_SecurityClassification.hxx>
|
||||
#include <StepBasic_VersionedActionRequest.hxx>
|
||||
#include <StepGeom_TrimmedCurve.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepAP214_ExternalIdentificationItem
|
||||
@@ -42,6 +53,17 @@ Standard_Integer StepAP214_ExternalIdentificationItem::CaseNum (const Handle(Sta
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_ExternallyDefinedClass))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_ExternallyDefinedGeneralProperty))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_AppliedOrganizationAssignment))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_AppliedPersonAndOrganizationAssignment))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Approval))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ApprovalStatus))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ExternalSource))) return 9;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_OrganizationalAddress))) return 10;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 11;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_TrimmedCurve))) return 12;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_VersionedActionRequest))) return 13;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_DateAndTimeAssignment))) return 14;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_DateAssignment))) return 15;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -84,3 +106,112 @@ Handle(StepBasic_ProductDefinition) StepAP214_ExternalIdentificationItem::Produc
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AppliedOrganizationAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP214_AppliedOrganizationAssignment) StepAP214_ExternalIdentificationItem::AppliedOrganizationAssignment () const
|
||||
{
|
||||
return Handle(StepAP214_AppliedOrganizationAssignment)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AppliedPersonAndOrganizationAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepAP214_AppliedPersonAndOrganizationAssignment) StepAP214_ExternalIdentificationItem::AppliedPersonAndOrganizationAssignment () const
|
||||
{
|
||||
return Handle(StepAP214_AppliedPersonAndOrganizationAssignment)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Approval
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Approval) StepAP214_ExternalIdentificationItem::Approval () const
|
||||
{
|
||||
return Handle(StepBasic_Approval)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ApprovalStatus
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ApprovalStatus) StepAP214_ExternalIdentificationItem::ApprovalStatus () const
|
||||
{
|
||||
return Handle(StepBasic_ApprovalStatus)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ExternalSource
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ExternalSource) StepAP214_ExternalIdentificationItem::ExternalSource () const
|
||||
{
|
||||
return Handle(StepBasic_ExternalSource)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : OrganizationalAddress
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_OrganizationalAddress) StepAP214_ExternalIdentificationItem::OrganizationalAddress () const
|
||||
{
|
||||
return Handle(StepBasic_OrganizationalAddress)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SecurityClassification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_SecurityClassification) StepAP214_ExternalIdentificationItem::SecurityClassification () const
|
||||
{
|
||||
return Handle(StepBasic_SecurityClassification)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : TrimmedCurve
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepGeom_TrimmedCurve) StepAP214_ExternalIdentificationItem::TrimmedCurve () const
|
||||
{
|
||||
return Handle(StepGeom_TrimmedCurve)::DownCast(Value());
|
||||
}
|
||||
//=======================================================================
|
||||
//function : VersionedActionRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_VersionedActionRequest) StepAP214_ExternalIdentificationItem::VersionedActionRequest () const
|
||||
{
|
||||
return Handle(StepBasic_VersionedActionRequest)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : DateAndTimeAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_DateAndTimeAssignment) StepAP214_ExternalIdentificationItem::DateAndTimeAssignment () const
|
||||
{
|
||||
return Handle(StepBasic_DateAndTimeAssignment)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : DateAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_DateAssignment) StepAP214_ExternalIdentificationItem::DateAssignment () const
|
||||
{
|
||||
return Handle(StepBasic_DateAssignment)::DownCast(Value());
|
||||
}
|
||||
|
@@ -24,10 +24,20 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
class Standard_Transient;
|
||||
class StepBasic_DocumentFile;
|
||||
class StepAP214_AppliedOrganizationAssignment;
|
||||
class StepAP214_AppliedPersonAndOrganizationAssignment;
|
||||
class StepAP214_ExternallyDefinedClass;
|
||||
class StepAP214_ExternallyDefinedGeneralProperty;
|
||||
class StepBasic_Approval;
|
||||
class StepBasic_ApprovalStatus;
|
||||
class StepBasic_ExternalSource;
|
||||
class StepBasic_OrganizationalAddress;
|
||||
class StepBasic_ProductDefinition;
|
||||
|
||||
class StepBasic_SecurityClassification;
|
||||
class StepBasic_VersionedActionRequest;
|
||||
class StepGeom_TrimmedCurve;
|
||||
class StepBasic_DateAndTimeAssignment;
|
||||
class StepBasic_DateAssignment;
|
||||
|
||||
//! Representation of STEP SELECT type ExternalIdentificationItem
|
||||
class StepAP214_ExternalIdentificationItem : public StepData_SelectType
|
||||
@@ -45,6 +55,17 @@ public:
|
||||
//! 2 -> ExternallyDefinedClass from StepAP214
|
||||
//! 3 -> ExternallyDefinedGeneralProperty from StepAP214
|
||||
//! 4 -> ProductDefinition from StepBasic
|
||||
//! 5 -> AppliedOrganizationAssignment from AP214
|
||||
//! 6 -> AppliedPersonAndOrganizationAssignment from AP214
|
||||
//! 7 -> Approval from StepBasic
|
||||
//! 8 -> ApprovalStatus from StepBasic
|
||||
//! 9 -> ExternalSource from StepBasic
|
||||
//! 10 -> OrganizationalAddress from StepBasic
|
||||
//! 11 -> SecurityClassification from StepBasic
|
||||
//! 12 -> TrimmedCurve from StepGeom
|
||||
//! 13 -> VersionedActionRequest from StepBasic
|
||||
//! 14 -> DateAndTimeAssignment from StepBasic
|
||||
//! 15 -> DateAssignment from StepBasic
|
||||
//! 0 else
|
||||
Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
|
||||
|
||||
@@ -60,8 +81,38 @@ public:
|
||||
//! Returns Value as ProductDefinition (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const;
|
||||
|
||||
//! Returns Value as AppliedOrganizationAssignment (or Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedOrganizationAssignment) AppliedOrganizationAssignment() const;
|
||||
|
||||
//! Returns Value as AppliedPersonAndOrganizationAssignment (or Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedPersonAndOrganizationAssignment) AppliedPersonAndOrganizationAssignment() const;
|
||||
|
||||
//! Returns Value as Approval (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_Approval) Approval() const;
|
||||
|
||||
//! Returns Value as ApprovalStatus (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_ApprovalStatus) ApprovalStatus() const;
|
||||
|
||||
//! Returns Value as ExternalSource (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_ExternalSource) ExternalSource() const;
|
||||
|
||||
//! Returns Value as OrganizationalAddress (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_OrganizationalAddress) OrganizationalAddress() const;
|
||||
|
||||
//! Returns Value as SecurityClassification (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_SecurityClassification) SecurityClassification() const;
|
||||
|
||||
//! Returns Value as TrimmedCurve (or Null if another type)
|
||||
Standard_EXPORT Handle(StepGeom_TrimmedCurve) TrimmedCurve() const;
|
||||
|
||||
//! Returns Value as VersionedActionRequest (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_VersionedActionRequest) VersionedActionRequest() const;
|
||||
|
||||
//! Returns Value as DateAndTimeAssignment (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_DateAndTimeAssignment) DateAndTimeAssignment() const;
|
||||
|
||||
//! Returns Value as DateAssignment (or Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_DateAssignment) DateAssignment() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -15,7 +15,21 @@
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepAP214_GroupItem.hxx>
|
||||
#include <StepBasic_GroupRelationship.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <StepBasic_ProductDefinitionFormation.hxx>
|
||||
#include <StepGeom_GeometricRepresentationItem.hxx>
|
||||
#include <StepRepr_MappedItem.hxx>
|
||||
#include <StepRepr_PropertyDefinitionRepresentation.hxx>
|
||||
#include <StepRepr_Representation.hxx>
|
||||
#include <StepRepr_RepresentationItem.hxx>
|
||||
#include <StepRepr_RepresentationRelationshipWithTransformation.hxx>
|
||||
#include <StepRepr_ShapeAspect.hxx>
|
||||
#include <StepRepr_ShapeAspectRelationship.hxx>
|
||||
#include <StepRepr_ShapeRepresentationRelationship.hxx>
|
||||
#include <StepShape_TopologicalRepresentationItem.hxx>
|
||||
#include <StepVisual_StyledItem.hxx>
|
||||
|
||||
|
||||
StepAP214_GroupItem::StepAP214_GroupItem () { }
|
||||
|
||||
@@ -23,7 +37,19 @@ Standard_Integer StepAP214_GroupItem::CaseNum(const Handle(Standard_Transient)&
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_GeometricRepresentationItem))) return 1;
|
||||
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_GroupRelationship))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_MappedItem))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinitionRepresentation))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_Representation))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_RepresentationItem))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_RepresentationRelationshipWithTransformation))) return 9;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspect))) return 10;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspectRelationship))) return 11;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeRepresentationRelationship))) return 12;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_StyledItem))) return 13;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_TopologicalRepresentationItem))) return 14;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -32,3 +58,68 @@ Handle(StepGeom_GeometricRepresentationItem) StepAP214_GroupItem::GeometricRepre
|
||||
return GetCasted(StepGeom_GeometricRepresentationItem,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_GroupRelationship) StepAP214_GroupItem::GroupRelationship() const
|
||||
{
|
||||
return GetCasted(StepBasic_GroupRelationship,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_MappedItem) StepAP214_GroupItem::MappedItem() const
|
||||
{
|
||||
return GetCasted(StepRepr_MappedItem,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_ProductDefinition) StepAP214_GroupItem::ProductDefinition() const
|
||||
{
|
||||
return GetCasted(StepBasic_ProductDefinition,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_ProductDefinitionFormation) StepAP214_GroupItem::ProductDefinitionFormation() const
|
||||
{
|
||||
return GetCasted(StepBasic_ProductDefinitionFormation,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_PropertyDefinitionRepresentation) StepAP214_GroupItem::PropertyDefinitionRepresentation() const
|
||||
{
|
||||
return GetCasted(StepRepr_PropertyDefinitionRepresentation,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_Representation) StepAP214_GroupItem::Representation() const
|
||||
{
|
||||
return GetCasted(StepRepr_Representation,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepAP214_GroupItem::RepresentationItem() const
|
||||
{
|
||||
return GetCasted(StepRepr_RepresentationItem,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationRelationshipWithTransformation) StepAP214_GroupItem::RepresentationRelationshipWithTransformation() const
|
||||
{
|
||||
return GetCasted(StepRepr_RepresentationRelationshipWithTransformation,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepAP214_GroupItem::ShapeAspect() const
|
||||
{
|
||||
return GetCasted(StepRepr_ShapeAspect,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ShapeAspectRelationship) StepAP214_GroupItem::ShapeAspectRelationship() const
|
||||
{
|
||||
return GetCasted(StepRepr_ShapeAspectRelationship,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ShapeRepresentationRelationship) StepAP214_GroupItem::ShapeRepresentationRelationship() const
|
||||
{
|
||||
return GetCasted(StepRepr_ShapeRepresentationRelationship,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_StyledItem) StepAP214_GroupItem::StyledItem() const
|
||||
{
|
||||
return GetCasted(StepVisual_StyledItem,Value());
|
||||
}
|
||||
|
||||
Handle(StepShape_TopologicalRepresentationItem) StepAP214_GroupItem::TopologicalRepresentationItem() const
|
||||
{
|
||||
return GetCasted(StepShape_TopologicalRepresentationItem,Value());
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,19 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
class Standard_Transient;
|
||||
class StepGeom_GeometricRepresentationItem;
|
||||
|
||||
class StepBasic_GroupRelationship;
|
||||
class StepRepr_MappedItem;
|
||||
class StepBasic_ProductDefinition;
|
||||
class StepBasic_ProductDefinitionFormation;
|
||||
class StepRepr_PropertyDefinitionRepresentation;
|
||||
class StepRepr_Representation;
|
||||
class StepRepr_RepresentationItem;
|
||||
class StepRepr_RepresentationRelationshipWithTransformation;
|
||||
class StepRepr_ShapeAspect;
|
||||
class StepRepr_ShapeAspectRelationship;
|
||||
class StepRepr_ShapeRepresentationRelationship;
|
||||
class StepVisual_StyledItem;
|
||||
class StepShape_TopologicalRepresentationItem;
|
||||
|
||||
|
||||
class StepAP214_GroupItem : public StepData_SelectType
|
||||
@@ -40,15 +52,63 @@ public:
|
||||
|
||||
//! Recognizes a GroupItem Kind Entity that is :
|
||||
//! 1 -> GeometricRepresentationItem
|
||||
//! 2 -> GroupRelationship
|
||||
//! 3 -> MappedItem
|
||||
//! 4 -> ProductDefinition
|
||||
//! 5 -> ProductDefinitionFormation
|
||||
//! 6 -> PropertyDefinitionRepresentation
|
||||
//! 7 -> Representation
|
||||
//! 8 -> RepresentationItem
|
||||
//! 9 -> RepresentationRelationshipWithTransformation
|
||||
//! 10 -> ShapeAspect
|
||||
//! 11 -> ShapeAspectRelationship
|
||||
//! 12 -> ShapeRepresentationRelationship
|
||||
//! 13 -> StyledItem
|
||||
//! 14 -> TopologicalRepresentationItem
|
||||
//! 0 else
|
||||
Standard_EXPORT virtual Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
|
||||
|
||||
//! returns Value as a GeometricRepresentationItem (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepGeom_GeometricRepresentationItem) GeometricRepresentationItem() const;
|
||||
|
||||
//! returns Value as a GroupRelationship (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_GroupRelationship) GroupRelationship() const;
|
||||
|
||||
//! returns Value as a MappedItem (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_MappedItem) MappedItem() const;
|
||||
|
||||
//! returns Value as a ProductDefinition (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_ProductDefinition) ProductDefinition() const;
|
||||
|
||||
//! returns Value as a ProductDefinitionFormation (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_ProductDefinitionFormation) ProductDefinitionFormation() const;
|
||||
|
||||
//! returns Value as a PropertyDefinitionRepresentation (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_PropertyDefinitionRepresentation) PropertyDefinitionRepresentation() const;
|
||||
|
||||
//! returns Value as a Representation (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_Representation) Representation() const;
|
||||
|
||||
//! returns Value as a RepresentationItem (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_RepresentationItem) RepresentationItem() const;
|
||||
|
||||
//! returns Value as a RepresentationRelationshipWithTransformation (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_RepresentationRelationshipWithTransformation) RepresentationRelationshipWithTransformation() const;
|
||||
|
||||
//! returns Value as a ShapeAspect (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ShapeAspect) ShapeAspect() const;
|
||||
|
||||
//! returns Value as a ShapeAspectRelationship (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
|
||||
|
||||
//! returns Value as a ShapeRepresentationRelationship (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ShapeRepresentationRelationship) ShapeRepresentationRelationship() const;
|
||||
|
||||
//! returns Value as a StyledItem (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepVisual_StyledItem) StyledItem() const;
|
||||
|
||||
//! returns Value as a TopologicalRepresentationItem (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepShape_TopologicalRepresentationItem) TopologicalRepresentationItem() const;
|
||||
protected:
|
||||
|
||||
|
||||
|
@@ -15,6 +15,7 @@
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepAP214_AppliedOrganizationAssignment.hxx>
|
||||
#include <StepAP214_AppliedSecurityClassificationAssignment.hxx>
|
||||
#include <StepAP214_OrganizationItem.hxx>
|
||||
#include <StepBasic_Approval.hxx>
|
||||
#include <StepBasic_DocumentFile.hxx>
|
||||
@@ -49,6 +50,7 @@ Standard_Integer StepAP214_OrganizationItem::CaseNum (const Handle(Standard_Tra
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 12;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_ShapeRepresentation))) return 13;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 14;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_AppliedSecurityClassificationAssignment))) return 15;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -57,3 +59,6 @@ Handle(StepAP214_AppliedOrganizationAssignment) StepAP214_OrganizationItem::App
|
||||
|
||||
Handle(StepBasic_Approval) StepAP214_OrganizationItem::Approval() const
|
||||
{ return GetCasted(StepBasic_Approval,Value()); }
|
||||
|
||||
Handle(StepAP214_AppliedSecurityClassificationAssignment) StepAP214_OrganizationItem::AppliedSecurityClassificationAssignment() const
|
||||
{ return GetCasted(StepAP214_AppliedSecurityClassificationAssignment,Value()); }
|
||||
|
@@ -26,6 +26,7 @@
|
||||
class Standard_Transient;
|
||||
class StepAP214_AppliedOrganizationAssignment;
|
||||
class StepBasic_Approval;
|
||||
class StepAP214_AppliedSecurityClassificationAssignment;
|
||||
|
||||
|
||||
|
||||
@@ -48,7 +49,8 @@ public:
|
||||
//! returns Value as a Approval (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_Approval) Approval() const;
|
||||
|
||||
|
||||
//! returns Value as a AppliedSecurityClassificationAssignment (Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedSecurityClassificationAssignment) AppliedSecurityClassificationAssignment() const;
|
||||
|
||||
|
||||
protected:
|
||||
|
@@ -15,7 +15,9 @@
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <StepAP214_AppliedOrganizationAssignment.hxx>
|
||||
#include <StepAP214_AppliedSecurityClassificationAssignment.hxx>
|
||||
#include <StepAP214_PersonAndOrganizationItem.hxx>
|
||||
#include <StepBasic_Approval.hxx>
|
||||
#include <StepBasic_DocumentFile.hxx>
|
||||
#include <StepBasic_Product.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
@@ -47,7 +49,8 @@ Standard_Integer StepAP214_PersonAndOrganizationItem::CaseNum(const Handle(Stand
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 11;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_ShapeRepresentation))) return 12;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_SecurityClassification))) return 13;
|
||||
|
||||
if (ent->IsKind(STANDARD_TYPE(StepAP214_AppliedSecurityClassificationAssignment))) return 14;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Approval))) return 15;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -57,4 +60,12 @@ Handle(StepAP214_AppliedOrganizationAssignment) StepAP214_PersonAndOrganizationI
|
||||
return GetCasted(StepAP214_AppliedOrganizationAssignment,Value());
|
||||
}
|
||||
|
||||
Handle(StepAP214_AppliedSecurityClassificationAssignment) StepAP214_PersonAndOrganizationItem::AppliedSecurityClassificationAssignment() const
|
||||
{
|
||||
return GetCasted(StepAP214_AppliedSecurityClassificationAssignment,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_Approval) StepAP214_PersonAndOrganizationItem::Approval() const
|
||||
{
|
||||
return GetCasted(StepBasic_Approval,Value());
|
||||
}
|
||||
|
@@ -25,6 +25,8 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
class Standard_Transient;
|
||||
class StepAP214_AppliedOrganizationAssignment;
|
||||
class StepAP214_AppliedSecurityClassificationAssignment;
|
||||
class StepBasic_Approval;
|
||||
|
||||
|
||||
|
||||
@@ -52,14 +54,19 @@ public:
|
||||
//! 11 -> PropertyDefinition
|
||||
//! 12 -> ShapeRepresentation
|
||||
//! 13 -> SecurityClassification
|
||||
//! 14 -> AppliedSecurityClassificationAssignment
|
||||
//! 15 -> Approval
|
||||
//! 0 else
|
||||
Standard_EXPORT virtual Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const Standard_OVERRIDE;
|
||||
|
||||
//! returns Value as a AppliedOrganizationAssignment (Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedOrganizationAssignment) AppliedOrganizationAssignment() const;
|
||||
|
||||
//! returns Value as a AppliedSecurityClassificationAssignment (Null if another type)
|
||||
Standard_EXPORT Handle(StepAP214_AppliedSecurityClassificationAssignment) AppliedSecurityClassificationAssignment() const;
|
||||
|
||||
|
||||
//! returns Value as a Approval (Null if another type)
|
||||
Standard_EXPORT Handle(StepBasic_Approval) Approval() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -25,6 +25,7 @@ static Standard_CString schemaAP214CD = "AUTOMOTIVE_DESIGN_CC2 { 1 2 10303 214
|
||||
static Standard_CString schemaAP214DIS = "AUTOMOTIVE_DESIGN { 1 2 10303 214 0 1 1 1 }";
|
||||
static Standard_CString schemaAP214IS = "AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }";
|
||||
static Standard_CString schemaAP203 = "CONFIG_CONTROL_DESIGN";
|
||||
static Standard_CString schemaAP242DIS = "AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF. {1 0 10303 442 1 1 4 }";
|
||||
|
||||
#include <HeaderSection_Protocol.hxx>
|
||||
|
||||
@@ -1468,6 +1469,7 @@ Standard_CString StepAP214_Protocol::SchemaName() const
|
||||
case 2 : return schemaAP214DIS; break;
|
||||
case 3 : return schemaAP203; break;
|
||||
case 4: return schemaAP214IS; break;
|
||||
case 5 : return schemaAP242DIS; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -14,6 +14,106 @@
|
||||
|
||||
#include <Interface_Macros.hxx>
|
||||
#include <StepAP214_SecurityClassificationItem.hxx>
|
||||
#include <StepBasic_Action.hxx>
|
||||
#include <StepBasic_Document.hxx>
|
||||
#include <StepBasic_DocumentFile.hxx>
|
||||
#include <StepBasic_Product.hxx>
|
||||
#include <StepBasic_ProductDefinition.hxx>
|
||||
#include <StepBasic_ProductDefinitionFormation.hxx>
|
||||
#include <StepBasic_ProductDefinitionRelationship.hxx>
|
||||
#include <StepBasic_VersionedActionRequest.hxx>
|
||||
#include <StepBasic_GeneralProperty.hxx>
|
||||
#include <StepRepr_ProductConcept.hxx>
|
||||
#include <StepRepr_AssemblyComponentUsage.hxx>
|
||||
#include <StepRepr_AssemblyComponentUsageSubstitute.hxx>
|
||||
#include <StepRepr_ConfigurationDesign.hxx>
|
||||
#include <StepRepr_ConfigurationEffectivity.hxx>
|
||||
#include <StepRepr_MakeFromUsageOption.hxx>
|
||||
#include <StepRepr_MaterialDesignation.hxx>
|
||||
#include <StepRepr_ProductDefinitionUsage.hxx>
|
||||
#include <StepRepr_PropertyDefinition.hxx>
|
||||
#include <StepShape_ShapeRepresentation.hxx>
|
||||
#include <StepVisual_DraughtingModel.hxx>
|
||||
#include <StepVisual_MechanicalDesignGeometricPresentationRepresentation.hxx>
|
||||
#include <StepVisual_PresentationArea.hxx>
|
||||
|
||||
StepAP214_SecurityClassificationItem::StepAP214_SecurityClassificationItem () { }
|
||||
|
||||
Standard_Integer StepAP214_SecurityClassificationItem::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Action))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_AssemblyComponentUsage))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_AssemblyComponentUsageSubstitute))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ConfigurationDesign))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ConfigurationEffectivity))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Document))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_DocumentFile))) return 7;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_DraughtingModel))) return 8;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_GeneralProperty))) return 9;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_MakeFromUsageOption))) return 10;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_MaterialDesignation))) return 11;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_MechanicalDesignGeometricPresentationRepresentation))) return 12;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepVisual_PresentationArea))) return 13;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Product))) return 14;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ProductConcept))) return 15;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 16;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 17;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionRelationship))) return 18;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ProductDefinitionUsage))) return 19;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 20;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepShape_ShapeRepresentation))) return 21;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_VersionedActionRequest))) return 22;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Action) StepAP214_SecurityClassificationItem::Action() const
|
||||
{
|
||||
return GetCasted(StepBasic_Action,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_AssemblyComponentUsage) StepAP214_SecurityClassificationItem::AssemblyComponentUsage() const
|
||||
{
|
||||
return GetCasted(StepRepr_AssemblyComponentUsage,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ConfigurationDesign) StepAP214_SecurityClassificationItem::ConfigurationDesign() const
|
||||
{
|
||||
return GetCasted(StepRepr_ConfigurationDesign,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ConfigurationEffectivity) StepAP214_SecurityClassificationItem::ConfigurationEffectivity() const
|
||||
{
|
||||
return GetCasted(StepRepr_ConfigurationEffectivity,Value());
|
||||
}
|
||||
|
||||
Handle(StepVisual_DraughtingModel) StepAP214_SecurityClassificationItem::DraughtingModel() const
|
||||
{
|
||||
return GetCasted(StepVisual_DraughtingModel,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_GeneralProperty) StepAP214_SecurityClassificationItem::GeneralProperty() const
|
||||
{
|
||||
return GetCasted(StepBasic_GeneralProperty,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_MakeFromUsageOption) StepAP214_SecurityClassificationItem::MakeFromUsageOption() const
|
||||
{
|
||||
return GetCasted(StepRepr_MakeFromUsageOption,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ProductConcept) StepAP214_SecurityClassificationItem::ProductConcept() const
|
||||
{
|
||||
return GetCasted(StepRepr_ProductConcept,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ProductDefinitionUsage) StepAP214_SecurityClassificationItem::ProductDefinitionUsage() const
|
||||
{
|
||||
return GetCasted(StepRepr_ProductDefinitionUsage,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_VersionedActionRequest) StepAP214_SecurityClassificationItem::VersionedActionRequest() const
|
||||
{
|
||||
return GetCasted(StepBasic_VersionedActionRequest,Value());
|
||||
}
|
||||
|
@@ -23,7 +23,16 @@
|
||||
|
||||
#include <StepAP214_ApprovalItem.hxx>
|
||||
|
||||
|
||||
class StepBasic_Action;
|
||||
class StepRepr_AssemblyComponentUsage;
|
||||
class StepRepr_ConfigurationDesign;
|
||||
class StepRepr_ConfigurationEffectivity;
|
||||
class StepVisual_DraughtingModel;
|
||||
class StepBasic_GeneralProperty;
|
||||
class StepRepr_MakeFromUsageOption;
|
||||
class StepRepr_ProductConcept;
|
||||
class StepRepr_ProductDefinitionUsage;
|
||||
class StepBasic_VersionedActionRequest;
|
||||
|
||||
class StepAP214_SecurityClassificationItem : public StepAP214_ApprovalItem
|
||||
{
|
||||
@@ -35,8 +44,61 @@ public:
|
||||
//! Returns a SecurityClassificationItem SelectType
|
||||
Standard_EXPORT StepAP214_SecurityClassificationItem();
|
||||
|
||||
//! Recognizes a SecurityClassificationItem Kind Entity that is :
|
||||
//! 1 -> Action
|
||||
//! 2 -> AssemblyComponentUsage
|
||||
//! 3 -> AssemblyComponentUsageSubstitute
|
||||
//! 4 -> ConfigurationDesign
|
||||
//! 5 -> ConfigurationEffectivity
|
||||
//! 6 -> Document
|
||||
//! 7 -> DocumentFile
|
||||
//! 8 -> DraughtingModel
|
||||
//! 9 -> GeneralProperty
|
||||
//! 10 -> MakeFromUsageOption
|
||||
//! 11 -> MaterialDesignation
|
||||
//! 12 -> MechanicalDesignGeometricPresentationRepresentation
|
||||
//! 13 -> PresentationArea
|
||||
//! 14 -> Product
|
||||
//! 15 -> ProductConcept
|
||||
//! 16 -> ProductDefinition
|
||||
//! 17 -> ProductDefinitionFormation
|
||||
//! 18 -> ProductDefinitionRelationship
|
||||
//! 19 -> ProductDefinitionUsage
|
||||
//! 20 -> PropertyDefinition
|
||||
//! 21 -> ShapeRepresentation
|
||||
//! 22 -> VersionedActionRequest
|
||||
//! 0 else
|
||||
Standard_EXPORT virtual Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
|
||||
|
||||
//! returns Value as a Action (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_Action) Action() const;
|
||||
|
||||
//! returns Value as a AssemblyComponentUsage (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_AssemblyComponentUsage) AssemblyComponentUsage() const;
|
||||
|
||||
//! returns Value as a ConfigurationDesign (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ConfigurationDesign) ConfigurationDesign() const;
|
||||
|
||||
//! returns Value as a ConfigurationEffectivity (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ConfigurationEffectivity) ConfigurationEffectivity() const;
|
||||
|
||||
//! returns Value as a DraughtingModel (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepVisual_DraughtingModel) DraughtingModel() const;
|
||||
|
||||
//! returns Value as a GeneralProperty (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_GeneralProperty) GeneralProperty() const;
|
||||
|
||||
//! returns Value as a MakeFromUsageOption (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_MakeFromUsageOption) MakeFromUsageOption() const;
|
||||
|
||||
//! returns Value as a ProductConcept (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ProductConcept) ProductConcept() const;
|
||||
|
||||
//! returns Value as a ProductDefinitionUsage (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepRepr_ProductDefinitionUsage) ProductDefinitionUsage() const;
|
||||
|
||||
//! returns Value as a VersionedActionRequest (Null if another type)
|
||||
Standard_EXPORT virtual Handle(StepBasic_VersionedActionRequest) VersionedActionRequest() const;
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user