1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

1
src/RWStepAP214/FILES Executable file
View File

@@ -0,0 +1 @@
RWStepAP214_CMPLRS.edl

59
src/RWStepAP214/RWStepAP214.cdl Executable file
View File

@@ -0,0 +1,59 @@
-- File: StepAP214.cdl
-- Created: Mon Dec 4 12:02:22 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
package RWStepAP214
uses
StepData, Interface, TCollection, TColStd, StepAP214
is
class ReadWriteModule;
class GeneralModule;
class RWAutoDesignActualDateAndTimeAssignment;
class RWAutoDesignActualDateAssignment;
class RWAutoDesignApprovalAssignment;
class RWAutoDesignDateAndPersonAssignment;
class RWAutoDesignGroupAssignment;
class RWAutoDesignNominalDateAndTimeAssignment;
class RWAutoDesignNominalDateAssignment;
class RWAutoDesignOrganizationAssignment;
class RWAutoDesignPersonAndOrganizationAssignment;
class RWAutoDesignPresentedItem;
class RWAutoDesignSecurityClassificationAssignment;
-- Removed from Rev2 to Rev4 : class RWAutoDesignViewArea;
-- Added from STEP214-CC1 to CC2
class RWAutoDesignDocumentReference;
--Added from CC2 to DIS
class RWAppliedDateAndTimeAssignment;
class RWAppliedDateAssignment;
class RWAppliedApprovalAssignment;
class RWAppliedGroupAssignment;
class RWAppliedOrganizationAssignment;
class RWAppliedPersonAndOrganizationAssignment;
class RWAppliedPresentedItem;
class RWAppliedSecurityClassificationAssignment;
class RWAppliedDocumentReference;
-- added for external references (CAX-IF TRJ4)
class RWAppliedExternalIdentificationAssignment;
class RWClass;
class RWExternallyDefinedClass;
class RWExternallyDefinedGeneralProperty;
class RWRepItemGroup;
Init;
---Purpose: enforced the initialisation of the libraries
end RWStepAP214;

25
src/RWStepAP214/RWStepAP214.cxx Executable file
View File

@@ -0,0 +1,25 @@
#include <RWStepAP214.ixx>
#include <RWHeaderSection.hxx>
#include <StepAP214_Protocol.hxx>
#include <StepAP214.hxx>
#include <RWStepAP214_ReadWriteModule.hxx>
#include <RWStepAP214_GeneralModule.hxx>
#include <Interface_GeneralLib.hxx>
#include <Interface_ReaderLib.hxx>
#include <StepData_WriterLib.hxx>
static int init = 0;
void RWStepAP214::Init()
{
if (init) return; init = 1;
RWHeaderSection::Init();
Handle(StepAP214_Protocol) proto = StepAP214::Protocol();
Interface_GeneralLib::SetGlobal (new RWStepAP214_GeneralModule,proto);
Interface_ReaderLib::SetGlobal (new RWStepAP214_ReadWriteModule,proto);
StepData_WriterLib::SetGlobal (new RWStepAP214_ReadWriteModule,proto);
}

View File

@@ -0,0 +1,17 @@
-- File: CMPLRS.edl
-- Author: Christian CAILLET
-- History: Wed May 21 10:57:28 1997
-- Copyright: Matra Datavision 1997
-- Pb compil gros code HP-UX sous WOK++
-- trop de warning -> shut up
@if ( %Station == "hp" || %Station == "sil" ) then
@string %CMPLRS_CXX_Options = %CMPLRS_CXX_Options " -w ";
-- Pb optimiseur (O2) pas fiable
@set %ModeOpt = "+O1";
@endif;

View File

@@ -0,0 +1,50 @@
-- File: GeneralModule.cdl
-- Created: Thu Dec 7 14:30:07 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class GeneralModule from RWStepAP214 inherits GeneralModule from StepData
---Purpose : Defines General Services for StepAP214 Entities
-- (Share,Check,Copy; Trace already inherited)
-- Depends (for case numbers) of Protocol from StepAP214
uses Transient, HAsciiString from TCollection,
EntityIterator from Interface,
ShareTool from Interface,
Check from Interface,
CopyTool from Interface,
InterfaceModel from Interface
is
Create returns mutable GeneralModule from RWStepAP214;
---Purpose : Creates a GeneralModule
FillSharedCase (me; CN : Integer; ent : Transient;
iter : in out EntityIterator);
---Purpose : Specific filling of the list of Entities shared by an Entity
-- <ent>, according to a Case Number <CN> (provided by StepAP214
-- Protocol).
CheckCase (me; CN : Integer; ent : Transient; shares : ShareTool; ach : in out Check);
---Purpose : Specific Checking of an Entity <ent>
CopyCase (me; CN : Integer; entfrom : Transient; entto : mutable Transient; TC : in out CopyTool);
---Purpose : Specific Copy ("Deep") from <entfrom> to <entto> (same type)
-- by using a CopyTool which provides its working Map.
-- Use method Transferred from CopyTool to work
NewVoid (me; CN : Integer; ent : out mutable Transient) returns Boolean;
CategoryNumber (me; CN : Integer; ent : Transient; shares : ShareTool)
returns Integer is redefined;
Name (me; CN : Integer; ent : Transient; shares : ShareTool from Interface)
returns HAsciiString from TCollection is redefined;
---Purpose : Returns the name of a STEP Entity according to its type
end GeneralModule;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,31 @@
-- File: RWStepAP214_RWAppliedApprovalAssignment.cdl
-- Created: Fri Mar 12 11:44:44 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedApprovalAssignment from RWStepAP214
---Purpose: Read & Write Module for AppliedApprovalAssignment
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedApprovalAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedApprovalAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedApprovalAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedApprovalAssignment from StepAP214);
Share(me; ent : AppliedApprovalAssignment from StepAP214; iter : in out EntityIterator);
end RWAppliedApprovalAssignment;

View File

