mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026371: Implementation of new entities for GD&T
Implement entities: - DatumReferenceCompartment, - DatumReferenceElement, - DatumReferenceModifierWithValue, - DatumSystem, - GeneralDatumReference, - ValueFormatTypeQualifier, - NonUniformZoneDefinition, - ProjectedZoneDefinition, - RunoutZoneDefinition, - RunoutZoneOrientation, - ToleranceZone, - ToleranceZoneDefinition, - ToleranceZoneForm, - ToleranceZoneTarget, - GeometricToleranceWithDefinedAreaUnit, - GeometricToleranceWithDefinedUnit, - GeometricToleranceWithMaximumTolerance, - GeometricToleranceWithModifiers, - UnequallyDisposedGeometricTolerance, - GeometricItemSpecificUsage, - IdAttribute, - IdAttributeSelect, - ItemIdentifiedRepresentationUsage, - ItemIdentifiedRepresentationUsageDefinition, - Apex, - CentreOfSymmetry, - GeometricAlignment, - ParallelOffset, - PerpendicularTo, - Tangent, - AllAroundShapeAspect, - BetweenShapeAspect, - CompositeGroupShapeAspect, - ContinuosShapeAspect, - ReprItemAndLengthMeasureWithUnitAndQRI, - ReprItemAndPlaneAngleMeasureWithUnitAndQRI, - ReprItemAndPlaneAngleMeasureWithUnit, - CompGroupShAspAndCompShAspAndDatumFeatAndShAsp, - CompShAspAndDatumFeatAndShAsp, - GeoTolAndGeoTolWthDatRef, - GeoTolAndGeoTolWthDatRefAndGeoTolWthMod, - GeoTolAndGeoTolWthMod, - GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol, - IntegerRepresentationItem, - ValueRepresentationItem. Modify entities: - GeometricTolerance, - GeometricToleranceWithDatumReference, - ShapeDimensionRepresentation. fix compilation error fix compilation warning
This commit is contained in:
6
src/RWStepAP242/FILES
Normal file
6
src/RWStepAP242/FILES
Normal file
@@ -0,0 +1,6 @@
|
||||
RWStepAP242_RWGeometricItemSpecificUsage.cxx
|
||||
RWStepAP242_RWGeometricItemSpecificUsage.hxx
|
||||
RWStepAP242_RWIdAttribute.cxx
|
||||
RWStepAP242_RWIdAttribute.hxx
|
||||
RWStepAP242_RWItemIdentifiedRepresentationUsage.cxx
|
||||
RWStepAP242_RWItemIdentifiedRepresentationUsage.hxx
|
115
src/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.cxx
Normal file
115
src/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.cxx
Normal file
@@ -0,0 +1,115 @@
|
||||
// Created on: 2015-07-07
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <RWStepAP242_RWGeometricItemSpecificUsage.hxx>
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <StepData_StepReaderData.hxx>
|
||||
#include <StepData_StepWriter.hxx>
|
||||
#include <StepAP242_GeometricItemSpecificUsage.hxx>
|
||||
#include <StepRepr_HArray1OfRepresentationItem.hxx>
|
||||
#include <StepRepr_Representation.hxx>
|
||||
|
||||
|
||||
RWStepAP242_RWGeometricItemSpecificUsage::RWStepAP242_RWGeometricItemSpecificUsage () {}
|
||||
|
||||
void RWStepAP242_RWGeometricItemSpecificUsage::ReadStep
|
||||
(const Handle(StepData_StepReaderData)& data,
|
||||
const Standard_Integer num,
|
||||
Handle(Interface_Check)& ach,
|
||||
const Handle(StepAP242_GeometricItemSpecificUsage)& ent) const
|
||||
{
|
||||
|
||||
|
||||
// --- Number of Parameter Control ---
|
||||
|
||||
if (!data->CheckNbParams(num,5,ach,"geometric_item_specific_usage")) return;
|
||||
|
||||
// Inherited fields of ItemIdentifiedRepresentationUsage
|
||||
|
||||
Handle(TCollection_HAsciiString) aName;
|
||||
data->ReadString (num,1,"item_identified_representation_usage.name",ach,aName);
|
||||
|
||||
Handle(TCollection_HAsciiString) aDescription;
|
||||
if (data->IsParamDefined (num,2)) {
|
||||
data->ReadString (num,2,"item_identified_representation_usage.description",ach,aDescription);
|
||||
}
|
||||
|
||||
StepAP242_ItemIdentifiedRepresentationUsageDefinition aDefinition;
|
||||
data->ReadEntity(num,3,"item_identified_representation_usage.definition",ach,aDefinition);
|
||||
|
||||
Handle(StepRepr_Representation) aRepresentation;
|
||||
data->ReadEntity (num,4,"item_identified_representation_usage.used_representation",ach,STANDARD_TYPE(StepRepr_Representation), aRepresentation);
|
||||
|
||||
Handle(StepRepr_HArray1OfRepresentationItem) anItems;
|
||||
Handle(StepRepr_RepresentationItem) anEnt;
|
||||
Standard_Integer nbSub;
|
||||
Interface_ParamType aType = data->ParamType(num, 5);
|
||||
if (aType == Interface_ParamIdent) {
|
||||
data->ReadEntity(num, 5,"item_identified_representation_usage.identified_item", ach, STANDARD_TYPE(StepRepr_RepresentationItem), anEnt);
|
||||
anItems = new StepRepr_HArray1OfRepresentationItem (1, 1);
|
||||
anItems->SetValue(1, anEnt);
|
||||
}
|
||||
else if (data->ReadSubList (num,5,"item_identified_representation_usage.identified_item",ach,nbSub)) {
|
||||
Standard_Integer nbElements = data->NbParams(nbSub);
|
||||
anItems = new StepRepr_HArray1OfRepresentationItem (1, nbElements);
|
||||
for (Standard_Integer i = 1; i <= nbElements; i++) {
|
||||
if (data->ReadEntity(nbSub, i,"representation_item", ach,
|
||||
STANDARD_TYPE(StepRepr_RepresentationItem), anEnt))
|
||||
anItems->SetValue(i, anEnt);
|
||||
}
|
||||
}
|
||||
|
||||
//--- Initialisation of the read entity ---
|
||||
|
||||
ent->Init(aName, aDescription, aDefinition, aRepresentation, anItems);
|
||||
}
|
||||
|
||||
void RWStepAP242_RWGeometricItemSpecificUsage::WriteStep
|
||||
(StepData_StepWriter& SW,
|
||||
const Handle(StepAP242_GeometricItemSpecificUsage)& ent) const
|
||||
{
|
||||
// Inherited fields of ItemIdentifiedRepresentationUsage
|
||||
|
||||
SW.Send(ent->Name());
|
||||
|
||||
SW.Send(ent->Description());
|
||||
|
||||
SW.Send(ent->Definition().Value());
|
||||
|
||||
SW.Send(ent->UsedRepresentation());
|
||||
|
||||
if (ent->NbIdentifiedItem() == 1)
|
||||
SW.Send(ent->IdentifiedItemValue(1));
|
||||
else {
|
||||
SW.OpenSub();
|
||||
for (Standard_Integer i = 1; i <= ent->NbIdentifiedItem(); i++) {
|
||||
SW.Send(ent->IdentifiedItemValue(i));
|
||||
}
|
||||
SW.CloseSub();
|
||||
}
|
||||
}
|
||||
|
||||
void RWStepAP242_RWGeometricItemSpecificUsage::Share(
|
||||
const Handle(StepAP242_GeometricItemSpecificUsage)& ent,
|
||||
Interface_EntityIterator& iter) const
|
||||
{
|
||||
// Inherited fields of ItemIdentifiedRepresentationUsage
|
||||
|
||||
iter.AddItem(ent->Definition().Value());
|
||||
Standard_Integer i, nb = ent->NbIdentifiedItem();
|
||||
for (i = 1; i <= nb; i++)
|
||||
iter.AddItem (ent->IdentifiedItemValue(i));
|
||||
}
|
||||
|
48
src/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.hxx
Normal file
48
src/RWStepAP242/RWStepAP242_RWGeometricItemSpecificUsage.hxx
Normal file
@@ -0,0 +1,48 @@
|
||||
// Created on: 2015-07-07
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _RWStepAP242_RWGeometricItemSpecificUsage_HeaderFile
|
||||
#define _RWStepAP242_RWGeometricItemSpecificUsage_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
|
||||
class StepData_StepReaderData;
|
||||
class Interface_Check;
|
||||
class StepAP242_GeometricItemSpecificUsage;
|
||||
class StepData_StepWriter;
|
||||
class Interface_EntityIterator;
|
||||
|
||||
|
||||
//! Read & Write Module for GeometricItemSpecificUsage
|
||||
class RWStepAP242_RWGeometricItemSpecificUsage
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT RWStepAP242_RWGeometricItemSpecificUsage();
|
||||
|
||||
Standard_EXPORT void ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepAP242_GeometricItemSpecificUsage)& ent) const;
|
||||
|
||||
Standard_EXPORT void WriteStep (StepData_StepWriter& SW, const Handle(StepAP242_GeometricItemSpecificUsage)& ent) const;
|
||||
|
||||
Standard_EXPORT void Share (const Handle(StepAP242_GeometricItemSpecificUsage)& ent, Interface_EntityIterator& iter) const;
|
||||
};
|
||||
#endif // _RWStepAP242_RWGeometricItemSpecificUsage_HeaderFile
|
70
src/RWStepAP242/RWStepAP242_RWIdAttribute.cxx
Normal file
70
src/RWStepAP242/RWStepAP242_RWIdAttribute.cxx
Normal file
@@ -0,0 +1,70 @@
|
||||
// Created on: 2015-07-07
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <RWStepAP242_RWIdAttribute.hxx>
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <StepData_StepReaderData.hxx>
|
||||
#include <StepData_StepWriter.hxx>
|
||||
#include <StepAP242_IdAttribute.hxx>
|
||||
#include <StepAP242_IdAttributeSelect.hxx>
|
||||
|
||||
RWStepAP242_RWIdAttribute::RWStepAP242_RWIdAttribute () {}
|
||||
|
||||
void RWStepAP242_RWIdAttribute::ReadStep
|
||||
(const Handle(StepData_StepReaderData)& data,
|
||||
const Standard_Integer num,
|
||||
Handle(Interface_Check)& ach,
|
||||
const Handle(StepAP242_IdAttribute)& ent) const
|
||||
{
|
||||
|
||||
|
||||
// --- Number of Parameter Control ---
|
||||
|
||||
if (!data->CheckNbParams(num,2,ach,"id_attribute")) return;
|
||||
|
||||
// --- own field : attribute_value ---
|
||||
|
||||
Handle(TCollection_HAsciiString) anAttributeValue;
|
||||
data->ReadString (num,1,"attribute_value",ach,anAttributeValue);
|
||||
|
||||
// --- own field : identified_item ---
|
||||
|
||||
StepAP242_IdAttributeSelect anIdentifiedItem;
|
||||
data->ReadEntity (num,2,"identified_item",ach,anIdentifiedItem);
|
||||
|
||||
//--- Initialisation of the read entity ---
|
||||
|
||||
ent->Init(anAttributeValue, anIdentifiedItem);
|
||||
}
|
||||
|
||||
void RWStepAP242_RWIdAttribute::WriteStep
|
||||
(StepData_StepWriter& SW,
|
||||
const Handle(StepAP242_IdAttribute)& ent) const
|
||||
{
|
||||
|
||||
// --- own field : attribute_value ---
|
||||
|
||||
SW.Send(ent->AttributeValue());
|
||||
|
||||
// --- own field : identified_item ---
|
||||
|
||||
SW.Send(ent->IdentifiedItem().Value());
|
||||
}
|
||||
|
||||
void RWStepAP242_RWIdAttribute::Share(const Handle(StepAP242_IdAttribute)& ent, Interface_EntityIterator& iter) const
|
||||
{
|
||||
iter.GetOneItem(ent->IdentifiedItem().Value());
|
||||
}
|
||||
|
48
src/RWStepAP242/RWStepAP242_RWIdAttribute.hxx
Normal file
48
src/RWStepAP242/RWStepAP242_RWIdAttribute.hxx
Normal file
@@ -0,0 +1,48 @@
|
||||
// Created on: 2015-07-07
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _RWStepAP242_RWIdAttribute_HeaderFile
|
||||
#define _RWStepAP242_RWIdAttribute_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
|
||||
class StepData_StepReaderData;
|
||||
class Interface_Check;
|
||||
class StepAP242_IdAttribute;
|
||||
class StepData_StepWriter;
|
||||
class Interface_EntityIterator;
|
||||
|
||||
|
||||
//! Read & Write Module for IdAttribute
|
||||
class RWStepAP242_RWIdAttribute
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT RWStepAP242_RWIdAttribute();
|
||||
|
||||
Standard_EXPORT void ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepAP242_IdAttribute)& ent) const;
|
||||
|
||||
Standard_EXPORT void WriteStep (StepData_StepWriter& SW, const Handle(StepAP242_IdAttribute)& ent) const;
|
||||
|
||||
Standard_EXPORT void Share (const Handle(StepAP242_IdAttribute)& ent, Interface_EntityIterator& iter) const;
|
||||
};
|
||||
#endif // _RWStepAP242_RWIdAttribute_HeaderFile
|
@@ -0,0 +1,131 @@
|
||||
// Created on: 2015-07-07
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <RWStepAP242_RWItemIdentifiedRepresentationUsage.hxx>
|
||||
#include <Interface_EntityIterator.hxx>
|
||||
#include <StepRepr_HArray1OfRepresentationItem.hxx>
|
||||
#include <StepData_StepReaderData.hxx>
|
||||
#include <StepData_StepWriter.hxx>
|
||||
#include <StepAP242_ItemIdentifiedRepresentationUsage.hxx>
|
||||
#include <StepAP242_ItemIdentifiedRepresentationUsageDefinition.hxx>
|
||||
#include <StepRepr_Representation.hxx>
|
||||
|
||||
|
||||
RWStepAP242_RWItemIdentifiedRepresentationUsage::RWStepAP242_RWItemIdentifiedRepresentationUsage () {}
|
||||
|
||||
void RWStepAP242_RWItemIdentifiedRepresentationUsage::ReadStep
|
||||
(const Handle(StepData_StepReaderData)& data,
|
||||
const Standard_Integer num,
|
||||
Handle(Interface_Check)& ach,
|
||||
const Handle(StepAP242_ItemIdentifiedRepresentationUsage)& ent) const
|
||||
{
|
||||
// --- Number of Parameter Control ---
|
||||
|
||||
if (!data->CheckNbParams(num,5,ach,"item_identified_representation_usage")) return;
|
||||
|
||||
// --- own field : name ---
|
||||
|
||||
Handle(TCollection_HAsciiString) aName;
|
||||
data->ReadString (num,1,"name",ach,aName);
|
||||
|
||||
// --- own field : description ---
|
||||
|
||||
Handle(TCollection_HAsciiString) aDescription;
|
||||
if (data->IsParamDefined (num,2)) {
|
||||
data->ReadString (num,2,"description",ach,aDescription);
|
||||
}
|
||||
// --- own field : definition ---
|
||||
|
||||
StepAP242_ItemIdentifiedRepresentationUsageDefinition aDefinition;
|
||||
data->ReadEntity(num,3,"definition",ach,aDefinition);
|
||||
|
||||
// --- own field : used_representation ---
|
||||
|
||||
Handle(StepRepr_Representation) aRepresentation;
|
||||
data->ReadEntity (num,4,"used_representation",ach,STANDARD_TYPE(StepRepr_Representation), aRepresentation);
|
||||
|
||||
// --- own field : identified_item
|
||||
|
||||
Handle(StepRepr_HArray1OfRepresentationItem) anItems;
|
||||
Handle(StepRepr_RepresentationItem) anEnt;
|
||||
Standard_Integer nbSub;
|
||||
Interface_ParamType aType = data->ParamType(num, 5);
|
||||
if (aType == Interface_ParamIdent) {
|
||||
data->ReadEntity(num, 5,"item_identified_representation_usage.identified_item", ach, STANDARD_TYPE(StepRepr_RepresentationItem), anEnt);
|
||||
anItems = new StepRepr_HArray1OfRepresentationItem (1, 1);
|
||||
anItems->SetValue(1, anEnt);
|
||||
}
|
||||
else if (data->ReadSubList (num,5,"item_identified_representation_usage.identified_item",ach,nbSub)) {
|
||||
Standard_Integer nbElements = data->NbParams(nbSub);
|
||||
anItems = new StepRepr_HArray1OfRepresentationItem (1, nbElements);
|
||||
for (Standard_Integer i = 1; i <= nbElements; i++) {
|
||||
if (data->ReadEntity(nbSub, i,"representation_item", ach,
|
||||
STANDARD_TYPE(StepRepr_RepresentationItem), anEnt))
|
||||
anItems->SetValue(i, anEnt);
|
||||
}
|
||||
}
|
||||
|
||||
//--- Initialisation of the read entity ---
|
||||
|
||||
|
||||
ent->Init(aName, aDescription, aDefinition, aRepresentation, anItems);
|
||||
}
|
||||
|
||||
|
||||
void RWStepAP242_RWItemIdentifiedRepresentationUsage::WriteStep
|
||||
(StepData_StepWriter& SW,
|
||||
const Handle(StepAP242_ItemIdentifiedRepresentationUsage)& ent) const
|
||||
{
|
||||
|
||||
// --- own field : name ---
|
||||
|
||||
SW.Send(ent->Name());
|
||||
|
||||
// --- own field : description ---
|
||||
|
||||
SW.Send(ent->Description());
|
||||
|
||||
// --- own field : definition ---
|
||||
|
||||
SW.Send(ent->Definition().Value());
|
||||
|
||||
// --- own field : used_representation ---
|
||||
|
||||
SW.Send(ent->UsedRepresentation());
|
||||
|
||||
// --- own field : identified_item ---
|
||||
|
||||
if (ent->NbIdentifiedItem() == 1)
|
||||
SW.Send(ent->IdentifiedItemValue(1));
|
||||
else {
|
||||
SW.OpenSub();
|
||||
for (Standard_Integer i = 1; i <= ent->NbIdentifiedItem(); i++) {
|
||||
SW.Send(ent->IdentifiedItemValue(i));
|
||||
}
|
||||
SW.CloseSub();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void RWStepAP242_RWItemIdentifiedRepresentationUsage::Share(
|
||||
const Handle(StepAP242_ItemIdentifiedRepresentationUsage)& ent,
|
||||
Interface_EntityIterator& iter) const
|
||||
{
|
||||
iter.AddItem(ent->Definition().Value());
|
||||
Standard_Integer i, nb = ent->NbIdentifiedItem();
|
||||
for (i = 1; i <= nb; i++)
|
||||
iter.AddItem (ent->IdentifiedItemValue(i));
|
||||
}
|
||||
|
@@ -0,0 +1,48 @@
|
||||
// Created on: 2015-07-07
|
||||
// Created by: Irina KRYLOVA
|
||||
// Copyright (c) 2015 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _RWStepAP242_RWItemIdentifiedRepresentationUsage_HeaderFile
|
||||
#define _RWStepAP242_RWItemIdentifiedRepresentationUsage_HeaderFile
|
||||
|
||||
#include <Standard.hxx>
|
||||
#include <Standard_DefineAlloc.hxx>
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
|
||||
class StepData_StepReaderData;
|
||||
class Interface_Check;
|
||||
class StepAP242_ItemIdentifiedRepresentationUsage;
|
||||
class StepData_StepWriter;
|
||||
class Interface_EntityIterator;
|
||||
|
||||
|
||||
//! Read & Write Module for ItemIdentifiedRepresentationUsage
|
||||
class RWStepAP242_RWItemIdentifiedRepresentationUsage
|
||||
{
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
Standard_EXPORT RWStepAP242_RWItemIdentifiedRepresentationUsage();
|
||||
|
||||
Standard_EXPORT void ReadStep (const Handle(StepData_StepReaderData)& data, const Standard_Integer num, Handle(Interface_Check)& ach, const Handle(StepAP242_ItemIdentifiedRepresentationUsage)& ent) const;
|
||||
|
||||
Standard_EXPORT void WriteStep (StepData_StepWriter& SW, const Handle(StepAP242_ItemIdentifiedRepresentationUsage)& ent) const;
|
||||
|
||||
Standard_EXPORT void Share (const Handle(StepAP242_ItemIdentifiedRepresentationUsage)& ent, Interface_EntityIterator& iter) const;
|
||||
};
|
||||
#endif // _RWStepAP242_RWItemIdentifiedRepresentationUsage_HeaderFile
|
Reference in New Issue
Block a user