@@ -0,0 +1,87 @@
#include <RWStepAP214_RWAppliedApprovalAssignment.ixx>
#include <StepAP214_HArray1OfApprovalItem.hxx>
#include <StepAP214_ApprovalItem.hxx>
#include <StepBasic_Approval.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AppliedApprovalAssignment.hxx>
RWStepAP214_RWAppliedApprovalAssignment::RWStepAP214_RWAppliedApprovalAssignment () {}
void RWStepAP214_RWAppliedApprovalAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedApprovalAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,2,ach,"applied_approval_assignment")) return;
// --- inherited field : assignedApproval ---
Handle(StepBasic_Approval) aAssignedApproval;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_approval", ach, STANDARD_TYPE(StepBasic_Approval), aAssignedApproval);
// --- own field : items ---
Handle(StepAP214_HArray1OfApprovalItem) aItems;
StepAP214_ApprovalItem aItemsItem;
Standard_Integer nsub2;
if (data->ReadSubList (num,2,"items",ach,nsub2)) {
Standard_Integer nb2 = data->NbParams(nsub2);
aItems = new StepAP214_HArray1OfApprovalItem (1, nb2);
for (Standard_Integer i2 = 1; i2 <= nb2; i2 ++) {
Standard_Boolean stat2 = data->ReadEntity
(nsub2,i2,"items",ach,aItemsItem);
if (stat2) aItems->SetValue(i2,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedApproval, aItems);
}
void RWStepAP214_RWAppliedApprovalAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedApprovalAssignment)& ent) const
{
// --- inherited field assignedApproval ---
SW.Send(ent->AssignedApproval());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i2 = 1; i2 <= ent->NbItems(); i2 ++) {
SW.Send(ent->ItemsValue(i2).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedApprovalAssignment::Share(const Handle(StepAP214_AppliedApprovalAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedApproval());
Standard_Integer nbElem2 = ent->NbItems();
for (Standard_Integer is2=1; is2<=nbElem2; is2 ++) {
iter.GetOneItem(ent->ItemsValue(is2).Value());
}
}

View File

@@ -0,0 +1,34 @@
-- File: RWStepAP214_RWAppliedDateAndTimeAssignment.cdl
-- Created: Fri Mar 12 11:01:26 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedDateAndTimeAssignment from RWStepAP214
---Purpose: Read & Write Module for AppliedDateAndTimeAssignment
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedDateAndTimeAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedDateAndTimeAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedDateAndTimeAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedDateAndTimeAssignment from StepAP214);
Share(me; ent : AppliedDateAndTimeAssignment from StepAP214; iter : in out EntityIterator);
end RWAppliedDateAndTimeAssignment;

View File

@@ -0,0 +1,101 @@
//create s4134 from CC2 to DIS
#include <RWStepAP214_RWAppliedDateAndTimeAssignment.ixx>
#include <StepAP214_HArray1OfDateAndTimeItem.hxx>
#include <StepAP214_DateAndTimeItem.hxx>
#include <StepBasic_DateAndTime.hxx>
#include <StepBasic_DateTimeRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AppliedDateAndTimeAssignment.hxx>
RWStepAP214_RWAppliedDateAndTimeAssignment::RWStepAP214_RWAppliedDateAndTimeAssignment () {}
void RWStepAP214_RWAppliedDateAndTimeAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedDateAndTimeAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"applied_date_and_time_assignment")) return;
// --- inherited field : assignedDateAndTime ---
Handle(StepBasic_DateAndTime) aAssignedDateAndTime;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_date_and_time", ach, STANDARD_TYPE(StepBasic_DateAndTime), aAssignedDateAndTime);
// --- inherited field : role ---
Handle(StepBasic_DateTimeRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_DateTimeRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfDateAndTimeItem) aItems;
StepAP214_DateAndTimeItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList(num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfDateAndTimeItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedDateAndTime, aRole, aItems);
}
void RWStepAP214_RWAppliedDateAndTimeAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedDateAndTimeAssignment)& ent) const
{
// --- inherited field assignedDateAndTime ---
SW.Send(ent->AssignedDateAndTime());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedDateAndTimeAssignment::Share(const Handle(StepAP214_AppliedDateAndTimeAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedDateAndTime());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,32 @@
-- File: RWStepAP214_RWAppliedDateAssignment.cdl
-- Created: Fri Mar 12 11:22:27 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedDateAssignment from RWStepAP214
---Purpose: Read & Write Module for AppliedDateAssignment
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedDateAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedDateAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedDateAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedDateAssignment from StepAP214);
Share(me; ent : AppliedDateAssignment from StepAP214; iter : in out EntityIterator);
end RWAppliedDateAssignment;

View File

@@ -0,0 +1,101 @@
#include <RWStepAP214_RWAppliedDateAssignment.ixx>
#include <StepAP214_HArray1OfDateItem.hxx>
#include <StepAP214_DateItem.hxx>
#include <StepBasic_Date.hxx>
#include <StepBasic_DateRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AppliedDateAssignment.hxx>
RWStepAP214_RWAppliedDateAssignment::RWStepAP214_RWAppliedDateAssignment () {}
void RWStepAP214_RWAppliedDateAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedDateAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"applied_date_assignment")) return;
// --- inherited field : assignedDate ---
Handle(StepBasic_Date) aAssignedDate;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_date", ach, STANDARD_TYPE(StepBasic_Date), aAssignedDate);
// --- inherited field : role ---
Handle(StepBasic_DateRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_DateRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfDateItem) aItems;
StepAP214_DateItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList(num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfDateItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedDate, aRole, aItems);
}
void RWStepAP214_RWAppliedDateAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedDateAssignment)& ent) const
{
// --- inherited field assignedDate ---
SW.Send(ent->AssignedDate());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedDateAssignment::Share(const Handle(StepAP214_AppliedDateAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedDate());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: RWStepAP214_RWAppliedDocumentReference.cdl
-- Created: Fri Mar 12 12:16:39 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedDocumentReference from RWStepAP214
---Purpose: Read & Write Module for AppliedDocumentReference
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedDocumentReference from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedDocumentReference;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedDocumentReference from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedDocumentReference from StepAP214);
Share(me; ent : AppliedDocumentReference from StepAP214; iter : in out EntityIterator);
end RWAppliedDocumentReference;

View File

@@ -0,0 +1,85 @@
#include <RWStepAP214_RWAppliedDocumentReference.ixx>
#include <StepBasic_Document.hxx>
#include <TCollection_HAsciiString.hxx>
#include <StepAP214_HArray1OfDocumentReferenceItem.hxx>
#include <StepAP214_DocumentReferenceItem.hxx>
RWStepAP214_RWAppliedDocumentReference::RWStepAP214_RWAppliedDocumentReference () { }
void RWStepAP214_RWAppliedDocumentReference::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedDocumentReference)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"applied_document_reference")) return;
// --- inherited field : assigned_document
Handle(StepBasic_Document) adoc;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity
(num, 1,"assigned_document", ach, STANDARD_TYPE(StepBasic_Document), adoc);
// --- inherited field : source ---
Handle(TCollection_HAsciiString) asource;
Standard_Boolean stat2;
stat2 = data->ReadString (num,2,"source",ach,asource);
// --- own field : items ---
Handle(StepAP214_HArray1OfDocumentReferenceItem) aItems;
StepAP214_DocumentReferenceItem anItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfDocumentReferenceItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3, i3,"item", ach, anItem);
if (stat3) aItems->SetValue(i3, anItem);
}
}
//--- Initialisation of the read entity ---
ent->Init (adoc,asource,aItems);
}
void RWStepAP214_RWAppliedDocumentReference::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedDocumentReference)& ent) const
{
// --- inherited field : assigned_document ---
SW.Send(ent->AssignedDocument());
// --- inherited field : source ---
SW.Send(ent->Source());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedDocumentReference::Share(const Handle(StepAP214_AppliedDocumentReference)& ent, Interface_EntityIterator& iter) const
{
iter.AddItem (ent->AssignedDocument());
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++)
iter.AddItem (ent->ItemsValue(i3).Value());
}

View File

@@ -0,0 +1,35 @@
-- File: RWStepAP214_RWAppliedExternalIdentificationAssignment.cdl
-- Created: Wed May 10 15:09:06 2000
-- Author: Andrey BETENEV
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
-- Copyright: Matra Datavision 2000
class RWAppliedExternalIdentificationAssignment from RWStepAP214
---Purpose: Read & Write tool for AppliedExternalIdentificationAssignment
uses
Check from Interface,
StepWriter from StepData,
StepReaderData from StepData,
EntityIterator from Interface,
AppliedExternalIdentificationAssignment from StepAP214
is
Create returns RWAppliedExternalIdentificationAssignment from RWStepAP214;
---Purpose: Empty constructor
ReadStep (me; data: StepReaderData from StepData; num: Integer;
ach : in out Check from Interface;
ent : AppliedExternalIdentificationAssignment from StepAP214);
---Purpose: Reads AppliedExternalIdentificationAssignment
WriteStep (me; SW: in out StepWriter from StepData;
ent: AppliedExternalIdentificationAssignment from StepAP214);
---Purpose: Writes AppliedExternalIdentificationAssignment
Share (me; ent : AppliedExternalIdentificationAssignment from StepAP214;
iter: in out EntityIterator from Interface);
---Purpose: Fills data for graph (shared items)
end RWAppliedExternalIdentificationAssignment;

View File

@@ -0,0 +1,120 @@
// File: RWStepAP214_RWAppliedExternalIdentificationAssignment.cxx
// Created: Wed May 10 15:09:06 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <RWStepAP214_RWAppliedExternalIdentificationAssignment.ixx>
#include <StepAP214_HArray1OfExternalIdentificationItem.hxx>
#include <StepAP214_ExternalIdentificationItem.hxx>
//=======================================================================
//function : RWStepAP214_RWAppliedExternalIdentificationAssignment
//purpose :
//=======================================================================
RWStepAP214_RWAppliedExternalIdentificationAssignment::RWStepAP214_RWAppliedExternalIdentificationAssignment ()
{
}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepAP214_RWAppliedExternalIdentificationAssignment::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedExternalIdentificationAssignment) &ent) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,4,ach,"applied_external_identification_assignment") ) return;
// Inherited fields of IdentificationAssignment
Handle(TCollection_HAsciiString) aIdentificationAssignment_AssignedId;
data->ReadString (num, 1, "identification_assignment.assigned_id", ach, aIdentificationAssignment_AssignedId);
Handle(StepBasic_IdentificationRole) aIdentificationAssignment_Role;
data->ReadEntity (num, 2, "identification_assignment.role", ach, STANDARD_TYPE(StepBasic_IdentificationRole), aIdentificationAssignment_Role);
// Inherited fields of ExternalIdentificationAssignment
Handle(StepBasic_ExternalSource) aExternalIdentificationAssignment_Source;
data->ReadEntity (num, 3, "external_identification_assignment.source", ach, STANDARD_TYPE(StepBasic_ExternalSource), aExternalIdentificationAssignment_Source);
// Own fields of AppliedExternalIdentificationAssignment
Handle(StepAP214_HArray1OfExternalIdentificationItem) aItems;
Standard_Integer sub4 = 0;
if ( data->ReadSubList (num, 4, "items", ach, sub4) ) {
Standard_Integer num2 = sub4;
Standard_Integer nb0 = data->NbParams(num2);
aItems = new StepAP214_HArray1OfExternalIdentificationItem (1, nb0);
for ( Standard_Integer i0=1; i0 <= nb0; i0++ ) {
StepAP214_ExternalIdentificationItem anIt0;
data->ReadEntity (num2, i0, "items", ach, anIt0);
aItems->SetValue(i0, anIt0);
}
}
// Initialize entity
ent->Init(aIdentificationAssignment_AssignedId,
aIdentificationAssignment_Role,
aExternalIdentificationAssignment_Source,
aItems);
}
//=======================================================================
//function : WriteStep
//purpose :
//=======================================================================
void RWStepAP214_RWAppliedExternalIdentificationAssignment::WriteStep (StepData_StepWriter& SW,
const Handle(StepAP214_AppliedExternalIdentificationAssignment) &ent) const
{
// Inherited fields of IdentificationAssignment
SW.Send (ent->StepBasic_IdentificationAssignment::AssignedId());
SW.Send (ent->StepBasic_IdentificationAssignment::Role());
// Inherited fields of ExternalIdentificationAssignment
SW.Send (ent->StepBasic_ExternalIdentificationAssignment::Source());
// Own fields of AppliedExternalIdentificationAssignment
SW.OpenSub();
for (Standard_Integer i3=1; i3 <= ent->Items()->Length(); i3++ ) {
StepAP214_ExternalIdentificationItem Var0 = ent->Items()->Value(i3);
SW.Send (Var0.Value());
}
SW.CloseSub();
}
//=======================================================================
//function : Share
//purpose :
//=======================================================================
void RWStepAP214_RWAppliedExternalIdentificationAssignment::Share (const Handle(StepAP214_AppliedExternalIdentificationAssignment) &ent,
Interface_EntityIterator& iter) const
{
// Inherited fields of IdentificationAssignment
iter.AddItem (ent->StepBasic_IdentificationAssignment::Role());
// Inherited fields of ExternalIdentificationAssignment
iter.AddItem (ent->StepBasic_ExternalIdentificationAssignment::Source());
// Own fields of AppliedExternalIdentificationAssignment
for (Standard_Integer i3=1; i3 <= ent->Items()->Length(); i3++ ) {
StepAP214_ExternalIdentificationItem Var0 = ent->Items()->Value(i3);
iter.AddItem (Var0.Value());
}
}

View File

@@ -0,0 +1,35 @@
-- File: RWStepAP214_RWAppliedGroupAssignment.cdl
-- Created: Wed May 10 15:09:06 2000
-- Author: Andrey BETENEV
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
-- Copyright: Matra Datavision 2000
class RWAppliedGroupAssignment from RWStepAP214
---Purpose: Read & Write tool for AppliedGroupAssignment
uses
Check from Interface,
StepWriter from StepData,
StepReaderData from StepData,
EntityIterator from Interface,
AppliedGroupAssignment from StepAP214
is
Create returns RWAppliedGroupAssignment from RWStepAP214;
---Purpose: Empty constructor
ReadStep (me; data: StepReaderData from StepData; num: Integer;
ach : in out Check from Interface;
ent : AppliedGroupAssignment from StepAP214);
---Purpose: Reads AppliedGroupAssignment
WriteStep (me; SW: in out StepWriter from StepData;
ent: AppliedGroupAssignment from StepAP214);
---Purpose: Writes AppliedGroupAssignment
Share (me; ent : AppliedGroupAssignment from StepAP214;
iter: in out EntityIterator from Interface);
---Purpose: Fills data for graph (shared items)
end RWAppliedGroupAssignment;

View File

@@ -0,0 +1,100 @@
// File: RWStepAP214_RWAppliedGroupAssignment.cxx
// Created: Wed May 10 15:09:06 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <RWStepAP214_RWAppliedGroupAssignment.ixx>
#include <StepAP214_HArray1OfGroupItem.hxx>
#include <StepAP214_GroupItem.hxx>
//=======================================================================
//function : RWStepAP214_RWAppliedGroupAssignment
//purpose :
//=======================================================================
RWStepAP214_RWAppliedGroupAssignment::RWStepAP214_RWAppliedGroupAssignment ()
{
}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepAP214_RWAppliedGroupAssignment::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedGroupAssignment) &ent) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,2,ach,"applied_group_assignment") ) return;
// Inherited fields of GroupAssignment
Handle(StepBasic_Group) aGroupAssignment_AssignedGroup;
data->ReadEntity (num, 1, "group_assignment.assigned_group", ach, STANDARD_TYPE(StepBasic_Group), aGroupAssignment_AssignedGroup);
// Own fields of AppliedGroupAssignment
Handle(StepAP214_HArray1OfGroupItem) aItems;
Standard_Integer sub2 = 0;
if ( data->ReadSubList (num, 2, "items", ach, sub2) ) {
Standard_Integer num2 = sub2;
Standard_Integer nb0 = data->NbParams(num2);
aItems = new StepAP214_HArray1OfGroupItem (1, nb0);
for ( Standard_Integer i0=1; i0 <= nb0; i0++ ) {
StepAP214_GroupItem anIt0;
data->ReadEntity (num2, i0, "items", ach, anIt0);
aItems->SetValue(i0, anIt0);
}
}
// Initialize entity
ent->Init(aGroupAssignment_AssignedGroup,
aItems);
}
//=======================================================================
//function : WriteStep
//purpose :
//=======================================================================
void RWStepAP214_RWAppliedGroupAssignment::WriteStep (StepData_StepWriter& SW,
const Handle(StepAP214_AppliedGroupAssignment) &ent) const
{
// Inherited fields of GroupAssignment
SW.Send (ent->StepBasic_GroupAssignment::AssignedGroup());
// Own fields of AppliedGroupAssignment
SW.OpenSub();
for (Standard_Integer i1=1; i1 <= ent->Items()->Length(); i1++ ) {
StepAP214_GroupItem Var0 = ent->Items()->Value(i1);
SW.Send (Var0.Value());
}
SW.CloseSub();
}
//=======================================================================
//function : Share
//purpose :
//=======================================================================
void RWStepAP214_RWAppliedGroupAssignment::Share (const Handle(StepAP214_AppliedGroupAssignment) &ent,
Interface_EntityIterator& iter) const
{
// Inherited fields of GroupAssignment
iter.AddItem (ent->StepBasic_GroupAssignment::AssignedGroup());
// Own fields of AppliedGroupAssignment
for (Standard_Integer i2=1; i2 <= ent->Items()->Length(); i2++ ) {
StepAP214_GroupItem Var0 = ent->Items()->Value(i2);
iter.AddItem (Var0.Value());
}
}

View File

@@ -0,0 +1,29 @@
-- File: RWStepAP214_RWAppliedOrganizationAssignment.cdl
-- Created: Fri Mar 12 12:03:16 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedOrganizationAssignment from RWStepAP214
---Purpose: Read & Write Module for AppliedOrganizationAssignment
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedOrganizationAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedOrganizationAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedOrganizationAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedOrganizationAssignment from StepAP214);
Share(me; ent : AppliedOrganizationAssignment from StepAP214; iter : in out EntityIterator);
end RWAppliedOrganizationAssignment;

View File

@@ -0,0 +1,101 @@
#include <RWStepAP214_RWAppliedOrganizationAssignment.ixx>
#include <StepAP214_HArray1OfOrganizationItem.hxx>
#include <StepAP214_OrganizationItem.hxx>
#include <StepBasic_Organization.hxx>
#include <StepBasic_OrganizationRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AppliedOrganizationAssignment.hxx>
RWStepAP214_RWAppliedOrganizationAssignment::RWStepAP214_RWAppliedOrganizationAssignment () {}
void RWStepAP214_RWAppliedOrganizationAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedOrganizationAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"applied_organization_assignment")) return;
// --- inherited field : assignedOrganization ---
Handle(StepBasic_Organization) aAssignedOrganization;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_organization", ach, STANDARD_TYPE(StepBasic_Organization), aAssignedOrganization);
// --- inherited field : role ---
Handle(StepBasic_OrganizationRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_OrganizationRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfOrganizationItem) aItems;
StepAP214_OrganizationItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfOrganizationItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedOrganization, aRole, aItems);
}
void RWStepAP214_RWAppliedOrganizationAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedOrganizationAssignment)& ent) const
{
// --- inherited field assignedOrganization ---
SW.Send(ent->AssignedOrganization());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedOrganizationAssignment::Share(const Handle(StepAP214_AppliedOrganizationAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedOrganization());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,31 @@
-- File: RWStepAP214_RWAppliedPersonAndOrganizationAssignment.cdl
-- Created: Fri Mar 12 14:32:39 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedPersonAndOrganizationAssignment from RWStepAP214
---Purpose: Read & Write Module for AppliedPersonAndOrganizationAssignment
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedPersonAndOrganizationAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedPersonAndOrganizationAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedPersonAndOrganizationAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedPersonAndOrganizationAssignment from StepAP214);
Share(me; ent : AppliedPersonAndOrganizationAssignment from StepAP214; iter : in out EntityIterator);
end RWAppliedPersonAndOrganizationAssignment;

View File

@@ -0,0 +1,101 @@
#include <RWStepAP214_RWAppliedPersonAndOrganizationAssignment.ixx>
#include <StepAP214_HArray1OfPersonAndOrganizationItem.hxx>
#include <StepAP214_PersonAndOrganizationItem.hxx>
#include <StepBasic_PersonAndOrganization.hxx>
#include <StepBasic_PersonAndOrganizationRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AppliedPersonAndOrganizationAssignment.hxx>
RWStepAP214_RWAppliedPersonAndOrganizationAssignment::RWStepAP214_RWAppliedPersonAndOrganizationAssignment () {}
void RWStepAP214_RWAppliedPersonAndOrganizationAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedPersonAndOrganizationAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"applied_person_and_organization_assignment")) return;
// --- inherited field : assignedPersonAndOrganization ---
Handle(StepBasic_PersonAndOrganization) aAssignedPersonAndOrganization;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_person_and_organization", ach, STANDARD_TYPE(StepBasic_PersonAndOrganization), aAssignedPersonAndOrganization);
// --- inherited field : role ---
Handle(StepBasic_PersonAndOrganizationRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_PersonAndOrganizationRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfPersonAndOrganizationItem) aItems;
StepAP214_PersonAndOrganizationItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfPersonAndOrganizationItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedPersonAndOrganization, aRole, aItems);
}
void RWStepAP214_RWAppliedPersonAndOrganizationAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedPersonAndOrganizationAssignment)& ent) const
{
// --- inherited field assignedPersonAndOrganization ---
SW.Send(ent->AssignedPersonAndOrganization());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedPersonAndOrganizationAssignment::Share(const Handle(StepAP214_AppliedPersonAndOrganizationAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedPersonAndOrganization());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,31 @@
-- File: RWStepAP214_RWAppliedPresentedItem.cdl
-- Created: Fri Mar 12 14:47:25 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedPresentedItem from RWStepAP214
---Purpose: Read & Write Module for AppliedPresentedItem
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedPresentedItem from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedPresentedItem;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedPresentedItem from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedPresentedItem from StepAP214);
Share(me; ent : AppliedPresentedItem from StepAP214; iter : in out EntityIterator);
end RWAppliedPresentedItem;

View File

@@ -0,0 +1,73 @@
#include <RWStepAP214_RWAppliedPresentedItem.ixx>
#include <StepAP214_HArray1OfPresentedItemSelect.hxx>
#include <StepAP214_PresentedItemSelect.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AppliedPresentedItem.hxx>
RWStepAP214_RWAppliedPresentedItem::RWStepAP214_RWAppliedPresentedItem () {}
void RWStepAP214_RWAppliedPresentedItem::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedPresentedItem)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,1,ach,"applied_presented_item")) return;
// --- own field : items ---
Handle(StepAP214_HArray1OfPresentedItemSelect) aItems;
StepAP214_PresentedItemSelect anent1;
Standard_Integer nsub1;
if (data->ReadSubList (num,1,"items",ach,nsub1)) {
Standard_Integer nb1 = data->NbParams(nsub1);
aItems = new StepAP214_HArray1OfPresentedItemSelect (1, nb1);
for (Standard_Integer i1 = 1; i1 <= nb1; i1 ++) {
Standard_Boolean stat1 = data->ReadEntity
(nsub1, i1,"items", ach, anent1);
if (stat1) aItems->SetValue(i1, anent1);
}
}
//--- Initialisation of the read entity ---
ent->Init(aItems);
}
void RWStepAP214_RWAppliedPresentedItem::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedPresentedItem)& ent) const
{
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i1 = 1; i1 <= ent->NbItems(); i1 ++) {
SW.Send(ent->ItemsValue(i1).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedPresentedItem::Share(const Handle(StepAP214_AppliedPresentedItem)& ent, Interface_EntityIterator& iter) const
{
Standard_Integer nbElem1 = ent->NbItems();
for (Standard_Integer is1=1; is1<=nbElem1; is1 ++) {
iter.GetOneItem(ent->ItemsValue(is1).Value());
}
}

View File

@@ -0,0 +1,32 @@
-- File: RWStepAP214_RWAppliedSecurityClassificationAssignment.cdl
-- Created: Fri Mar 12 15:24:20 1999
-- Author: data exchange team
-- <det@androx.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class RWAppliedSecurityClassificationAssignment from RWStepAP214
---Purpose:
uses
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AppliedSecurityClassificationAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAppliedSecurityClassificationAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AppliedSecurityClassificationAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AppliedSecurityClassificationAssignment from StepAP214);
Share(me; ent : AppliedSecurityClassificationAssignment from StepAP214; iter : in out EntityIterator);
end RWAppliedSecurityClassificationAssignment;

View File

@@ -0,0 +1,88 @@
#include <RWStepAP214_RWAppliedSecurityClassificationAssignment.ixx>
#include <StepAP214_HArray1OfSecurityClassificationItem.hxx>
#include <StepAP214_SecurityClassificationItem.hxx>
#include <StepBasic_SecurityClassification.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AppliedSecurityClassificationAssignment.hxx>
RWStepAP214_RWAppliedSecurityClassificationAssignment::RWStepAP214_RWAppliedSecurityClassificationAssignment () {}
void RWStepAP214_RWAppliedSecurityClassificationAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AppliedSecurityClassificationAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,2,ach,"applied_security_classification_assignment")) return;
// --- inherited field : assignedSecurityClassification ---
Handle(StepBasic_SecurityClassification) aAssignedSecurityClassification;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_security_classification", ach, STANDARD_TYPE(StepBasic_SecurityClassification), aAssignedSecurityClassification);
// --- own field : items ---
Handle(StepAP214_HArray1OfSecurityClassificationItem) aItems;
StepAP214_SecurityClassificationItem anent2;
Standard_Integer nsub2;
if (data->ReadSubList (num,2,"items",ach,nsub2)) {
Standard_Integer nb2 = data->NbParams(nsub2);
aItems = new StepAP214_HArray1OfSecurityClassificationItem (1, nb2);
for (Standard_Integer i2 = 1; i2 <= nb2; i2 ++) {
Standard_Boolean stat2 = data->ReadEntity
(nsub2, i2,"items", ach, anent2);
if (stat2) aItems->SetValue(i2, anent2);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedSecurityClassification, aItems);
}
void RWStepAP214_RWAppliedSecurityClassificationAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AppliedSecurityClassificationAssignment)& ent) const
{
// --- inherited field assignedSecurityClassification ---
SW.Send(ent->AssignedSecurityClassification());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i2 = 1; i2 <= ent->NbItems(); i2 ++) {
SW.Send(ent->ItemsValue(i2).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAppliedSecurityClassificationAssignment::Share(const Handle(StepAP214_AppliedSecurityClassificationAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedSecurityClassification());
Standard_Integer nbElem2 = ent->NbItems();
for (Standard_Integer is2=1; is2<=nbElem2; is2 ++) {
iter.GetOneItem(ent->ItemsValue(is2).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignActualDateAndTimeAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignActualDateAndTimeAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignActualDateAndTimeAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignActualDateAndTimeAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignActualDateAndTimeAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignActualDateAndTimeAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignActualDateAndTimeAssignment from StepAP214);
Share(me; ent : AutoDesignActualDateAndTimeAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignActualDateAndTimeAssignment;

View File

@@ -0,0 +1,105 @@
#include <RWStepAP214_RWAutoDesignActualDateAndTimeAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignDateAndTimeItem.hxx>
#include <StepAP214_AutoDesignDateAndTimeItem.hxx>
#include <StepBasic_DateAndTime.hxx>
#include <StepBasic_DateTimeRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignActualDateAndTimeAssignment.hxx>
RWStepAP214_RWAutoDesignActualDateAndTimeAssignment::RWStepAP214_RWAutoDesignActualDateAndTimeAssignment () {}
void RWStepAP214_RWAutoDesignActualDateAndTimeAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignActualDateAndTimeAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_design_actual_date_and_time_assignment")) return;
// --- inherited field : assignedDateAndTime ---
Handle(StepBasic_DateAndTime) aAssignedDateAndTime;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_date_and_time", ach, STANDARD_TYPE(StepBasic_DateAndTime), aAssignedDateAndTime);
// --- inherited field : role ---
Handle(StepBasic_DateTimeRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_DateTimeRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignDateAndTimeItem) aItems;
StepAP214_AutoDesignDateAndTimeItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList(num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignDateAndTimeItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedDateAndTime, aRole, aItems);
}
void RWStepAP214_RWAutoDesignActualDateAndTimeAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignActualDateAndTimeAssignment)& ent) const
{
// --- inherited field assignedDateAndTime ---
SW.Send(ent->AssignedDateAndTime());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignActualDateAndTimeAssignment::Share(const Handle(StepAP214_AutoDesignActualDateAndTimeAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedDateAndTime());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignActualDateAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignActualDateAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignActualDateAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignActualDateAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignActualDateAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignActualDateAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignActualDateAssignment from StepAP214);
Share(me; ent : AutoDesignActualDateAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignActualDateAssignment;

View File

@@ -0,0 +1,105 @@
#include <RWStepAP214_RWAutoDesignActualDateAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignDatedItem.hxx>
#include <StepAP214_AutoDesignDatedItem.hxx>
#include <StepBasic_Date.hxx>
#include <StepBasic_DateRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignActualDateAssignment.hxx>
RWStepAP214_RWAutoDesignActualDateAssignment::RWStepAP214_RWAutoDesignActualDateAssignment () {}
void RWStepAP214_RWAutoDesignActualDateAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignActualDateAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_design_actual_date_assignment")) return;
// --- inherited field : assignedDate ---
Handle(StepBasic_Date) aAssignedDate;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_date", ach, STANDARD_TYPE(StepBasic_Date), aAssignedDate);
// --- inherited field : role ---
Handle(StepBasic_DateRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_DateRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignDatedItem) aItems;
StepAP214_AutoDesignDatedItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList(num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignDatedItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedDate, aRole, aItems);
}
void RWStepAP214_RWAutoDesignActualDateAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignActualDateAssignment)& ent) const
{
// --- inherited field assignedDate ---
SW.Send(ent->AssignedDate());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignActualDateAssignment::Share(const Handle(StepAP214_AutoDesignActualDateAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedDate());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignApprovalAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignApprovalAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignApprovalAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignApprovalAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignApprovalAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignApprovalAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignApprovalAssignment from StepAP214);
Share(me; ent : AutoDesignApprovalAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignApprovalAssignment;

View File

@@ -0,0 +1,89 @@
#include <RWStepAP214_RWAutoDesignApprovalAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignGeneralOrgItem.hxx>
#include <StepAP214_AutoDesignGeneralOrgItem.hxx>
#include <StepBasic_Approval.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignApprovalAssignment.hxx>
RWStepAP214_RWAutoDesignApprovalAssignment::RWStepAP214_RWAutoDesignApprovalAssignment () {}
void RWStepAP214_RWAutoDesignApprovalAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignApprovalAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,2,ach,"auto_design_approval_assignment")) return;
// --- inherited field : assignedApproval ---
Handle(StepBasic_Approval) aAssignedApproval;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_approval", ach, STANDARD_TYPE(StepBasic_Approval), aAssignedApproval);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignGeneralOrgItem) aItems;
StepAP214_AutoDesignGeneralOrgItem aItemsItem;
Standard_Integer nsub2;
if (data->ReadSubList (num,2,"items",ach,nsub2)) {
Standard_Integer nb2 = data->NbParams(nsub2);
aItems = new StepAP214_HArray1OfAutoDesignGeneralOrgItem (1, nb2);
for (Standard_Integer i2 = 1; i2 <= nb2; i2 ++) {
Standard_Boolean stat2 = data->ReadEntity
(nsub2,i2,"items",ach,aItemsItem);
if (stat2) aItems->SetValue(i2,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedApproval, aItems);
}
void RWStepAP214_RWAutoDesignApprovalAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignApprovalAssignment)& ent) const
{
// --- inherited field assignedApproval ---
SW.Send(ent->AssignedApproval());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i2 = 1; i2 <= ent->NbItems(); i2 ++) {
SW.Send(ent->ItemsValue(i2).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignApprovalAssignment::Share(const Handle(StepAP214_AutoDesignApprovalAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedApproval());
Standard_Integer nbElem2 = ent->NbItems();
for (Standard_Integer is2=1; is2<=nbElem2; is2 ++) {
iter.GetOneItem(ent->ItemsValue(is2).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignDateAndPersonAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignDateAndPersonAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignDateAndPersonAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignDateAndPersonAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignDateAndPersonAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignDateAndPersonAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignDateAndPersonAssignment from StepAP214);
Share(me; ent : AutoDesignDateAndPersonAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignDateAndPersonAssignment;

View File

@@ -0,0 +1,105 @@
#include <RWStepAP214_RWAutoDesignDateAndPersonAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignDateAndPersonItem.hxx>
#include <StepAP214_AutoDesignDateAndPersonItem.hxx>
#include <StepBasic_PersonAndOrganization.hxx>
#include <StepBasic_PersonAndOrganizationRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignDateAndPersonAssignment.hxx>
RWStepAP214_RWAutoDesignDateAndPersonAssignment::RWStepAP214_RWAutoDesignDateAndPersonAssignment () {}
void RWStepAP214_RWAutoDesignDateAndPersonAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignDateAndPersonAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_design_date_and_person_assignment")) return;
// --- inherited field : assignedPersonAndOrganization ---
Handle(StepBasic_PersonAndOrganization) aAssignedPersonAndOrganization;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_person_and_organization", ach, STANDARD_TYPE(StepBasic_PersonAndOrganization), aAssignedPersonAndOrganization);
// --- inherited field : role ---
Handle(StepBasic_PersonAndOrganizationRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_PersonAndOrganizationRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignDateAndPersonItem) aItems;
StepAP214_AutoDesignDateAndPersonItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignDateAndPersonItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedPersonAndOrganization, aRole, aItems);
}
void RWStepAP214_RWAutoDesignDateAndPersonAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignDateAndPersonAssignment)& ent) const
{
// --- inherited field assignedPersonAndOrganization ---
SW.Send(ent->AssignedPersonAndOrganization());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignDateAndPersonAssignment::Share(const Handle(StepAP214_AutoDesignDateAndPersonAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedPersonAndOrganization());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,29 @@
-- File: RWStepAP214_RWAutoDesignDocumentReference.cdl
-- Created: Tue Aug 4 13:02:51 1998
-- Author: Christian CAILLET
-- <cky@heliox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1998
class RWAutoDesignDocumentReference from RWStepAP214
---Purpose : Read & Write Module for AutoDesignDocumentReference
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignDocumentReference from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignDocumentReference;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignDocumentReference from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignDocumentReference from StepAP214);
Share(me; ent : AutoDesignDocumentReference from StepAP214; iter : in out EntityIterator);
end RWAutoDesignDocumentReference;

View File

@@ -0,0 +1,85 @@
#include <RWStepAP214_RWAutoDesignDocumentReference.ixx>
#include <StepBasic_Document.hxx>
#include <TCollection_HAsciiString.hxx>
#include <StepAP214_HArray1OfAutoDesignReferencingItem.hxx>
#include <StepAP214_AutoDesignReferencingItem.hxx>
RWStepAP214_RWAutoDesignDocumentReference::RWStepAP214_RWAutoDesignDocumentReference () { }
void RWStepAP214_RWAutoDesignDocumentReference::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignDocumentReference)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_deesign_document_reference")) return;
// --- inherited field : assigned_document
Handle(StepBasic_Document) adoc;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity
(num, 1,"assigned_document", ach, STANDARD_TYPE(StepBasic_Document), adoc);
// --- inherited field : source ---
Handle(TCollection_HAsciiString) asource;
Standard_Boolean stat2;
stat2 = data->ReadString (num,2,"source",ach,asource);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignReferencingItem) aItems;
StepAP214_AutoDesignReferencingItem anItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignReferencingItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3, i3,"item", ach, anItem);
if (stat3) aItems->SetValue(i3, anItem);
}
}
//--- Initialisation of the read entity ---
ent->Init (adoc,asource,aItems);
}
void RWStepAP214_RWAutoDesignDocumentReference::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignDocumentReference)& ent) const
{
// --- inherited field : assigned_document ---
SW.Send(ent->AssignedDocument());
// --- inherited field : source ---
SW.Send(ent->Source());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignDocumentReference::Share(const Handle(StepAP214_AutoDesignDocumentReference)& ent, Interface_EntityIterator& iter) const
{
iter.AddItem (ent->AssignedDocument());
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++)
iter.AddItem (ent->ItemsValue(i3).Value());
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignGroupAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignGroupAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignGroupAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignGroupAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignGroupAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignGroupAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignGroupAssignment from StepAP214);
Share(me; ent : AutoDesignGroupAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignGroupAssignment;

View File

@@ -0,0 +1,86 @@
#include <RWStepAP214_RWAutoDesignGroupAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignGroupedItem.hxx>
#include <StepAP214_AutoDesignGroupedItem.hxx>
#include <StepBasic_Group.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignGroupAssignment.hxx>
RWStepAP214_RWAutoDesignGroupAssignment::RWStepAP214_RWAutoDesignGroupAssignment () {}
void RWStepAP214_RWAutoDesignGroupAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignGroupAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,2,ach,"auto_design_group_assignment")) return;
// --- inherited field : assignedGroup ---
Handle(StepBasic_Group) aAssignedGroup;
data->ReadEntity(num, 1,"assigned_group", ach, STANDARD_TYPE(StepBasic_Group), aAssignedGroup);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignGroupedItem) aItems;
StepAP214_AutoDesignGroupedItem aItemsItem;
Standard_Integer nsub2;
if (data->ReadSubList (num,2,"items",ach,nsub2)) {
Standard_Integer nb2 = data->NbParams(nsub2);
aItems = new StepAP214_HArray1OfAutoDesignGroupedItem (1, nb2);
for (Standard_Integer i2 = 1; i2 <= nb2; i2 ++) {
Standard_Boolean stat2 = data->ReadEntity
(nsub2,i2,"items",ach,aItemsItem);
if (stat2) aItems->SetValue(i2,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedGroup, aItems);
}
void RWStepAP214_RWAutoDesignGroupAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignGroupAssignment)& ent) const
{
// --- inherited field assignedGroup ---
SW.Send(ent->AssignedGroup());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i2 = 1; i2 <= ent->NbItems(); i2 ++) {
SW.Send(ent->ItemsValue(i2).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignGroupAssignment::Share(const Handle(StepAP214_AutoDesignGroupAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedGroup());
Standard_Integer nbElem2 = ent->NbItems();
for (Standard_Integer is2=1; is2<=nbElem2; is2 ++) {
iter.GetOneItem(ent->ItemsValue(is2).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignNominalDateAndTimeAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignNominalDateAndTimeAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignNominalDateAndTimeAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignNominalDateAndTimeAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignNominalDateAndTimeAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignNominalDateAndTimeAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignNominalDateAndTimeAssignment from StepAP214);
Share(me; ent : AutoDesignNominalDateAndTimeAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignNominalDateAndTimeAssignment;

View File

@@ -0,0 +1,105 @@
#include <RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignDateAndTimeItem.hxx>
#include <StepAP214_AutoDesignDateAndTimeItem.hxx>
#include <StepBasic_DateAndTime.hxx>
#include <StepBasic_DateTimeRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignNominalDateAndTimeAssignment.hxx>
RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment::RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment () {}
void RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignNominalDateAndTimeAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_design_nominal_date_and_time_assignment")) return;
// --- inherited field : assignedDateAndTime ---
Handle(StepBasic_DateAndTime) aAssignedDateAndTime;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_date_and_time", ach, STANDARD_TYPE(StepBasic_DateAndTime), aAssignedDateAndTime);
// --- inherited field : role ---
Handle(StepBasic_DateTimeRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_DateTimeRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignDateAndTimeItem) aItems;
StepAP214_AutoDesignDateAndTimeItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignDateAndTimeItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedDateAndTime, aRole, aItems);
}
void RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignNominalDateAndTimeAssignment)& ent) const
{
// --- inherited field assignedDateAndTime ---
SW.Send(ent->AssignedDateAndTime());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment::Share(const Handle(StepAP214_AutoDesignNominalDateAndTimeAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedDateAndTime());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignNominalDateAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignNominalDateAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignNominalDateAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignNominalDateAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignNominalDateAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignNominalDateAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignNominalDateAssignment from StepAP214);
Share(me; ent : AutoDesignNominalDateAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignNominalDateAssignment;

View File

@@ -0,0 +1,105 @@
#include <RWStepAP214_RWAutoDesignNominalDateAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignDatedItem.hxx>
#include <StepAP214_AutoDesignDatedItem.hxx>
#include <StepBasic_Date.hxx>
#include <StepBasic_DateRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignNominalDateAssignment.hxx>
RWStepAP214_RWAutoDesignNominalDateAssignment::RWStepAP214_RWAutoDesignNominalDateAssignment () {}
void RWStepAP214_RWAutoDesignNominalDateAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignNominalDateAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_design_nominal_date_assignment")) return;
// --- inherited field : assignedDate ---
Handle(StepBasic_Date) aAssignedDate;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_date", ach, STANDARD_TYPE(StepBasic_Date), aAssignedDate);
// --- inherited field : role ---
Handle(StepBasic_DateRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_DateRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignDatedItem) aItems;
StepAP214_AutoDesignDatedItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignDatedItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedDate, aRole, aItems);
}
void RWStepAP214_RWAutoDesignNominalDateAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignNominalDateAssignment)& ent) const
{
// --- inherited field assignedDate ---
SW.Send(ent->AssignedDate());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignNominalDateAssignment::Share(const Handle(StepAP214_AutoDesignNominalDateAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedDate());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignOrganizationAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignOrganizationAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignOrganizationAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignOrganizationAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignOrganizationAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignOrganizationAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignOrganizationAssignment from StepAP214);
Share(me; ent : AutoDesignOrganizationAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignOrganizationAssignment;

View File

@@ -0,0 +1,105 @@
#include <RWStepAP214_RWAutoDesignOrganizationAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignGeneralOrgItem.hxx>
#include <StepAP214_AutoDesignGeneralOrgItem.hxx>
#include <StepBasic_Organization.hxx>
#include <StepBasic_OrganizationRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignOrganizationAssignment.hxx>
RWStepAP214_RWAutoDesignOrganizationAssignment::RWStepAP214_RWAutoDesignOrganizationAssignment () {}
void RWStepAP214_RWAutoDesignOrganizationAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignOrganizationAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_design_organization_assignment")) return;
// --- inherited field : assignedOrganization ---
Handle(StepBasic_Organization) aAssignedOrganization;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_organization", ach, STANDARD_TYPE(StepBasic_Organization), aAssignedOrganization);
// --- inherited field : role ---
Handle(StepBasic_OrganizationRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_OrganizationRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignGeneralOrgItem) aItems;
StepAP214_AutoDesignGeneralOrgItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignGeneralOrgItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedOrganization, aRole, aItems);
}
void RWStepAP214_RWAutoDesignOrganizationAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignOrganizationAssignment)& ent) const
{
// --- inherited field assignedOrganization ---
SW.Send(ent->AssignedOrganization());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignOrganizationAssignment::Share(const Handle(StepAP214_AutoDesignOrganizationAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedOrganization());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignPersonAndOrganizationAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignPersonAndOrganizationAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignPersonAndOrganizationAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignPersonAndOrganizationAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignPersonAndOrganizationAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignPersonAndOrganizationAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignPersonAndOrganizationAssignment from StepAP214);
Share(me; ent : AutoDesignPersonAndOrganizationAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignPersonAndOrganizationAssignment;

View File

@@ -0,0 +1,105 @@
#include <RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment.ixx>
#include <StepAP214_HArray1OfAutoDesignGeneralOrgItem.hxx>
#include <StepAP214_AutoDesignGeneralOrgItem.hxx>
#include <StepBasic_PersonAndOrganization.hxx>
#include <StepBasic_PersonAndOrganizationRole.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignPersonAndOrganizationAssignment.hxx>
RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment::RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment () {}
void RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignPersonAndOrganizationAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,3,ach,"auto_design_person_and_organization_assignment")) return;
// --- inherited field : assignedPersonAndOrganization ---
Handle(StepBasic_PersonAndOrganization) aAssignedPersonAndOrganization;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_person_and_organization", ach, STANDARD_TYPE(StepBasic_PersonAndOrganization), aAssignedPersonAndOrganization);
// --- inherited field : role ---
Handle(StepBasic_PersonAndOrganizationRole) aRole;
#ifdef DEB
Standard_Boolean stat2 =
#endif
data->ReadEntity(num, 2,"role", ach, STANDARD_TYPE(StepBasic_PersonAndOrganizationRole), aRole);
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignGeneralOrgItem) aItems;
StepAP214_AutoDesignGeneralOrgItem aItemsItem;
Standard_Integer nsub3;
if (data->ReadSubList (num,3,"items",ach,nsub3)) {
Standard_Integer nb3 = data->NbParams(nsub3);
aItems = new StepAP214_HArray1OfAutoDesignGeneralOrgItem (1, nb3);
for (Standard_Integer i3 = 1; i3 <= nb3; i3 ++) {
Standard_Boolean stat3 = data->ReadEntity
(nsub3,i3,"items",ach,aItemsItem);
if (stat3) aItems->SetValue(i3,aItemsItem);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedPersonAndOrganization, aRole, aItems);
}
void RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignPersonAndOrganizationAssignment)& ent) const
{
// --- inherited field assignedPersonAndOrganization ---
SW.Send(ent->AssignedPersonAndOrganization());
// --- inherited field role ---
SW.Send(ent->Role());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i3 = 1; i3 <= ent->NbItems(); i3 ++) {
SW.Send(ent->ItemsValue(i3).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment::Share(const Handle(StepAP214_AutoDesignPersonAndOrganizationAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedPersonAndOrganization());
iter.GetOneItem(ent->Role());
Standard_Integer nbElem3 = ent->NbItems();
for (Standard_Integer is3=1; is3<=nbElem3; is3 ++) {
iter.GetOneItem(ent->ItemsValue(is3).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignPresentedItem.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignPresentedItem from RWStepAP214
---Purpose : Read & Write Module for AutoDesignPresentedItem
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignPresentedItem from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignPresentedItem;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignPresentedItem from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignPresentedItem from StepAP214);
Share(me; ent : AutoDesignPresentedItem from StepAP214; iter : in out EntityIterator);
end RWAutoDesignPresentedItem;

View File

@@ -0,0 +1,73 @@
#include <RWStepAP214_RWAutoDesignPresentedItem.ixx>
#include <StepAP214_HArray1OfAutoDesignPresentedItemSelect.hxx>
#include <StepAP214_AutoDesignPresentedItemSelect.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignPresentedItem.hxx>
RWStepAP214_RWAutoDesignPresentedItem::RWStepAP214_RWAutoDesignPresentedItem () {}
void RWStepAP214_RWAutoDesignPresentedItem::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignPresentedItem)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,1,ach,"auto_design_presented_item")) return;
// --- own field : items ---
Handle(StepAP214_HArray1OfAutoDesignPresentedItemSelect) aItems;
StepAP214_AutoDesignPresentedItemSelect anent1;
Standard_Integer nsub1;
if (data->ReadSubList (num,1,"items",ach,nsub1)) {
Standard_Integer nb1 = data->NbParams(nsub1);
aItems = new StepAP214_HArray1OfAutoDesignPresentedItemSelect (1, nb1);
for (Standard_Integer i1 = 1; i1 <= nb1; i1 ++) {
Standard_Boolean stat1 = data->ReadEntity
(nsub1, i1,"auto_design_displayed_item", ach, anent1);
if (stat1) aItems->SetValue(i1, anent1);
}
}
//--- Initialisation of the read entity ---
ent->Init(aItems);
}
void RWStepAP214_RWAutoDesignPresentedItem::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignPresentedItem)& ent) const
{
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i1 = 1; i1 <= ent->NbItems(); i1 ++) {
SW.Send(ent->ItemsValue(i1).Value());
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignPresentedItem::Share(const Handle(StepAP214_AutoDesignPresentedItem)& ent, Interface_EntityIterator& iter) const
{
Standard_Integer nbElem1 = ent->NbItems();
for (Standard_Integer is1=1; is1<=nbElem1; is1 ++) {
iter.GetOneItem(ent->ItemsValue(is1).Value());
}
}

View File

@@ -0,0 +1,30 @@
-- File: AutoDesignSecurityClassificationAssignment.cdl
-- Created: Mon Dec 4 12:02:23 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class RWAutoDesignSecurityClassificationAssignment from RWStepAP214
---Purpose : Read & Write Module for AutoDesignSecurityClassificationAssignment
uses Check from Interface,
StepReaderData from StepData,
StepWriter from StepData,
AutoDesignSecurityClassificationAssignment from StepAP214,
EntityIterator from Interface
is
Create returns RWAutoDesignSecurityClassificationAssignment;
ReadStep (me; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable AutoDesignSecurityClassificationAssignment from StepAP214);
WriteStep (me; SW : in out StepWriter; ent : AutoDesignSecurityClassificationAssignment from StepAP214);
Share(me; ent : AutoDesignSecurityClassificationAssignment from StepAP214; iter : in out EntityIterator);
end RWAutoDesignSecurityClassificationAssignment;

View File

@@ -0,0 +1,89 @@
#include <RWStepAP214_RWAutoDesignSecurityClassificationAssignment.ixx>
#include <StepBasic_HArray1OfApproval.hxx>
#include <StepBasic_Approval.hxx>
#include <StepBasic_SecurityClassification.hxx>
#include <Interface_EntityIterator.hxx>
#include <StepAP214_AutoDesignSecurityClassificationAssignment.hxx>
RWStepAP214_RWAutoDesignSecurityClassificationAssignment::RWStepAP214_RWAutoDesignSecurityClassificationAssignment () {}
void RWStepAP214_RWAutoDesignSecurityClassificationAssignment::ReadStep
(const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_AutoDesignSecurityClassificationAssignment)& ent) const
{
// --- Number of Parameter Control ---
if (!data->CheckNbParams(num,2,ach,"auto_design_security_classification_assignment")) return;
// --- inherited field : assignedSecurityClassification ---
Handle(StepBasic_SecurityClassification) aAssignedSecurityClassification;
#ifdef DEB
Standard_Boolean stat1 =
#endif
data->ReadEntity(num, 1,"assigned_security_classification", ach, STANDARD_TYPE(StepBasic_SecurityClassification), aAssignedSecurityClassification);
// --- own field : items ---
Handle(StepBasic_HArray1OfApproval) aItems;
Handle(StepBasic_Approval) anent2;
Standard_Integer nsub2;
if (data->ReadSubList (num,2,"items",ach,nsub2)) {
Standard_Integer nb2 = data->NbParams(nsub2);
aItems = new StepBasic_HArray1OfApproval (1, nb2);
for (Standard_Integer i2 = 1; i2 <= nb2; i2 ++) {
Standard_Boolean stat2 = data->ReadEntity
(nsub2, i2,"auto_design_security_classified_item", ach, STANDARD_TYPE(StepBasic_Approval), anent2);
if (stat2) aItems->SetValue(i2, anent2);
}
}
//--- Initialisation of the read entity ---
ent->Init(aAssignedSecurityClassification, aItems);
}
void RWStepAP214_RWAutoDesignSecurityClassificationAssignment::WriteStep
(StepData_StepWriter& SW,
const Handle(StepAP214_AutoDesignSecurityClassificationAssignment)& ent) const
{
// --- inherited field assignedSecurityClassification ---
SW.Send(ent->AssignedSecurityClassification());
// --- own field : items ---
SW.OpenSub();
for (Standard_Integer i2 = 1; i2 <= ent->NbItems(); i2 ++) {
SW.Send(ent->ItemsValue(i2));
}
SW.CloseSub();
}
void RWStepAP214_RWAutoDesignSecurityClassificationAssignment::Share(const Handle(StepAP214_AutoDesignSecurityClassificationAssignment)& ent, Interface_EntityIterator& iter) const
{
iter.GetOneItem(ent->AssignedSecurityClassification());
Standard_Integer nbElem2 = ent->NbItems();
for (Standard_Integer is2=1; is2<=nbElem2; is2 ++) {
iter.GetOneItem(ent->ItemsValue(is2));
}
}

View File

@@ -0,0 +1,35 @@
-- File: RWStepAP214_RWClass.cdl
-- Created: Wed May 10 15:09:06 2000
-- Author: Andrey BETENEV
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
-- Copyright: Matra Datavision 2000
class RWClass from RWStepAP214
---Purpose: Read & Write tool for Class
uses
Check from Interface,
StepWriter from StepData,
StepReaderData from StepData,
EntityIterator from Interface,
Class from StepAP214
is
Create returns RWClass from RWStepAP214;
---Purpose: Empty constructor
ReadStep (me; data: StepReaderData from StepData; num: Integer;
ach : in out Check from Interface;
ent : Class from StepAP214);
---Purpose: Reads Class
WriteStep (me; SW: in out StepWriter from StepData;
ent: Class from StepAP214);
---Purpose: Writes Class
Share (me; ent : Class from StepAP214;
iter: in out EntityIterator from Interface);
---Purpose: Fills data for graph (shared items)
end RWClass;

View File

@@ -0,0 +1,80 @@
// File: RWStepAP214_RWClass.cxx
// Created: Wed May 10 15:09:06 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <RWStepAP214_RWClass.ixx>
//=======================================================================
//function : RWStepAP214_RWClass
//purpose :
//=======================================================================
RWStepAP214_RWClass::RWStepAP214_RWClass ()
{
}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepAP214_RWClass::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_Class) &ent) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,2,ach,"class") ) return;
// Inherited fields of Group
Handle(TCollection_HAsciiString) aGroup_Name;
data->ReadString (num, 1, "group.name", ach, aGroup_Name);
Handle(TCollection_HAsciiString) aGroup_Description;
Standard_Boolean hasGroup_Description = Standard_True;
if ( data->IsParamDefined (num,2) ) {
data->ReadString (num, 2, "group.description", ach, aGroup_Description);
}
else {
hasGroup_Description = Standard_False;
}
// Initialize entity
ent->Init(aGroup_Name,
hasGroup_Description,
aGroup_Description);
}
//=======================================================================
//function : WriteStep
//purpose :
//=======================================================================
void RWStepAP214_RWClass::WriteStep (StepData_StepWriter& SW,
const Handle(StepAP214_Class) &ent) const
{
// Inherited fields of Group
SW.Send (ent->StepBasic_Group::Name());
if ( ent->StepBasic_Group::HasDescription() ) {
SW.Send (ent->StepBasic_Group::Description());
}
else SW.SendUndef();
}
//=======================================================================
//function : Share
//purpose :
//=======================================================================
void RWStepAP214_RWClass::Share (const Handle(StepAP214_Class) &ent,
Interface_EntityIterator& iter) const
{
// Inherited fields of Group
}

View File

@@ -0,0 +1,35 @@
-- File: RWStepAP214_RWExternallyDefinedClass.cdl
-- Created: Wed May 10 15:09:06 2000
-- Author: Andrey BETENEV
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
-- Copyright: Matra Datavision 2000
class RWExternallyDefinedClass from RWStepAP214
---Purpose: Read & Write tool for ExternallyDefinedClass
uses
Check from Interface,
StepWriter from StepData,
StepReaderData from StepData,
EntityIterator from Interface,
ExternallyDefinedClass from StepAP214
is
Create returns RWExternallyDefinedClass from RWStepAP214;
---Purpose: Empty constructor
ReadStep (me; data: StepReaderData from StepData; num: Integer;
ach : in out Check from Interface;
ent : ExternallyDefinedClass from StepAP214);
---Purpose: Reads ExternallyDefinedClass
WriteStep (me; SW: in out StepWriter from StepData;
ent: ExternallyDefinedClass from StepAP214);
---Purpose: Writes ExternallyDefinedClass
Share (me; ent : ExternallyDefinedClass from StepAP214;
iter: in out EntityIterator from Interface);
---Purpose: Fills data for graph (shared items)
end RWExternallyDefinedClass;

View File

@@ -0,0 +1,103 @@
// File: RWStepAP214_RWExternallyDefinedClass.cxx
// Created: Wed May 10 15:09:07 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <RWStepAP214_RWExternallyDefinedClass.ixx>
#include <StepBasic_ExternallyDefinedItem.hxx>
//=======================================================================
//function : RWStepAP214_RWExternallyDefinedClass
//purpose :
//=======================================================================
RWStepAP214_RWExternallyDefinedClass::RWStepAP214_RWExternallyDefinedClass ()
{
}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepAP214_RWExternallyDefinedClass::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_ExternallyDefinedClass) &ent) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,4,ach,"externally_defined_class") ) return;
// Inherited fields of Group
Handle(TCollection_HAsciiString) aGroup_Name;
data->ReadString (num, 1, "group.name", ach, aGroup_Name);
Handle(TCollection_HAsciiString) aGroup_Description;
Standard_Boolean hasGroup_Description = Standard_True;
if ( data->IsParamDefined (num,2) ) {
data->ReadString (num, 2, "group.description", ach, aGroup_Description);
}
else {
hasGroup_Description = Standard_False;
}
// Inherited fields of ExternallyDefinedItem
StepBasic_SourceItem aExternallyDefinedItem_ItemId;
data->ReadEntity (num, 3, "externally_defined_item.item_id", ach, aExternallyDefinedItem_ItemId);
Handle(StepBasic_ExternalSource) aExternallyDefinedItem_Source;
data->ReadEntity (num, 4, "externally_defined_item.source", ach, STANDARD_TYPE(StepBasic_ExternalSource), aExternallyDefinedItem_Source);
// Initialize entity
ent->Init(aGroup_Name,
hasGroup_Description,
aGroup_Description,
aExternallyDefinedItem_ItemId,
aExternallyDefinedItem_Source);
}
//=======================================================================
//function : WriteStep
//purpose :
//=======================================================================
void RWStepAP214_RWExternallyDefinedClass::WriteStep (StepData_StepWriter& SW,
const Handle(StepAP214_ExternallyDefinedClass) &ent) const
{
// Inherited fields of Group
SW.Send (ent->StepBasic_Group::Name());
if ( ent->StepBasic_Group::HasDescription() ) {
SW.Send (ent->StepBasic_Group::Description());
}
else SW.SendUndef();
// Inherited fields of ExternallyDefinedItem
SW.Send (ent->ExternallyDefinedItem()->ItemId().Value());
SW.Send (ent->ExternallyDefinedItem()->Source());
}
//=======================================================================
//function : Share
//purpose :
//=======================================================================
void RWStepAP214_RWExternallyDefinedClass::Share (const Handle(StepAP214_ExternallyDefinedClass) &ent,
Interface_EntityIterator& iter) const
{
// Inherited fields of Group
// Inherited fields of ExternallyDefinedItem
iter.AddItem (ent->ExternallyDefinedItem()->ItemId().Value());
iter.AddItem (ent->ExternallyDefinedItem()->Source());
}

View File

@@ -0,0 +1,35 @@
-- File: RWStepAP214_RWExternallyDefinedGeneralProperty.cdl
-- Created: Wed May 10 15:09:07 2000
-- Author: Andrey BETENEV
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
-- Copyright: Matra Datavision 2000
class RWExternallyDefinedGeneralProperty from RWStepAP214
---Purpose: Read & Write tool for ExternallyDefinedGeneralProperty
uses
Check from Interface,
StepWriter from StepData,
StepReaderData from StepData,
EntityIterator from Interface,
ExternallyDefinedGeneralProperty from StepAP214
is
Create returns RWExternallyDefinedGeneralProperty from RWStepAP214;
---Purpose: Empty constructor
ReadStep (me; data: StepReaderData from StepData; num: Integer;
ach : in out Check from Interface;
ent : ExternallyDefinedGeneralProperty from StepAP214);
---Purpose: Reads ExternallyDefinedGeneralProperty
WriteStep (me; SW: in out StepWriter from StepData;
ent: ExternallyDefinedGeneralProperty from StepAP214);
---Purpose: Writes ExternallyDefinedGeneralProperty
Share (me; ent : ExternallyDefinedGeneralProperty from StepAP214;
iter: in out EntityIterator from Interface);
---Purpose: Fills data for graph (shared items)
end RWExternallyDefinedGeneralProperty;

View File

@@ -0,0 +1,109 @@
// File: RWStepAP214_RWExternallyDefinedGeneralProperty.cxx
// Created: Wed May 10 15:09:07 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <RWStepAP214_RWExternallyDefinedGeneralProperty.ixx>
#include <StepBasic_ExternallyDefinedItem.hxx>
//=======================================================================
//function : RWStepAP214_RWExternallyDefinedGeneralProperty
//purpose :
//=======================================================================
RWStepAP214_RWExternallyDefinedGeneralProperty::RWStepAP214_RWExternallyDefinedGeneralProperty ()
{
}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepAP214_RWExternallyDefinedGeneralProperty::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_ExternallyDefinedGeneralProperty) &ent) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,5,ach,"externally_defined_general_property") ) return;
// Inherited fields of GeneralProperty
Handle(TCollection_HAsciiString) aGeneralProperty_Id;
data->ReadString (num, 1, "general_property.id", ach, aGeneralProperty_Id);
Handle(TCollection_HAsciiString) aGeneralProperty_Name;
data->ReadString (num, 2, "general_property.name", ach, aGeneralProperty_Name);
Handle(TCollection_HAsciiString) aGeneralProperty_Description;
Standard_Boolean hasGeneralProperty_Description = Standard_True;
if ( data->IsParamDefined (num,3) ) {
data->ReadString (num, 3, "general_property.description", ach, aGeneralProperty_Description);
}
else {
hasGeneralProperty_Description = Standard_False;
}
// Inherited fields of ExternallyDefinedItem
StepBasic_SourceItem aExternallyDefinedItem_ItemId;
data->ReadEntity (num, 4, "externally_defined_item.item_id", ach, aExternallyDefinedItem_ItemId);
Handle(StepBasic_ExternalSource) aExternallyDefinedItem_Source;
data->ReadEntity (num, 5, "externally_defined_item.source", ach, STANDARD_TYPE(StepBasic_ExternalSource), aExternallyDefinedItem_Source);
// Initialize entity
ent->Init(aGeneralProperty_Id,
aGeneralProperty_Name,
hasGeneralProperty_Description,
aGeneralProperty_Description,
aExternallyDefinedItem_ItemId,
aExternallyDefinedItem_Source);
}
//=======================================================================
//function : WriteStep
//purpose :
//=======================================================================
void RWStepAP214_RWExternallyDefinedGeneralProperty::WriteStep (StepData_StepWriter& SW,
const Handle(StepAP214_ExternallyDefinedGeneralProperty) &ent) const
{
// Inherited fields of GeneralProperty
SW.Send (ent->StepBasic_GeneralProperty::Id());
SW.Send (ent->StepBasic_GeneralProperty::Name());
if ( ent->StepBasic_GeneralProperty::HasDescription() ) {
SW.Send (ent->StepBasic_GeneralProperty::Description());
}
else SW.SendUndef();
// Inherited fields of ExternallyDefinedItem
SW.Send (ent->ExternallyDefinedItem()->ItemId().Value());
SW.Send (ent->ExternallyDefinedItem()->Source());
}
//=======================================================================
//function : Share
//purpose :
//=======================================================================
void RWStepAP214_RWExternallyDefinedGeneralProperty::Share (const Handle(StepAP214_ExternallyDefinedGeneralProperty) &ent,
Interface_EntityIterator& iter) const
{
// Inherited fields of GeneralProperty
// Inherited fields of ExternallyDefinedItem
iter.AddItem (ent->ExternallyDefinedItem()->ItemId().Value());
iter.AddItem (ent->ExternallyDefinedItem()->Source());
}

View File

@@ -0,0 +1,35 @@
-- File: RWStepAP214_RWRepItemGroup.cdl
-- Created: Wed May 10 15:09:08 2000
-- Author: Andrey BETENEV
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
-- Copyright: Matra Datavision 2000
class RWRepItemGroup from RWStepAP214
---Purpose: Read & Write tool for RepItemGroup
uses
Check from Interface,
StepWriter from StepData,
StepReaderData from StepData,
EntityIterator from Interface,
RepItemGroup from StepAP214
is
Create returns RWRepItemGroup from RWStepAP214;
---Purpose: Empty constructor
ReadStep (me; data: StepReaderData from StepData; num: Integer;
ach : in out Check from Interface;
ent : RepItemGroup from StepAP214);
---Purpose: Reads RepItemGroup
WriteStep (me; SW: in out StepWriter from StepData;
ent: RepItemGroup from StepAP214);
---Purpose: Writes RepItemGroup
Share (me; ent : RepItemGroup from StepAP214;
iter: in out EntityIterator from Interface);
---Purpose: Fills data for graph (shared items)
end RWRepItemGroup;

View File

@@ -0,0 +1,93 @@
// File: RWStepAP214_RWRepItemGroup.cxx
// Created: Wed May 10 15:09:08 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <RWStepAP214_RWRepItemGroup.ixx>
#include <StepRepr_RepresentationItem.hxx>
//=======================================================================
//function : RWStepAP214_RWRepItemGroup
//purpose :
//=======================================================================
RWStepAP214_RWRepItemGroup::RWStepAP214_RWRepItemGroup ()
{
}
//=======================================================================
//function : ReadStep
//purpose :
//=======================================================================
void RWStepAP214_RWRepItemGroup::ReadStep (const Handle(StepData_StepReaderData)& data,
const Standard_Integer num,
Handle(Interface_Check)& ach,
const Handle(StepAP214_RepItemGroup) &ent) const
{
// Check number of parameters
if ( ! data->CheckNbParams(num,3,ach,"rep_item_group") ) return;
// Inherited fields of Group
Handle(TCollection_HAsciiString) aGroup_Name;
data->ReadString (num, 1, "group.name", ach, aGroup_Name);
Handle(TCollection_HAsciiString) aGroup_Description;
Standard_Boolean hasGroup_Description = Standard_True;
if ( data->IsParamDefined (num,2) ) {
data->ReadString (num, 2, "group.description", ach, aGroup_Description);
}
else {
hasGroup_Description = Standard_False;
}
// Inherited fields of RepresentationItem
Handle(TCollection_HAsciiString) aRepresentationItem_Name;
data->ReadString (num, 3, "representation_item.name", ach, aRepresentationItem_Name);
// Initialize entity
ent->Init(aGroup_Name,
hasGroup_Description,
aGroup_Description,
aRepresentationItem_Name);
}
//=======================================================================
//function : WriteStep
//purpose :
//=======================================================================
void RWStepAP214_RWRepItemGroup::WriteStep (StepData_StepWriter& SW,
const Handle(StepAP214_RepItemGroup) &ent) const
{
// Inherited fields of Group
SW.Send (ent->StepBasic_Group::Name());
if ( ent->StepBasic_Group::HasDescription() ) {
SW.Send (ent->StepBasic_Group::Description());
}
else SW.SendUndef();
// Inherited fields of RepresentationItem
SW.Send (ent->RepresentationItem()->Name());
}
//=======================================================================
//function : Share
//purpose :
//=======================================================================
void RWStepAP214_RWRepItemGroup::Share (const Handle(StepAP214_RepItemGroup) &ent,
Interface_EntityIterator& iter) const
{
// Inherited fields of Group
// Inherited fields of RepresentationItem
}

View File

@@ -0,0 +1,49 @@
-- File: ReadWriteModule.cdl
-- Created: Thu Dec 7 14:30:12 1995
-- Author: EXPRESS->CDL V0.2 Translator
-- Copyright: Matra-Datavision 1993
class ReadWriteModule from RWStepAP214 inherits ReadWriteModule from StepData
---Purpose : General module to read and write StepAP214 entities
uses Transient,
SequenceOfAsciiString from TColStd,
AsciiString from TCollection,
Check from Interface,
StepReaderData from StepData,
StepWriter from StepData
is
Create returns mutable ReadWriteModule from RWStepAP214;
CaseStep (me; atype : AsciiString from TCollection) returns Integer;
---Purpose : associates a positive Case Number to each type of StepAP214 entity,
-- given as a String defined in the EXPRESS form
CaseStep(me; types : SequenceOfAsciiString from TColStd) returns Integer is redefined;
---Purpose : associates a positive Case Number to each type of StepAP214 Complex entity,
-- given as a String defined in the EXPRESS form
IsComplex (me; CN : Integer) returns Boolean is redefined;
---Purpose : returns True if the Case Number corresponds to a Complex Type
StepType (me; CN : Integer) returns AsciiString from TCollection;
---Purpose : returns a StepType (defined in EXPRESS form which belongs to a
-- Type of Entity, identified by its CaseNumber determined by Protocol
---C++ : return const &
ComplexType (me; CN : Integer;
types : in out SequenceOfAsciiString from TColStd)
returns Boolean is redefined;
ReadStep (me; CN : Integer; data : StepReaderData; num : Integer;
ach : in out Check; ent : mutable Transient);
WriteStep (me; CN : Integer; SW : in out StepWriter; ent : Transient);
end ReadWriteModule;

File diff suppressed because it is too large Load Diff