mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
310
src/StepBasic/StepBasic.cdl
Executable file
310
src/StepBasic/StepBasic.cdl
Executable file
@@ -0,0 +1,310 @@
|
||||
-- File: StepBasic.cdl
|
||||
-- Created: Fri Dec 1 11:11:09 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
package StepBasic
|
||||
|
||||
---Purpose : Collects definitions of STEP entities from Part 41 of ISO10303
|
||||
|
||||
uses
|
||||
|
||||
|
||||
TCollection, TColStd, StepData, Interface, MMgt
|
||||
|
||||
is
|
||||
|
||||
|
||||
|
||||
enumeration AheadOrBehind is
|
||||
|
||||
aobAhead,
|
||||
aobExact,
|
||||
aobBehind
|
||||
end;
|
||||
|
||||
enumeration SiPrefix is -- reordered from Rev2 to Rev4
|
||||
|
||||
spExa,
|
||||
spPeta,
|
||||
spTera,
|
||||
spGiga,
|
||||
spMega,
|
||||
spKilo,
|
||||
spHecto,
|
||||
spDeca,
|
||||
spDeci,
|
||||
spCenti,
|
||||
spMilli,
|
||||
spMicro,
|
||||
spNano,
|
||||
spPico,
|
||||
spFemto,
|
||||
spAtto
|
||||
end;
|
||||
|
||||
enumeration SiUnitName is -- reordered from Rev2 to Rev4
|
||||
|
||||
sunMetre,
|
||||
sunGram,
|
||||
sunSecond,
|
||||
sunAmpere,
|
||||
sunKelvin,
|
||||
sunMole,
|
||||
sunCandela,
|
||||
sunRadian,
|
||||
sunSteradian,
|
||||
sunHertz,
|
||||
sunNewton,
|
||||
sunPascal,
|
||||
sunJoule,
|
||||
sunWatt,
|
||||
sunCoulomb,
|
||||
sunVolt,
|
||||
sunFarad,
|
||||
sunOhm,
|
||||
sunSiemens,
|
||||
sunWeber,
|
||||
sunTesla,
|
||||
sunHenry,
|
||||
sunDegreeCelsius,
|
||||
sunLumen,
|
||||
sunLux,
|
||||
sunBecquerel,
|
||||
sunGray,
|
||||
sunSievert
|
||||
end;
|
||||
|
||||
enumeration Source is -- reordered from Rev2 to Rev4
|
||||
|
||||
sMade,
|
||||
sBought,
|
||||
sNotKnown
|
||||
end;
|
||||
|
||||
|
||||
class DateTimeSelect; -- Select Type for
|
||||
|
||||
-- Date
|
||||
-- LocalTime
|
||||
-- DateAndTime
|
||||
|
||||
|
||||
class MeasureValueMember; -- Select Type for (all Real members)
|
||||
|
||||
|
||||
class PersonOrganizationSelect; -- Select Type for
|
||||
|
||||
-- Person
|
||||
-- Organization
|
||||
-- PersonAndOrganization
|
||||
|
||||
|
||||
class SizeSelect; -- Select Type for
|
||||
|
||||
-- PositiveLengthMeasure i.e. Real (SizeMember)
|
||||
-- MeasureWithUnit
|
||||
|
||||
class SizeMember;
|
||||
|
||||
|
||||
|
||||
--class Protocol;
|
||||
|
||||
|
||||
class Address;
|
||||
class OrganizationalAddress;
|
||||
class PersonalAddress;
|
||||
class ApplicationContext;
|
||||
class ApplicationContextElement;
|
||||
class ProductContext;
|
||||
class MechanicalContext; --FMA le 24-07-96
|
||||
class ProductDefinitionContext;
|
||||
class DesignContext; --CKY le 7-OCT-1996
|
||||
class ApplicationProtocolDefinition;
|
||||
class Approval;
|
||||
deferred class ApprovalAssignment;
|
||||
class ApprovalPersonOrganization;
|
||||
class ApprovalRelationship;
|
||||
class ApprovalRole;
|
||||
class ApprovalStatus;
|
||||
class CoordinatedUniversalTimeOffset;
|
||||
class Date;
|
||||
class CalendarDate;
|
||||
class OrdinalDate;
|
||||
class WeekOfYearAndDayDate;
|
||||
class DateAndTime;
|
||||
deferred class DateAndTimeAssignment;
|
||||
deferred class DateAssignment;
|
||||
class DateRole;
|
||||
class DateTimeRole;
|
||||
class DimensionalExponents;
|
||||
-- Removed from Rev2 to Rev4 :class DrawingDefinition;
|
||||
class LocalTime;
|
||||
class MeasureWithUnit;
|
||||
class LengthMeasureWithUnit;
|
||||
class PlaneAngleMeasureWithUnit;
|
||||
class RatioMeasureWithUnit;
|
||||
class SolidAngleMeasureWithUnit;
|
||||
class TimeMeasureWithUnit; -- Added from Rev2 to Rev4
|
||||
class UncertaintyMeasureWithUnit;
|
||||
class MassMeasureWithUnit; -- added by skl 10.02.2004 for TRJ13
|
||||
class NamedUnit;
|
||||
class ConversionBasedUnit;
|
||||
class LengthUnit;
|
||||
class PlaneAngleUnit;
|
||||
class RatioUnit; -- Added from Rev2 to Rev4
|
||||
class SolidAngleUnit; -- Hand added by FMA for Rev4
|
||||
class TimeUnit; -- Added from Rev2 to Rev4
|
||||
class SiUnit;
|
||||
class AreaUnit;
|
||||
class VolumeUnit;
|
||||
-- complexes :
|
||||
class SiUnitAndLengthUnit;
|
||||
class SiUnitAndPlaneAngleUnit;
|
||||
class SiUnitAndRatioUnit; -- Added from Rev2 to Rev4
|
||||
class SiUnitAndSolidAngleUnit; -- Hand added by FMA for Rev4
|
||||
class SiUnitAndTimeUnit; -- Added from Rev2 to Rev4
|
||||
class SiUnitAndAreaUnit;
|
||||
class SiUnitAndVolumeUnit;
|
||||
class SiUnitAndMassUnit; -- Added for AP209 (skl 15.12.2002)
|
||||
class SiUnitAndThermodynamicTemperatureUnit; -- Added for AP209 (skl 15.12.2002)
|
||||
class ConversionBasedUnitAndLengthUnit;
|
||||
class ConversionBasedUnitAndPlaneAngleUnit;
|
||||
class ConversionBasedUnitAndRatioUnit; -- Added from Rev2 to Rev4
|
||||
class ConversionBasedUnitAndSolidAngleUnit; -- Hand added by FMA
|
||||
class ConversionBasedUnitAndTimeUnit; -- Added from Rev2 to Rev4
|
||||
class ConversionBasedUnitAndAreaUnit;
|
||||
class ConversionBasedUnitAndVolumeUnit;
|
||||
class ConversionBasedUnitAndMassUnit; -- added by skl 10.02.2004 for TRJ13
|
||||
class Organization;
|
||||
deferred class OrganizationAssignment;
|
||||
class OrganizationRole;
|
||||
class Person;
|
||||
class PersonAndOrganization;
|
||||
deferred class PersonAndOrganizationAssignment;
|
||||
class PersonAndOrganizationRole;
|
||||
class Product;
|
||||
class ProductCategory;
|
||||
class ProductRelatedProductCategory;
|
||||
class ProductType;
|
||||
class ProductDefinition;
|
||||
class ProductDefinitionFormation;
|
||||
class ProductDefinitionFormationWithSpecifiedSource;
|
||||
class SecurityClassification;
|
||||
deferred class SecurityClassificationAssignment;
|
||||
class SecurityClassificationLevel;
|
||||
|
||||
-- Added from AP214 CC1 Rev2 to Rev4
|
||||
class ApprovalDateTime;
|
||||
class DerivedUnit;
|
||||
class DerivedUnitElement;
|
||||
|
||||
-- ABV 08.09.99 for CAX TRJ 2: correct implementation of units
|
||||
class Unit;
|
||||
|
||||
-- Added from AP214 CC1 to CC2
|
||||
|
||||
class Document;
|
||||
class DigitalDocument;
|
||||
deferred class DocumentReference;
|
||||
class DocumentRelationship;
|
||||
class DocumentType;
|
||||
class DocumentUsageConstraint;
|
||||
class Effectivity;
|
||||
class ProductDefinitionEffectivity;
|
||||
class ProductDefinitionRelationship;
|
||||
|
||||
class ProductDefinitionWithAssociatedDocuments;
|
||||
class PhysicallyModeledProductDefinition;
|
||||
|
||||
-- Added from AP214 CC2 to DIS
|
||||
|
||||
class CharacterizedObject;
|
||||
class DocumentFile;
|
||||
|
||||
-- Added for AP203
|
||||
class Action;
|
||||
class ActionAssignment;
|
||||
class ActionMethod;
|
||||
class ActionRequestAssignment;
|
||||
class VersionedActionRequest;
|
||||
class Certification;
|
||||
class CertificationAssignment;
|
||||
class CertificationType;
|
||||
class Contract;
|
||||
class ContractAssignment;
|
||||
class ContractType;
|
||||
class ProductConceptContext;
|
||||
class ProductCategoryRelationship;
|
||||
class ActionRequestSolution;
|
||||
|
||||
-- added for external references (CAX-IF TRJ4)
|
||||
class DocumentRepresentationType;
|
||||
class ExternalSource;
|
||||
class ExternallyDefinedItem;
|
||||
class GeneralProperty;
|
||||
class ObjectRole;
|
||||
class RoleAssociation;
|
||||
class RoleSelect;
|
||||
class SourceItem;
|
||||
class EffectivityAssignment;
|
||||
class ExternalIdentificationAssignment;
|
||||
class IdentificationAssignment;
|
||||
class IdentificationRole;
|
||||
class NameAssignment;
|
||||
class Group;
|
||||
class GroupAssignment;
|
||||
class GroupRelationship;
|
||||
|
||||
|
||||
--added for AP209
|
||||
class EulerAngles;
|
||||
class MassUnit;
|
||||
class ThermodynamicTemperatureUnit;
|
||||
class ProductDefinitionFormationRelationship;
|
||||
|
||||
-- added for external references (AP214 CAX-IF TRJ11 2003)
|
||||
class DocumentProductAssociation;
|
||||
class DocumentProductEquivalence;
|
||||
class ProductOrFormationOrDefinition;
|
||||
|
||||
-- Instantiations
|
||||
|
||||
class Array1OfProductDefinition instantiates Array1 from TCollection (ProductDefinition);
|
||||
class HArray1OfProductDefinition instantiates HArray1 from TCollection (ProductDefinition,Array1OfProductDefinition from StepBasic);
|
||||
|
||||
class Array1OfApproval instantiates Array1 from TCollection (Approval);
|
||||
class HArray1OfApproval instantiates HArray1 from TCollection (Approval,Array1OfApproval from StepBasic);
|
||||
|
||||
class Array1OfUncertaintyMeasureWithUnit instantiates Array1 from TCollection (UncertaintyMeasureWithUnit);
|
||||
class HArray1OfUncertaintyMeasureWithUnit instantiates HArray1 from TCollection (UncertaintyMeasureWithUnit,Array1OfUncertaintyMeasureWithUnit from StepBasic);
|
||||
|
||||
class Array1OfNamedUnit instantiates Array1 from TCollection (NamedUnit);
|
||||
class HArray1OfNamedUnit instantiates HArray1 from TCollection (NamedUnit,Array1OfNamedUnit from StepBasic);
|
||||
|
||||
class Array1OfOrganization instantiates Array1 from TCollection (Organization);
|
||||
class HArray1OfOrganization instantiates HArray1 from TCollection (Organization,Array1OfOrganization from StepBasic);
|
||||
|
||||
class Array1OfPerson instantiates Array1 from TCollection (Person);
|
||||
class HArray1OfPerson instantiates HArray1 from TCollection (Person,Array1OfPerson from StepBasic);
|
||||
|
||||
class Array1OfProductContext instantiates Array1 from TCollection (ProductContext);
|
||||
class HArray1OfProductContext instantiates HArray1 from TCollection (ProductContext,Array1OfProductContext from StepBasic);
|
||||
|
||||
class Array1OfProduct instantiates Array1 from TCollection (Product);
|
||||
class HArray1OfProduct instantiates HArray1 from TCollection (Product,Array1OfProduct from StepBasic);
|
||||
|
||||
class Array1OfDerivedUnitElement instantiates Array1 from TCollection (DerivedUnitElement from StepBasic);
|
||||
class HArray1OfDerivedUnitElement instantiates HArray1 from TCollection (DerivedUnitElement from StepBasic,Array1OfDerivedUnitElement from StepBasic);
|
||||
|
||||
-- Added from AP214 CC1 to CC2
|
||||
class Array1OfDocument instantiates Array1 from TCollection (Document);
|
||||
class HArray1OfDocument instantiates HArray1 from TCollection (Document,Array1OfDocument from StepBasic);
|
||||
|
||||
-- Protocol returns Protocol from StepBasic;
|
||||
---Purpose : creates a Protocol
|
||||
|
||||
end StepBasic;
|
||||
|
49
src/StepBasic/StepBasic_Action.cdl
Executable file
49
src/StepBasic/StepBasic_Action.cdl
Executable file
@@ -0,0 +1,49 @@
|
||||
-- File: StepBasic_Action.cdl
|
||||
-- Created: Fri Nov 26 16:26:28 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class Action from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity Action
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ActionMethod from StepBasic
|
||||
|
||||
is
|
||||
Create returns Action from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aChosenMethod: ActionMethod from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Description
|
||||
SetDescription (me: mutable; Description: HAsciiString from TCollection);
|
||||
---Purpose: Set field Description
|
||||
HasDescription (me) returns Boolean;
|
||||
---Purpose: Returns True if optional field Description is defined
|
||||
|
||||
ChosenMethod (me) returns ActionMethod from StepBasic;
|
||||
---Purpose: Returns field ChosenMethod
|
||||
SetChosenMethod (me: mutable; ChosenMethod: ActionMethod from StepBasic);
|
||||
---Purpose: Set field ChosenMethod
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theChosenMethod: ActionMethod from StepBasic;
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end Action;
|
109
src/StepBasic/StepBasic_Action.cxx
Executable file
109
src/StepBasic/StepBasic_Action.cxx
Executable file
@@ -0,0 +1,109 @@
|
||||
// File: StepBasic_Action.cxx
|
||||
// Created: Fri Nov 26 16:26:28 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_Action.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_Action
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_Action::StepBasic_Action ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Action::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(StepBasic_ActionMethod) &aChosenMethod)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
|
||||
theChosenMethod = aChosenMethod;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Action::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Action::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Action::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Action::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepBasic_Action::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ChosenMethod
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ActionMethod) StepBasic_Action::ChosenMethod () const
|
||||
{
|
||||
return theChosenMethod;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetChosenMethod
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Action::SetChosenMethod (const Handle(StepBasic_ActionMethod) &aChosenMethod)
|
||||
{
|
||||
theChosenMethod = aChosenMethod;
|
||||
}
|
30
src/StepBasic/StepBasic_ActionAssignment.cdl
Executable file
30
src/StepBasic/StepBasic_ActionAssignment.cdl
Executable file
@@ -0,0 +1,30 @@
|
||||
-- File: StepBasic_ActionAssignment.cdl
|
||||
-- Created: Fri Nov 26 16:26:29 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ActionAssignment from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ActionAssignment
|
||||
|
||||
uses
|
||||
Action from StepBasic
|
||||
|
||||
is
|
||||
Create returns ActionAssignment from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aAssignedAction: Action from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
AssignedAction (me) returns Action from StepBasic;
|
||||
---Purpose: Returns field AssignedAction
|
||||
SetAssignedAction (me: mutable; AssignedAction: Action from StepBasic);
|
||||
---Purpose: Set field AssignedAction
|
||||
|
||||
fields
|
||||
theAssignedAction: Action from StepBasic;
|
||||
|
||||
end ActionAssignment;
|
47
src/StepBasic/StepBasic_ActionAssignment.cxx
Executable file
47
src/StepBasic/StepBasic_ActionAssignment.cxx
Executable file
@@ -0,0 +1,47 @@
|
||||
// File: StepBasic_ActionAssignment.cxx
|
||||
// Created: Fri Nov 26 16:26:29 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_ActionAssignment.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_ActionAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_ActionAssignment::StepBasic_ActionAssignment ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionAssignment::Init (const Handle(StepBasic_Action) &aAssignedAction)
|
||||
{
|
||||
|
||||
theAssignedAction = aAssignedAction;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AssignedAction
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Action) StepBasic_ActionAssignment::AssignedAction () const
|
||||
{
|
||||
return theAssignedAction;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetAssignedAction
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionAssignment::SetAssignedAction (const Handle(StepBasic_Action) &aAssignedAction)
|
||||
{
|
||||
theAssignedAction = aAssignedAction;
|
||||
}
|
55
src/StepBasic/StepBasic_ActionMethod.cdl
Executable file
55
src/StepBasic/StepBasic_ActionMethod.cdl
Executable file
@@ -0,0 +1,55 @@
|
||||
-- File: StepBasic_ActionMethod.cdl
|
||||
-- Created: Fri Nov 26 16:26:29 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ActionMethod from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ActionMethod
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
Create returns ActionMethod from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aConsequence: HAsciiString from TCollection;
|
||||
aPurpose: HAsciiString from TCollection);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Description
|
||||
SetDescription (me: mutable; Description: HAsciiString from TCollection);
|
||||
---Purpose: Set field Description
|
||||
HasDescription (me) returns Boolean;
|
||||
---Purpose: Returns True if optional field Description is defined
|
||||
|
||||
Consequence (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Consequence
|
||||
SetConsequence (me: mutable; Consequence: HAsciiString from TCollection);
|
||||
---Purpose: Set field Consequence
|
||||
|
||||
Purpose (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Purpose
|
||||
SetPurpose (me: mutable; Purpose: HAsciiString from TCollection);
|
||||
---Purpose: Set field Purpose
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theConsequence: HAsciiString from TCollection;
|
||||
thePurpose: HAsciiString from TCollection;
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end ActionMethod;
|
132
src/StepBasic/StepBasic_ActionMethod.cxx
Executable file
132
src/StepBasic/StepBasic_ActionMethod.cxx
Executable file
@@ -0,0 +1,132 @@
|
||||
// File: StepBasic_ActionMethod.cxx
|
||||
// Created: Fri Nov 26 16:26:29 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_ActionMethod.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_ActionMethod
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_ActionMethod::StepBasic_ActionMethod ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionMethod::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(TCollection_HAsciiString) &aConsequence,
|
||||
const Handle(TCollection_HAsciiString) &aPurpose)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
|
||||
theConsequence = aConsequence;
|
||||
|
||||
thePurpose = aPurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ActionMethod::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionMethod::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ActionMethod::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionMethod::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepBasic_ActionMethod::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Consequence
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ActionMethod::Consequence () const
|
||||
{
|
||||
return theConsequence;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetConsequence
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionMethod::SetConsequence (const Handle(TCollection_HAsciiString) &aConsequence)
|
||||
{
|
||||
theConsequence = aConsequence;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Purpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ActionMethod::Purpose () const
|
||||
{
|
||||
return thePurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPurpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionMethod::SetPurpose (const Handle(TCollection_HAsciiString) &aPurpose)
|
||||
{
|
||||
thePurpose = aPurpose;
|
||||
}
|
30
src/StepBasic/StepBasic_ActionRequestAssignment.cdl
Executable file
30
src/StepBasic/StepBasic_ActionRequestAssignment.cdl
Executable file
@@ -0,0 +1,30 @@
|
||||
-- File: StepBasic_ActionRequestAssignment.cdl
|
||||
-- Created: Fri Nov 26 16:26:30 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ActionRequestAssignment from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ActionRequestAssignment
|
||||
|
||||
uses
|
||||
VersionedActionRequest from StepBasic
|
||||
|
||||
is
|
||||
Create returns ActionRequestAssignment from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aAssignedActionRequest: VersionedActionRequest from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
AssignedActionRequest (me) returns VersionedActionRequest from StepBasic;
|
||||
---Purpose: Returns field AssignedActionRequest
|
||||
SetAssignedActionRequest (me: mutable; AssignedActionRequest: VersionedActionRequest from StepBasic);
|
||||
---Purpose: Set field AssignedActionRequest
|
||||
|
||||
fields
|
||||
theAssignedActionRequest: VersionedActionRequest from StepBasic;
|
||||
|
||||
end ActionRequestAssignment;
|
47
src/StepBasic/StepBasic_ActionRequestAssignment.cxx
Executable file
47
src/StepBasic/StepBasic_ActionRequestAssignment.cxx
Executable file
@@ -0,0 +1,47 @@
|
||||
// File: StepBasic_ActionRequestAssignment.cxx
|
||||
// Created: Fri Nov 26 16:26:30 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_ActionRequestAssignment.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_ActionRequestAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_ActionRequestAssignment::StepBasic_ActionRequestAssignment ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionRequestAssignment::Init (const Handle(StepBasic_VersionedActionRequest) &aAssignedActionRequest)
|
||||
{
|
||||
|
||||
theAssignedActionRequest = aAssignedActionRequest;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AssignedActionRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_VersionedActionRequest) StepBasic_ActionRequestAssignment::AssignedActionRequest () const
|
||||
{
|
||||
return theAssignedActionRequest;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetAssignedActionRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionRequestAssignment::SetAssignedActionRequest (const Handle(StepBasic_VersionedActionRequest) &aAssignedActionRequest)
|
||||
{
|
||||
theAssignedActionRequest = aAssignedActionRequest;
|
||||
}
|
38
src/StepBasic/StepBasic_ActionRequestSolution.cdl
Executable file
38
src/StepBasic/StepBasic_ActionRequestSolution.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepBasic_ActionRequestSolution.cdl
|
||||
-- Created: Fri Nov 26 16:26:30 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ActionRequestSolution from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ActionRequestSolution
|
||||
|
||||
uses
|
||||
ActionMethod from StepBasic,
|
||||
VersionedActionRequest from StepBasic
|
||||
|
||||
is
|
||||
Create returns ActionRequestSolution from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aMethod: ActionMethod from StepBasic;
|
||||
aRequest: VersionedActionRequest from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Method (me) returns ActionMethod from StepBasic;
|
||||
---Purpose: Returns field Method
|
||||
SetMethod (me: mutable; Method: ActionMethod from StepBasic);
|
||||
---Purpose: Set field Method
|
||||
|
||||
Request (me) returns VersionedActionRequest from StepBasic;
|
||||
---Purpose: Returns field Request
|
||||
SetRequest (me: mutable; Request: VersionedActionRequest from StepBasic);
|
||||
---Purpose: Set field Request
|
||||
|
||||
fields
|
||||
theMethod: ActionMethod from StepBasic;
|
||||
theRequest: VersionedActionRequest from StepBasic;
|
||||
|
||||
end ActionRequestSolution;
|
70
src/StepBasic/StepBasic_ActionRequestSolution.cxx
Executable file
70
src/StepBasic/StepBasic_ActionRequestSolution.cxx
Executable file
@@ -0,0 +1,70 @@
|
||||
// File: StepBasic_ActionRequestSolution.cxx
|
||||
// Created: Fri Nov 26 16:26:30 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_ActionRequestSolution.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_ActionRequestSolution
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_ActionRequestSolution::StepBasic_ActionRequestSolution ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionRequestSolution::Init (const Handle(StepBasic_ActionMethod) &aMethod,
|
||||
const Handle(StepBasic_VersionedActionRequest) &aRequest)
|
||||
{
|
||||
|
||||
theMethod = aMethod;
|
||||
|
||||
theRequest = aRequest;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Method
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ActionMethod) StepBasic_ActionRequestSolution::Method () const
|
||||
{
|
||||
return theMethod;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMethod
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionRequestSolution::SetMethod (const Handle(StepBasic_ActionMethod) &aMethod)
|
||||
{
|
||||
theMethod = aMethod;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Request
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_VersionedActionRequest) StepBasic_ActionRequestSolution::Request () const
|
||||
{
|
||||
return theRequest;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRequest
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ActionRequestSolution::SetRequest (const Handle(StepBasic_VersionedActionRequest) &aRequest)
|
||||
{
|
||||
theRequest = aRequest;
|
||||
}
|
124
src/StepBasic/StepBasic_Address.cdl
Executable file
124
src/StepBasic/StepBasic_Address.cdl
Executable file
@@ -0,0 +1,124 @@
|
||||
-- File: Address.cdl
|
||||
-- Created: Mon Dec 4 12:01:02 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Address from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Boolean from Standard
|
||||
is
|
||||
|
||||
Create returns mutable Address;
|
||||
---Purpose: Returns a Address
|
||||
|
||||
Init (me : mutable;
|
||||
hasAinternalLocation : Boolean from Standard;
|
||||
aInternalLocation : mutable HAsciiString from TCollection;
|
||||
hasAstreetNumber : Boolean from Standard;
|
||||
aStreetNumber : mutable HAsciiString from TCollection;
|
||||
hasAstreet : Boolean from Standard;
|
||||
aStreet : mutable HAsciiString from TCollection;
|
||||
hasApostalBox : Boolean from Standard;
|
||||
aPostalBox : mutable HAsciiString from TCollection;
|
||||
hasAtown : Boolean from Standard;
|
||||
aTown : mutable HAsciiString from TCollection;
|
||||
hasAregion : Boolean from Standard;
|
||||
aRegion : mutable HAsciiString from TCollection;
|
||||
hasApostalCode : Boolean from Standard;
|
||||
aPostalCode : mutable HAsciiString from TCollection;
|
||||
hasAcountry : Boolean from Standard;
|
||||
aCountry : mutable HAsciiString from TCollection;
|
||||
hasAfacsimileNumber : Boolean from Standard;
|
||||
aFacsimileNumber : mutable HAsciiString from TCollection;
|
||||
hasAtelephoneNumber : Boolean from Standard;
|
||||
aTelephoneNumber : mutable HAsciiString from TCollection;
|
||||
hasAelectronicMailAddress : Boolean from Standard;
|
||||
aElectronicMailAddress : mutable HAsciiString from TCollection;
|
||||
hasAtelexNumber : Boolean from Standard;
|
||||
aTelexNumber : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetInternalLocation(me : mutable; aInternalLocation : mutable HAsciiString);
|
||||
UnSetInternalLocation (me:mutable);
|
||||
InternalLocation (me) returns mutable HAsciiString;
|
||||
HasInternalLocation (me) returns Boolean;
|
||||
SetStreetNumber(me : mutable; aStreetNumber : mutable HAsciiString);
|
||||
UnSetStreetNumber (me:mutable);
|
||||
StreetNumber (me) returns mutable HAsciiString;
|
||||
HasStreetNumber (me) returns Boolean;
|
||||
SetStreet(me : mutable; aStreet : mutable HAsciiString);
|
||||
UnSetStreet (me:mutable);
|
||||
Street (me) returns mutable HAsciiString;
|
||||
HasStreet (me) returns Boolean;
|
||||
SetPostalBox(me : mutable; aPostalBox : mutable HAsciiString);
|
||||
UnSetPostalBox (me:mutable);
|
||||
PostalBox (me) returns mutable HAsciiString;
|
||||
HasPostalBox (me) returns Boolean;
|
||||
SetTown(me : mutable; aTown : mutable HAsciiString);
|
||||
UnSetTown (me:mutable);
|
||||
Town (me) returns mutable HAsciiString;
|
||||
HasTown (me) returns Boolean;
|
||||
SetRegion(me : mutable; aRegion : mutable HAsciiString);
|
||||
UnSetRegion (me:mutable);
|
||||
Region (me) returns mutable HAsciiString;
|
||||
HasRegion (me) returns Boolean;
|
||||
SetPostalCode(me : mutable; aPostalCode : mutable HAsciiString);
|
||||
UnSetPostalCode (me:mutable);
|
||||
PostalCode (me) returns mutable HAsciiString;
|
||||
HasPostalCode (me) returns Boolean;
|
||||
SetCountry(me : mutable; aCountry : mutable HAsciiString);
|
||||
UnSetCountry (me:mutable);
|
||||
Country (me) returns mutable HAsciiString;
|
||||
HasCountry (me) returns Boolean;
|
||||
SetFacsimileNumber(me : mutable; aFacsimileNumber : mutable HAsciiString);
|
||||
UnSetFacsimileNumber (me:mutable);
|
||||
FacsimileNumber (me) returns mutable HAsciiString;
|
||||
HasFacsimileNumber (me) returns Boolean;
|
||||
SetTelephoneNumber(me : mutable; aTelephoneNumber : mutable HAsciiString);
|
||||
UnSetTelephoneNumber (me:mutable);
|
||||
TelephoneNumber (me) returns mutable HAsciiString;
|
||||
HasTelephoneNumber (me) returns Boolean;
|
||||
SetElectronicMailAddress(me : mutable; aElectronicMailAddress : mutable HAsciiString);
|
||||
UnSetElectronicMailAddress (me:mutable);
|
||||
ElectronicMailAddress (me) returns mutable HAsciiString;
|
||||
HasElectronicMailAddress (me) returns Boolean;
|
||||
SetTelexNumber(me : mutable; aTelexNumber : mutable HAsciiString);
|
||||
UnSetTelexNumber (me:mutable);
|
||||
TelexNumber (me) returns mutable HAsciiString;
|
||||
HasTelexNumber (me) returns Boolean;
|
||||
|
||||
fields
|
||||
|
||||
internalLocation : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
streetNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
street : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
postalBox : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
town : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
region : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
postalCode : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
country : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
facsimileNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
telephoneNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
electronicMailAddress : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
telexNumber : HAsciiString from TCollection; -- OPTIONAL can be NULL
|
||||
hasInternalLocation : Boolean from Standard;
|
||||
hasStreetNumber : Boolean from Standard;
|
||||
hasStreet : Boolean from Standard;
|
||||
hasPostalBox : Boolean from Standard;
|
||||
hasTown : Boolean from Standard;
|
||||
hasRegion : Boolean from Standard;
|
||||
hasPostalCode : Boolean from Standard;
|
||||
hasCountry : Boolean from Standard;
|
||||
hasFacsimileNumber : Boolean from Standard;
|
||||
hasTelephoneNumber : Boolean from Standard;
|
||||
hasElectronicMailAddress : Boolean from Standard;
|
||||
hasTelexNumber : Boolean from Standard;
|
||||
|
||||
end Address;
|
322
src/StepBasic/StepBasic_Address.cxx
Executable file
322
src/StepBasic/StepBasic_Address.cxx
Executable file
@@ -0,0 +1,322 @@
|
||||
#include <StepBasic_Address.ixx>
|
||||
|
||||
|
||||
StepBasic_Address::StepBasic_Address () {}
|
||||
|
||||
void StepBasic_Address::Init(
|
||||
const Standard_Boolean hasAinternalLocation,
|
||||
const Handle(TCollection_HAsciiString)& aInternalLocation,
|
||||
const Standard_Boolean hasAstreetNumber,
|
||||
const Handle(TCollection_HAsciiString)& aStreetNumber,
|
||||
const Standard_Boolean hasAstreet,
|
||||
const Handle(TCollection_HAsciiString)& aStreet,
|
||||
const Standard_Boolean hasApostalBox,
|
||||
const Handle(TCollection_HAsciiString)& aPostalBox,
|
||||
const Standard_Boolean hasAtown,
|
||||
const Handle(TCollection_HAsciiString)& aTown,
|
||||
const Standard_Boolean hasAregion,
|
||||
const Handle(TCollection_HAsciiString)& aRegion,
|
||||
const Standard_Boolean hasApostalCode,
|
||||
const Handle(TCollection_HAsciiString)& aPostalCode,
|
||||
const Standard_Boolean hasAcountry,
|
||||
const Handle(TCollection_HAsciiString)& aCountry,
|
||||
const Standard_Boolean hasAfacsimileNumber,
|
||||
const Handle(TCollection_HAsciiString)& aFacsimileNumber,
|
||||
const Standard_Boolean hasAtelephoneNumber,
|
||||
const Handle(TCollection_HAsciiString)& aTelephoneNumber,
|
||||
const Standard_Boolean hasAelectronicMailAddress,
|
||||
const Handle(TCollection_HAsciiString)& aElectronicMailAddress,
|
||||
const Standard_Boolean hasAtelexNumber,
|
||||
const Handle(TCollection_HAsciiString)& aTelexNumber)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
hasInternalLocation = hasAinternalLocation;
|
||||
internalLocation = aInternalLocation;
|
||||
hasStreetNumber = hasAstreetNumber;
|
||||
streetNumber = aStreetNumber;
|
||||
hasStreet = hasAstreet;
|
||||
street = aStreet;
|
||||
hasPostalBox = hasApostalBox;
|
||||
postalBox = aPostalBox;
|
||||
hasTown = hasAtown;
|
||||
town = aTown;
|
||||
hasRegion = hasAregion;
|
||||
region = aRegion;
|
||||
hasPostalCode = hasApostalCode;
|
||||
postalCode = aPostalCode;
|
||||
hasCountry = hasAcountry;
|
||||
country = aCountry;
|
||||
hasFacsimileNumber = hasAfacsimileNumber;
|
||||
facsimileNumber = aFacsimileNumber;
|
||||
hasTelephoneNumber = hasAtelephoneNumber;
|
||||
telephoneNumber = aTelephoneNumber;
|
||||
hasElectronicMailAddress = hasAelectronicMailAddress;
|
||||
electronicMailAddress = aElectronicMailAddress;
|
||||
hasTelexNumber = hasAtelexNumber;
|
||||
telexNumber = aTelexNumber;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_Address::SetInternalLocation(const Handle(TCollection_HAsciiString)& aInternalLocation)
|
||||
{
|
||||
internalLocation = aInternalLocation;
|
||||
hasInternalLocation = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetInternalLocation()
|
||||
{
|
||||
hasInternalLocation = Standard_False;
|
||||
internalLocation.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::InternalLocation() const
|
||||
{
|
||||
return internalLocation;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasInternalLocation() const
|
||||
{
|
||||
return hasInternalLocation;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetStreetNumber(const Handle(TCollection_HAsciiString)& aStreetNumber)
|
||||
{
|
||||
streetNumber = aStreetNumber;
|
||||
hasStreetNumber = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetStreetNumber()
|
||||
{
|
||||
hasStreetNumber = Standard_False;
|
||||
streetNumber.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::StreetNumber() const
|
||||
{
|
||||
return streetNumber;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasStreetNumber() const
|
||||
{
|
||||
return hasStreetNumber;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetStreet(const Handle(TCollection_HAsciiString)& aStreet)
|
||||
{
|
||||
street = aStreet;
|
||||
hasStreet = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetStreet()
|
||||
{
|
||||
hasStreet = Standard_False;
|
||||
street.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::Street() const
|
||||
{
|
||||
return street;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasStreet() const
|
||||
{
|
||||
return hasStreet;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetPostalBox(const Handle(TCollection_HAsciiString)& aPostalBox)
|
||||
{
|
||||
postalBox = aPostalBox;
|
||||
hasPostalBox = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetPostalBox()
|
||||
{
|
||||
hasPostalBox = Standard_False;
|
||||
postalBox.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::PostalBox() const
|
||||
{
|
||||
return postalBox;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasPostalBox() const
|
||||
{
|
||||
return hasPostalBox;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetTown(const Handle(TCollection_HAsciiString)& aTown)
|
||||
{
|
||||
town = aTown;
|
||||
hasTown = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetTown()
|
||||
{
|
||||
hasTown = Standard_False;
|
||||
town.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::Town() const
|
||||
{
|
||||
return town;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasTown() const
|
||||
{
|
||||
return hasTown;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetRegion(const Handle(TCollection_HAsciiString)& aRegion)
|
||||
{
|
||||
region = aRegion;
|
||||
hasRegion = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetRegion()
|
||||
{
|
||||
hasRegion = Standard_False;
|
||||
region.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::Region() const
|
||||
{
|
||||
return region;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasRegion() const
|
||||
{
|
||||
return hasRegion;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetPostalCode(const Handle(TCollection_HAsciiString)& aPostalCode)
|
||||
{
|
||||
postalCode = aPostalCode;
|
||||
hasPostalCode = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetPostalCode()
|
||||
{
|
||||
hasPostalCode = Standard_False;
|
||||
postalCode.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::PostalCode() const
|
||||
{
|
||||
return postalCode;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasPostalCode() const
|
||||
{
|
||||
return hasPostalCode;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetCountry(const Handle(TCollection_HAsciiString)& aCountry)
|
||||
{
|
||||
country = aCountry;
|
||||
hasCountry = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetCountry()
|
||||
{
|
||||
hasCountry = Standard_False;
|
||||
country.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::Country() const
|
||||
{
|
||||
return country;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasCountry() const
|
||||
{
|
||||
return hasCountry;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetFacsimileNumber(const Handle(TCollection_HAsciiString)& aFacsimileNumber)
|
||||
{
|
||||
facsimileNumber = aFacsimileNumber;
|
||||
hasFacsimileNumber = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetFacsimileNumber()
|
||||
{
|
||||
hasFacsimileNumber = Standard_False;
|
||||
facsimileNumber.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::FacsimileNumber() const
|
||||
{
|
||||
return facsimileNumber;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasFacsimileNumber() const
|
||||
{
|
||||
return hasFacsimileNumber;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetTelephoneNumber(const Handle(TCollection_HAsciiString)& aTelephoneNumber)
|
||||
{
|
||||
telephoneNumber = aTelephoneNumber;
|
||||
hasTelephoneNumber = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetTelephoneNumber()
|
||||
{
|
||||
hasTelephoneNumber = Standard_False;
|
||||
telephoneNumber.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::TelephoneNumber() const
|
||||
{
|
||||
return telephoneNumber;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasTelephoneNumber() const
|
||||
{
|
||||
return hasTelephoneNumber;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetElectronicMailAddress(const Handle(TCollection_HAsciiString)& aElectronicMailAddress)
|
||||
{
|
||||
electronicMailAddress = aElectronicMailAddress;
|
||||
hasElectronicMailAddress = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetElectronicMailAddress()
|
||||
{
|
||||
hasElectronicMailAddress = Standard_False;
|
||||
electronicMailAddress.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::ElectronicMailAddress() const
|
||||
{
|
||||
return electronicMailAddress;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasElectronicMailAddress() const
|
||||
{
|
||||
return hasElectronicMailAddress;
|
||||
}
|
||||
|
||||
void StepBasic_Address::SetTelexNumber(const Handle(TCollection_HAsciiString)& aTelexNumber)
|
||||
{
|
||||
telexNumber = aTelexNumber;
|
||||
hasTelexNumber = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_Address::UnSetTelexNumber()
|
||||
{
|
||||
hasTelexNumber = Standard_False;
|
||||
telexNumber.Nullify();
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Address::TelexNumber() const
|
||||
{
|
||||
return telexNumber;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_Address::HasTelexNumber() const
|
||||
{
|
||||
return hasTelexNumber;
|
||||
}
|
31
src/StepBasic/StepBasic_ApplicationContext.cdl
Executable file
31
src/StepBasic/StepBasic_ApplicationContext.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: ApplicationContext.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ApplicationContext from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable ApplicationContext;
|
||||
---Purpose: Returns a ApplicationContext
|
||||
|
||||
Init (me : mutable;
|
||||
aApplication : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetApplication(me : mutable; aApplication : mutable HAsciiString);
|
||||
Application (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
application : HAsciiString from TCollection;
|
||||
|
||||
end ApplicationContext;
|
22
src/StepBasic/StepBasic_ApplicationContext.cxx
Executable file
22
src/StepBasic/StepBasic_ApplicationContext.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepBasic_ApplicationContext.ixx>
|
||||
|
||||
|
||||
StepBasic_ApplicationContext::StepBasic_ApplicationContext () {}
|
||||
|
||||
void StepBasic_ApplicationContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aApplication)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
application = aApplication;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApplicationContext::SetApplication(const Handle(TCollection_HAsciiString)& aApplication)
|
||||
{
|
||||
application = aApplication;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApplicationContext::Application() const
|
||||
{
|
||||
return application;
|
||||
}
|
36
src/StepBasic/StepBasic_ApplicationContextElement.cdl
Executable file
36
src/StepBasic/StepBasic_ApplicationContextElement.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: ApplicationContextElement.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ApplicationContextElement from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
ApplicationContext from StepBasic
|
||||
is
|
||||
|
||||
Create returns mutable ApplicationContextElement;
|
||||
---Purpose: Returns a ApplicationContextElement
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aFrameOfReference : mutable ApplicationContext from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetFrameOfReference(me : mutable; aFrameOfReference : mutable ApplicationContext);
|
||||
FrameOfReference (me) returns mutable ApplicationContext;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
frameOfReference : ApplicationContext from StepBasic;
|
||||
|
||||
end ApplicationContextElement;
|
34
src/StepBasic/StepBasic_ApplicationContextElement.cxx
Executable file
34
src/StepBasic/StepBasic_ApplicationContextElement.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepBasic_ApplicationContextElement.ixx>
|
||||
|
||||
|
||||
StepBasic_ApplicationContextElement::StepBasic_ApplicationContextElement () {}
|
||||
|
||||
void StepBasic_ApplicationContextElement::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_ApplicationContext)& aFrameOfReference)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
frameOfReference = aFrameOfReference;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApplicationContextElement::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApplicationContextElement::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepBasic_ApplicationContextElement::SetFrameOfReference(const Handle(StepBasic_ApplicationContext)& aFrameOfReference)
|
||||
{
|
||||
frameOfReference = aFrameOfReference;
|
||||
}
|
||||
|
||||
Handle(StepBasic_ApplicationContext) StepBasic_ApplicationContextElement::FrameOfReference() const
|
||||
{
|
||||
return frameOfReference;
|
||||
}
|
45
src/StepBasic/StepBasic_ApplicationProtocolDefinition.cdl
Executable file
45
src/StepBasic/StepBasic_ApplicationProtocolDefinition.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: ApplicationProtocolDefinition.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ApplicationProtocolDefinition from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Integer from Standard,
|
||||
ApplicationContext from StepBasic
|
||||
is
|
||||
|
||||
Create returns mutable ApplicationProtocolDefinition;
|
||||
---Purpose: Returns a ApplicationProtocolDefinition
|
||||
|
||||
Init (me : mutable;
|
||||
aStatus : mutable HAsciiString from TCollection;
|
||||
aApplicationInterpretedModelSchemaName : mutable HAsciiString from TCollection;
|
||||
aApplicationProtocolYear : Integer from Standard;
|
||||
aApplication : mutable ApplicationContext from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetStatus(me : mutable; aStatus : mutable HAsciiString);
|
||||
Status (me) returns mutable HAsciiString;
|
||||
SetApplicationInterpretedModelSchemaName(me : mutable; aApplicationInterpretedModelSchemaName : mutable HAsciiString);
|
||||
ApplicationInterpretedModelSchemaName (me) returns mutable HAsciiString;
|
||||
SetApplicationProtocolYear(me : mutable; aApplicationProtocolYear : Integer);
|
||||
ApplicationProtocolYear (me) returns Integer;
|
||||
SetApplication(me : mutable; aApplication : mutable ApplicationContext);
|
||||
Application (me) returns mutable ApplicationContext;
|
||||
|
||||
fields
|
||||
|
||||
status : HAsciiString from TCollection;
|
||||
applicationInterpretedModelSchemaName : HAsciiString from TCollection;
|
||||
applicationProtocolYear : Integer from Standard;
|
||||
application : ApplicationContext from StepBasic;
|
||||
|
||||
end ApplicationProtocolDefinition;
|
58
src/StepBasic/StepBasic_ApplicationProtocolDefinition.cxx
Executable file
58
src/StepBasic/StepBasic_ApplicationProtocolDefinition.cxx
Executable file
@@ -0,0 +1,58 @@
|
||||
#include <StepBasic_ApplicationProtocolDefinition.ixx>
|
||||
|
||||
|
||||
StepBasic_ApplicationProtocolDefinition::StepBasic_ApplicationProtocolDefinition () {}
|
||||
|
||||
void StepBasic_ApplicationProtocolDefinition::Init(
|
||||
const Handle(TCollection_HAsciiString)& aStatus,
|
||||
const Handle(TCollection_HAsciiString)& aApplicationInterpretedModelSchemaName,
|
||||
const Standard_Integer aApplicationProtocolYear,
|
||||
const Handle(StepBasic_ApplicationContext)& aApplication)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
status = aStatus;
|
||||
applicationInterpretedModelSchemaName = aApplicationInterpretedModelSchemaName;
|
||||
applicationProtocolYear = aApplicationProtocolYear;
|
||||
application = aApplication;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApplicationProtocolDefinition::SetStatus(const Handle(TCollection_HAsciiString)& aStatus)
|
||||
{
|
||||
status = aStatus;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApplicationProtocolDefinition::Status() const
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
void StepBasic_ApplicationProtocolDefinition::SetApplicationInterpretedModelSchemaName(const Handle(TCollection_HAsciiString)& aApplicationInterpretedModelSchemaName)
|
||||
{
|
||||
applicationInterpretedModelSchemaName = aApplicationInterpretedModelSchemaName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApplicationProtocolDefinition::ApplicationInterpretedModelSchemaName() const
|
||||
{
|
||||
return applicationInterpretedModelSchemaName;
|
||||
}
|
||||
|
||||
void StepBasic_ApplicationProtocolDefinition::SetApplicationProtocolYear(const Standard_Integer aApplicationProtocolYear)
|
||||
{
|
||||
applicationProtocolYear = aApplicationProtocolYear;
|
||||
}
|
||||
|
||||
Standard_Integer StepBasic_ApplicationProtocolDefinition::ApplicationProtocolYear() const
|
||||
{
|
||||
return applicationProtocolYear;
|
||||
}
|
||||
|
||||
void StepBasic_ApplicationProtocolDefinition::SetApplication(const Handle(StepBasic_ApplicationContext)& aApplication)
|
||||
{
|
||||
application = aApplication;
|
||||
}
|
||||
|
||||
Handle(StepBasic_ApplicationContext) StepBasic_ApplicationProtocolDefinition::Application() const
|
||||
{
|
||||
return application;
|
||||
}
|
36
src/StepBasic/StepBasic_Approval.cdl
Executable file
36
src/StepBasic/StepBasic_Approval.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: Approval.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Approval from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
ApprovalStatus from StepBasic,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable Approval;
|
||||
---Purpose: Returns a Approval
|
||||
|
||||
Init (me : mutable;
|
||||
aStatus : mutable ApprovalStatus from StepBasic;
|
||||
aLevel : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetStatus(me : mutable; aStatus : mutable ApprovalStatus);
|
||||
Status (me) returns mutable ApprovalStatus;
|
||||
SetLevel(me : mutable; aLevel : mutable HAsciiString);
|
||||
Level (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
status : ApprovalStatus from StepBasic;
|
||||
level : HAsciiString from TCollection;
|
||||
|
||||
end Approval;
|
34
src/StepBasic/StepBasic_Approval.cxx
Executable file
34
src/StepBasic/StepBasic_Approval.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepBasic_Approval.ixx>
|
||||
|
||||
|
||||
StepBasic_Approval::StepBasic_Approval () {}
|
||||
|
||||
void StepBasic_Approval::Init(
|
||||
const Handle(StepBasic_ApprovalStatus)& aStatus,
|
||||
const Handle(TCollection_HAsciiString)& aLevel)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
status = aStatus;
|
||||
level = aLevel;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_Approval::SetStatus(const Handle(StepBasic_ApprovalStatus)& aStatus)
|
||||
{
|
||||
status = aStatus;
|
||||
}
|
||||
|
||||
Handle(StepBasic_ApprovalStatus) StepBasic_Approval::Status() const
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
void StepBasic_Approval::SetLevel(const Handle(TCollection_HAsciiString)& aLevel)
|
||||
{
|
||||
level = aLevel;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Approval::Level() const
|
||||
{
|
||||
return level;
|
||||
}
|
28
src/StepBasic/StepBasic_ApprovalAssignment.cdl
Executable file
28
src/StepBasic/StepBasic_ApprovalAssignment.cdl
Executable file
@@ -0,0 +1,28 @@
|
||||
-- File: ApprovalAssignment.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
deferred class ApprovalAssignment from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
Approval from StepBasic
|
||||
is
|
||||
|
||||
Init (me : mutable;
|
||||
aAssignedApproval : mutable Approval from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetAssignedApproval(me : mutable; aAssignedApproval : mutable Approval);
|
||||
AssignedApproval (me) returns mutable Approval;
|
||||
|
||||
fields
|
||||
|
||||
assignedApproval : Approval from StepBasic;
|
||||
|
||||
end ApprovalAssignment;
|
19
src/StepBasic/StepBasic_ApprovalAssignment.cxx
Executable file
19
src/StepBasic/StepBasic_ApprovalAssignment.cxx
Executable file
@@ -0,0 +1,19 @@
|
||||
#include <StepBasic_ApprovalAssignment.ixx>
|
||||
|
||||
void StepBasic_ApprovalAssignment::Init(
|
||||
const Handle(StepBasic_Approval)& aAssignedApproval)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
assignedApproval = aAssignedApproval;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApprovalAssignment::SetAssignedApproval(const Handle(StepBasic_Approval)& aAssignedApproval)
|
||||
{
|
||||
assignedApproval = aAssignedApproval;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Approval) StepBasic_ApprovalAssignment::AssignedApproval() const
|
||||
{
|
||||
return assignedApproval;
|
||||
}
|
35
src/StepBasic/StepBasic_ApprovalDateTime.cdl
Executable file
35
src/StepBasic/StepBasic_ApprovalDateTime.cdl
Executable file
@@ -0,0 +1,35 @@
|
||||
-- File: StepBasic_ApprovalDateTime.cdl
|
||||
-- Created: Wed Mar 26 14:13:59 1997
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
class ApprovalDateTime from StepBasic inherits TShared
|
||||
|
||||
---Purpose : Added from StepBasic Rev2 to Rev4
|
||||
|
||||
uses
|
||||
DateTimeSelect from StepBasic,
|
||||
Approval from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ApprovalDateTime;
|
||||
|
||||
Init (me : mutable;
|
||||
aDateTime : DateTimeSelect;
|
||||
aDatedApproval : Approval);
|
||||
|
||||
SetDateTime (me : mutable; aDateTime : DateTimeSelect);
|
||||
DateTime (me) returns DateTimeSelect;
|
||||
|
||||
SetDatedApproval (me : mutable; aDatedApproval : Approval);
|
||||
DatedApproval (me) returns Approval;
|
||||
|
||||
fields
|
||||
|
||||
theDateTime : DateTimeSelect;
|
||||
theDatedApproval : Approval;
|
||||
|
||||
end ApprovalDateTime;
|
21
src/StepBasic/StepBasic_ApprovalDateTime.cxx
Executable file
21
src/StepBasic/StepBasic_ApprovalDateTime.cxx
Executable file
@@ -0,0 +1,21 @@
|
||||
#include <StepBasic_ApprovalDateTime.ixx>
|
||||
|
||||
StepBasic_ApprovalDateTime::StepBasic_ApprovalDateTime () { }
|
||||
|
||||
void StepBasic_ApprovalDateTime::Init (const StepBasic_DateTimeSelect& aDateTime, const Handle(StepBasic_Approval)& aDatedApproval)
|
||||
{
|
||||
theDateTime = aDateTime;
|
||||
theDatedApproval = aDatedApproval;
|
||||
}
|
||||
|
||||
void StepBasic_ApprovalDateTime::SetDateTime (const StepBasic_DateTimeSelect& aDateTime)
|
||||
{ theDateTime = aDateTime; }
|
||||
|
||||
StepBasic_DateTimeSelect StepBasic_ApprovalDateTime::DateTime () const
|
||||
{ return theDateTime; }
|
||||
|
||||
void StepBasic_ApprovalDateTime::SetDatedApproval (const Handle(StepBasic_Approval)& aDatedApproval)
|
||||
{ theDatedApproval = aDatedApproval; }
|
||||
|
||||
Handle(StepBasic_Approval) StepBasic_ApprovalDateTime::DatedApproval () const
|
||||
{ return theDatedApproval; }
|
41
src/StepBasic/StepBasic_ApprovalPersonOrganization.cdl
Executable file
41
src/StepBasic/StepBasic_ApprovalPersonOrganization.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: ApprovalPersonOrganization.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ApprovalPersonOrganization from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
PersonOrganizationSelect from StepBasic,
|
||||
Approval from StepBasic,
|
||||
ApprovalRole from StepBasic
|
||||
is
|
||||
|
||||
Create returns mutable ApprovalPersonOrganization;
|
||||
---Purpose: Returns a ApprovalPersonOrganization
|
||||
|
||||
Init (me : mutable;
|
||||
aPersonOrganization : PersonOrganizationSelect from StepBasic;
|
||||
aAuthorizedApproval : mutable Approval from StepBasic;
|
||||
aRole : mutable ApprovalRole from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetPersonOrganization(me : mutable; aPersonOrganization : PersonOrganizationSelect);
|
||||
PersonOrganization (me) returns PersonOrganizationSelect;
|
||||
SetAuthorizedApproval(me : mutable; aAuthorizedApproval : mutable Approval);
|
||||
AuthorizedApproval (me) returns mutable Approval;
|
||||
SetRole(me : mutable; aRole : mutable ApprovalRole);
|
||||
Role (me) returns mutable ApprovalRole;
|
||||
|
||||
fields
|
||||
|
||||
personOrganization : PersonOrganizationSelect from StepBasic; -- a SelectType
|
||||
authorizedApproval : Approval from StepBasic;
|
||||
role : ApprovalRole from StepBasic;
|
||||
|
||||
end ApprovalPersonOrganization;
|
46
src/StepBasic/StepBasic_ApprovalPersonOrganization.cxx
Executable file
46
src/StepBasic/StepBasic_ApprovalPersonOrganization.cxx
Executable file
@@ -0,0 +1,46 @@
|
||||
#include <StepBasic_ApprovalPersonOrganization.ixx>
|
||||
|
||||
|
||||
StepBasic_ApprovalPersonOrganization::StepBasic_ApprovalPersonOrganization () {}
|
||||
|
||||
void StepBasic_ApprovalPersonOrganization::Init(
|
||||
const StepBasic_PersonOrganizationSelect& aPersonOrganization,
|
||||
const Handle(StepBasic_Approval)& aAuthorizedApproval,
|
||||
const Handle(StepBasic_ApprovalRole)& aRole)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
personOrganization = aPersonOrganization;
|
||||
authorizedApproval = aAuthorizedApproval;
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApprovalPersonOrganization::SetPersonOrganization(const StepBasic_PersonOrganizationSelect& aPersonOrganization)
|
||||
{
|
||||
personOrganization = aPersonOrganization;
|
||||
}
|
||||
|
||||
StepBasic_PersonOrganizationSelect StepBasic_ApprovalPersonOrganization::PersonOrganization() const
|
||||
{
|
||||
return personOrganization;
|
||||
}
|
||||
|
||||
void StepBasic_ApprovalPersonOrganization::SetAuthorizedApproval(const Handle(StepBasic_Approval)& aAuthorizedApproval)
|
||||
{
|
||||
authorizedApproval = aAuthorizedApproval;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Approval) StepBasic_ApprovalPersonOrganization::AuthorizedApproval() const
|
||||
{
|
||||
return authorizedApproval;
|
||||
}
|
||||
|
||||
void StepBasic_ApprovalPersonOrganization::SetRole(const Handle(StepBasic_ApprovalRole)& aRole)
|
||||
{
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
Handle(StepBasic_ApprovalRole) StepBasic_ApprovalPersonOrganization::Role() const
|
||||
{
|
||||
return role;
|
||||
}
|
44
src/StepBasic/StepBasic_ApprovalRelationship.cdl
Executable file
44
src/StepBasic/StepBasic_ApprovalRelationship.cdl
Executable file
@@ -0,0 +1,44 @@
|
||||
-- File: ApprovalRelationship.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ApprovalRelationship from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Approval from StepBasic
|
||||
is
|
||||
|
||||
Create returns mutable ApprovalRelationship;
|
||||
---Purpose: Returns a ApprovalRelationship
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aDescription : mutable HAsciiString from TCollection;
|
||||
aRelatingApproval : mutable Approval from StepBasic;
|
||||
aRelatedApproval : mutable Approval from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetDescription(me : mutable; aDescription : mutable HAsciiString);
|
||||
Description (me) returns mutable HAsciiString;
|
||||
SetRelatingApproval(me : mutable; aRelatingApproval : mutable Approval);
|
||||
RelatingApproval (me) returns mutable Approval;
|
||||
SetRelatedApproval(me : mutable; aRelatedApproval : mutable Approval);
|
||||
RelatedApproval (me) returns mutable Approval;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
description : HAsciiString from TCollection;
|
||||
relatingApproval : Approval from StepBasic;
|
||||
relatedApproval : Approval from StepBasic;
|
||||
|
||||
end ApprovalRelationship;
|
58
src/StepBasic/StepBasic_ApprovalRelationship.cxx
Executable file
58
src/StepBasic/StepBasic_ApprovalRelationship.cxx
Executable file
@@ -0,0 +1,58 @@
|
||||
#include <StepBasic_ApprovalRelationship.ixx>
|
||||
|
||||
|
||||
StepBasic_ApprovalRelationship::StepBasic_ApprovalRelationship () {}
|
||||
|
||||
void StepBasic_ApprovalRelationship::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDescription,
|
||||
const Handle(StepBasic_Approval)& aRelatingApproval,
|
||||
const Handle(StepBasic_Approval)& aRelatedApproval)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
description = aDescription;
|
||||
relatingApproval = aRelatingApproval;
|
||||
relatedApproval = aRelatedApproval;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApprovalRelationship::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApprovalRelationship::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepBasic_ApprovalRelationship::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{
|
||||
description = aDescription;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApprovalRelationship::Description() const
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
void StepBasic_ApprovalRelationship::SetRelatingApproval(const Handle(StepBasic_Approval)& aRelatingApproval)
|
||||
{
|
||||
relatingApproval = aRelatingApproval;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Approval) StepBasic_ApprovalRelationship::RelatingApproval() const
|
||||
{
|
||||
return relatingApproval;
|
||||
}
|
||||
|
||||
void StepBasic_ApprovalRelationship::SetRelatedApproval(const Handle(StepBasic_Approval)& aRelatedApproval)
|
||||
{
|
||||
relatedApproval = aRelatedApproval;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Approval) StepBasic_ApprovalRelationship::RelatedApproval() const
|
||||
{
|
||||
return relatedApproval;
|
||||
}
|
31
src/StepBasic/StepBasic_ApprovalRole.cdl
Executable file
31
src/StepBasic/StepBasic_ApprovalRole.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: ApprovalRole.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ApprovalRole from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable ApprovalRole;
|
||||
---Purpose: Returns a ApprovalRole
|
||||
|
||||
Init (me : mutable;
|
||||
aRole : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetRole(me : mutable; aRole : mutable HAsciiString);
|
||||
Role (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
role : HAsciiString from TCollection;
|
||||
|
||||
end ApprovalRole;
|
22
src/StepBasic/StepBasic_ApprovalRole.cxx
Executable file
22
src/StepBasic/StepBasic_ApprovalRole.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepBasic_ApprovalRole.ixx>
|
||||
|
||||
|
||||
StepBasic_ApprovalRole::StepBasic_ApprovalRole () {}
|
||||
|
||||
void StepBasic_ApprovalRole::Init(
|
||||
const Handle(TCollection_HAsciiString)& aRole)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApprovalRole::SetRole(const Handle(TCollection_HAsciiString)& aRole)
|
||||
{
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApprovalRole::Role() const
|
||||
{
|
||||
return role;
|
||||
}
|
31
src/StepBasic/StepBasic_ApprovalStatus.cdl
Executable file
31
src/StepBasic/StepBasic_ApprovalStatus.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: ApprovalStatus.cdl
|
||||
-- Created: Fri Dec 1 11:11:13 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ApprovalStatus from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable ApprovalStatus;
|
||||
---Purpose: Returns a ApprovalStatus
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
|
||||
end ApprovalStatus;
|
22
src/StepBasic/StepBasic_ApprovalStatus.cxx
Executable file
22
src/StepBasic/StepBasic_ApprovalStatus.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepBasic_ApprovalStatus.ixx>
|
||||
|
||||
|
||||
StepBasic_ApprovalStatus::StepBasic_ApprovalStatus () {}
|
||||
|
||||
void StepBasic_ApprovalStatus::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ApprovalStatus::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ApprovalStatus::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
16
src/StepBasic/StepBasic_AreaUnit.cdl
Executable file
16
src/StepBasic/StepBasic_AreaUnit.cdl
Executable file
@@ -0,0 +1,16 @@
|
||||
-- File: StepBasic_AreaUnit.cdl
|
||||
-- Created: Mon Oct 11 13:32:20 1999
|
||||
-- Author: data exchange team
|
||||
-- <det@friendox>
|
||||
---Copyright: Matra Datavision 1999
|
||||
|
||||
|
||||
class AreaUnit from StepBasic inherits NamedUnit from StepBasic
|
||||
|
||||
---Purpose:
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable AreaUnit from StepBasic;
|
||||
|
||||
end AreaUnit;
|
9
src/StepBasic/StepBasic_AreaUnit.cxx
Executable file
9
src/StepBasic/StepBasic_AreaUnit.cxx
Executable file
@@ -0,0 +1,9 @@
|
||||
// File: StepBasic_AreaUnit.cxx
|
||||
// Created: Mon Oct 11 13:33:50 1999
|
||||
// Author: data exchange team
|
||||
// <det@friendox>
|
||||
|
||||
|
||||
#include <StepBasic_AreaUnit.ixx>
|
||||
|
||||
StepBasic_AreaUnit::StepBasic_AreaUnit () {}
|
40
src/StepBasic/StepBasic_CalendarDate.cdl
Executable file
40
src/StepBasic/StepBasic_CalendarDate.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: CalendarDate.cdl
|
||||
-- Created: Fri Dec 1 11:11:15 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CalendarDate from StepBasic
|
||||
|
||||
inherits Date from StepBasic
|
||||
|
||||
uses
|
||||
|
||||
Integer from Standard
|
||||
is
|
||||
|
||||
Create returns mutable CalendarDate;
|
||||
---Purpose: Returns a CalendarDate
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aYearComponent : Integer from Standard) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aYearComponent : Integer from Standard;
|
||||
aDayComponent : Integer from Standard;
|
||||
aMonthComponent : Integer from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetDayComponent(me : mutable; aDayComponent : Integer);
|
||||
DayComponent (me) returns Integer;
|
||||
SetMonthComponent(me : mutable; aMonthComponent : Integer);
|
||||
MonthComponent (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
dayComponent : Integer from Standard;
|
||||
monthComponent : Integer from Standard;
|
||||
|
||||
end CalendarDate;
|
44
src/StepBasic/StepBasic_CalendarDate.cxx
Executable file
44
src/StepBasic/StepBasic_CalendarDate.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepBasic_CalendarDate.ixx>
|
||||
|
||||
|
||||
StepBasic_CalendarDate::StepBasic_CalendarDate () {}
|
||||
|
||||
void StepBasic_CalendarDate::Init(
|
||||
const Standard_Integer aYearComponent)
|
||||
{
|
||||
|
||||
StepBasic_Date::Init(aYearComponent);
|
||||
}
|
||||
|
||||
void StepBasic_CalendarDate::Init(
|
||||
const Standard_Integer aYearComponent,
|
||||
const Standard_Integer aDayComponent,
|
||||
const Standard_Integer aMonthComponent)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
dayComponent = aDayComponent;
|
||||
monthComponent = aMonthComponent;
|
||||
// --- classe inherited fields ---
|
||||
StepBasic_Date::Init(aYearComponent);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_CalendarDate::SetDayComponent(const Standard_Integer aDayComponent)
|
||||
{
|
||||
dayComponent = aDayComponent;
|
||||
}
|
||||
|
||||
Standard_Integer StepBasic_CalendarDate::DayComponent() const
|
||||
{
|
||||
return dayComponent;
|
||||
}
|
||||
|
||||
void StepBasic_CalendarDate::SetMonthComponent(const Standard_Integer aMonthComponent)
|
||||
{
|
||||
monthComponent = aMonthComponent;
|
||||
}
|
||||
|
||||
Standard_Integer StepBasic_CalendarDate::MonthComponent() const
|
||||
{
|
||||
return monthComponent;
|
||||
}
|
45
src/StepBasic/StepBasic_Certification.cdl
Executable file
45
src/StepBasic/StepBasic_Certification.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: StepBasic_Certification.cdl
|
||||
-- Created: Fri Nov 26 16:26:33 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class Certification from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity Certification
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
CertificationType from StepBasic
|
||||
|
||||
is
|
||||
Create returns Certification from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
aPurpose: HAsciiString from TCollection;
|
||||
aKind: CertificationType from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
Purpose (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Purpose
|
||||
SetPurpose (me: mutable; Purpose: HAsciiString from TCollection);
|
||||
---Purpose: Set field Purpose
|
||||
|
||||
Kind (me) returns CertificationType from StepBasic;
|
||||
---Purpose: Returns field Kind
|
||||
SetKind (me: mutable; Kind: CertificationType from StepBasic);
|
||||
---Purpose: Set field Kind
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
thePurpose: HAsciiString from TCollection;
|
||||
theKind: CertificationType from StepBasic;
|
||||
|
||||
end Certification;
|
93
src/StepBasic/StepBasic_Certification.cxx
Executable file
93
src/StepBasic/StepBasic_Certification.cxx
Executable file
@@ -0,0 +1,93 @@
|
||||
// File: StepBasic_Certification.cxx
|
||||
// Created: Fri Nov 26 16:26:34 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_Certification.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_Certification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_Certification::StepBasic_Certification ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Certification::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Handle(TCollection_HAsciiString) &aPurpose,
|
||||
const Handle(StepBasic_CertificationType) &aKind)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
thePurpose = aPurpose;
|
||||
|
||||
theKind = aKind;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Certification::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Certification::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Purpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Certification::Purpose () const
|
||||
{
|
||||
return thePurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPurpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Certification::SetPurpose (const Handle(TCollection_HAsciiString) &aPurpose)
|
||||
{
|
||||
thePurpose = aPurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Kind
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_CertificationType) StepBasic_Certification::Kind () const
|
||||
{
|
||||
return theKind;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetKind
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Certification::SetKind (const Handle(StepBasic_CertificationType) &aKind)
|
||||
{
|
||||
theKind = aKind;
|
||||
}
|
30
src/StepBasic/StepBasic_CertificationAssignment.cdl
Executable file
30
src/StepBasic/StepBasic_CertificationAssignment.cdl
Executable file
@@ -0,0 +1,30 @@
|
||||
-- File: StepBasic_CertificationAssignment.cdl
|
||||
-- Created: Fri Nov 26 16:26:34 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CertificationAssignment from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity CertificationAssignment
|
||||
|
||||
uses
|
||||
Certification from StepBasic
|
||||
|
||||
is
|
||||
Create returns CertificationAssignment from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aAssignedCertification: Certification from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
AssignedCertification (me) returns Certification from StepBasic;
|
||||
---Purpose: Returns field AssignedCertification
|
||||
SetAssignedCertification (me: mutable; AssignedCertification: Certification from StepBasic);
|
||||
---Purpose: Set field AssignedCertification
|
||||
|
||||
fields
|
||||
theAssignedCertification: Certification from StepBasic;
|
||||
|
||||
end CertificationAssignment;
|
47
src/StepBasic/StepBasic_CertificationAssignment.cxx
Executable file
47
src/StepBasic/StepBasic_CertificationAssignment.cxx
Executable file
@@ -0,0 +1,47 @@
|
||||
// File: StepBasic_CertificationAssignment.cxx
|
||||
// Created: Fri Nov 26 16:26:34 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_CertificationAssignment.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_CertificationAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_CertificationAssignment::StepBasic_CertificationAssignment ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_CertificationAssignment::Init (const Handle(StepBasic_Certification) &aAssignedCertification)
|
||||
{
|
||||
|
||||
theAssignedCertification = aAssignedCertification;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AssignedCertification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Certification) StepBasic_CertificationAssignment::AssignedCertification () const
|
||||
{
|
||||
return theAssignedCertification;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetAssignedCertification
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_CertificationAssignment::SetAssignedCertification (const Handle(StepBasic_Certification) &aAssignedCertification)
|
||||
{
|
||||
theAssignedCertification = aAssignedCertification;
|
||||
}
|
30
src/StepBasic/StepBasic_CertificationType.cdl
Executable file
30
src/StepBasic/StepBasic_CertificationType.cdl
Executable file
@@ -0,0 +1,30 @@
|
||||
-- File: StepBasic_CertificationType.cdl
|
||||
-- Created: Fri Nov 26 16:26:35 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class CertificationType from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity CertificationType
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
Create returns CertificationType from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDescription: HAsciiString from TCollection);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Description
|
||||
SetDescription (me: mutable; Description: HAsciiString from TCollection);
|
||||
---Purpose: Set field Description
|
||||
|
||||
fields
|
||||
theDescription: HAsciiString from TCollection;
|
||||
|
||||
end CertificationType;
|
47
src/StepBasic/StepBasic_CertificationType.cxx
Executable file
47
src/StepBasic/StepBasic_CertificationType.cxx
Executable file
@@ -0,0 +1,47 @@
|
||||
// File: StepBasic_CertificationType.cxx
|
||||
// Created: Fri Nov 26 16:26:35 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_CertificationType.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_CertificationType
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_CertificationType::StepBasic_CertificationType ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_CertificationType::Init (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_CertificationType::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_CertificationType::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
41
src/StepBasic/StepBasic_CharacterizedObject.cdl
Executable file
41
src/StepBasic/StepBasic_CharacterizedObject.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: StepBasic_CharacterizedObject.cdl
|
||||
-- Created: Thu May 11 16:38:00 2000
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class CharacterizedObject from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity CharacterizedObject
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
Create returns CharacterizedObject from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Description
|
||||
SetDescription (me: mutable; Description: HAsciiString from TCollection);
|
||||
---Purpose: Set field Description
|
||||
HasDescription (me) returns Boolean;
|
||||
---Purpose: Returns True if optional field Description is defined
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end CharacterizedObject;
|
85
src/StepBasic/StepBasic_CharacterizedObject.cxx
Executable file
85
src/StepBasic/StepBasic_CharacterizedObject.cxx
Executable file
@@ -0,0 +1,85 @@
|
||||
// File: StepBasic_CharacterizedObject.cxx
|
||||
// Created: Thu May 11 16:38:00 2000
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepBasic_CharacterizedObject.ixx>
|
||||
#include <TCollection_HAsciiString.hxx>
|
||||
//=======================================================================
|
||||
//function : StepBasic_CharacterizedObject
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_CharacterizedObject::StepBasic_CharacterizedObject ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_CharacterizedObject::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_CharacterizedObject::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_CharacterizedObject::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_CharacterizedObject::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_CharacterizedObject::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepBasic_CharacterizedObject::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
45
src/StepBasic/StepBasic_Contract.cdl
Executable file
45
src/StepBasic/StepBasic_Contract.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: StepBasic_Contract.cdl
|
||||
-- Created: Fri Nov 26 16:26:37 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class Contract from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity Contract
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ContractType from StepBasic
|
||||
|
||||
is
|
||||
Create returns Contract from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
aPurpose: HAsciiString from TCollection;
|
||||
aKind: ContractType from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
Purpose (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Purpose
|
||||
SetPurpose (me: mutable; Purpose: HAsciiString from TCollection);
|
||||
---Purpose: Set field Purpose
|
||||
|
||||
Kind (me) returns ContractType from StepBasic;
|
||||
---Purpose: Returns field Kind
|
||||
SetKind (me: mutable; Kind: ContractType from StepBasic);
|
||||
---Purpose: Set field Kind
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
thePurpose: HAsciiString from TCollection;
|
||||
theKind: ContractType from StepBasic;
|
||||
|
||||
end Contract;
|
93
src/StepBasic/StepBasic_Contract.cxx
Executable file
93
src/StepBasic/StepBasic_Contract.cxx
Executable file
@@ -0,0 +1,93 @@
|
||||
// File: StepBasic_Contract.cxx
|
||||
// Created: Fri Nov 26 16:26:37 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_Contract.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_Contract
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_Contract::StepBasic_Contract ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Contract::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Handle(TCollection_HAsciiString) &aPurpose,
|
||||
const Handle(StepBasic_ContractType) &aKind)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
thePurpose = aPurpose;
|
||||
|
||||
theKind = aKind;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Contract::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Contract::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Purpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Contract::Purpose () const
|
||||
{
|
||||
return thePurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPurpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Contract::SetPurpose (const Handle(TCollection_HAsciiString) &aPurpose)
|
||||
{
|
||||
thePurpose = aPurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Kind
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ContractType) StepBasic_Contract::Kind () const
|
||||
{
|
||||
return theKind;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetKind
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Contract::SetKind (const Handle(StepBasic_ContractType) &aKind)
|
||||
{
|
||||
theKind = aKind;
|
||||
}
|
30
src/StepBasic/StepBasic_ContractAssignment.cdl
Executable file
30
src/StepBasic/StepBasic_ContractAssignment.cdl
Executable file
@@ -0,0 +1,30 @@
|
||||
-- File: StepBasic_ContractAssignment.cdl
|
||||
-- Created: Fri Nov 26 16:26:37 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ContractAssignment from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ContractAssignment
|
||||
|
||||
uses
|
||||
Contract from StepBasic
|
||||
|
||||
is
|
||||
Create returns ContractAssignment from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aAssignedContract: Contract from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
AssignedContract (me) returns Contract from StepBasic;
|
||||
---Purpose: Returns field AssignedContract
|
||||
SetAssignedContract (me: mutable; AssignedContract: Contract from StepBasic);
|
||||
---Purpose: Set field AssignedContract
|
||||
|
||||
fields
|
||||
theAssignedContract: Contract from StepBasic;
|
||||
|
||||
end ContractAssignment;
|
47
src/StepBasic/StepBasic_ContractAssignment.cxx
Executable file
47
src/StepBasic/StepBasic_ContractAssignment.cxx
Executable file
@@ -0,0 +1,47 @@
|
||||
// File: StepBasic_ContractAssignment.cxx
|
||||
// Created: Fri Nov 26 16:26:37 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_ContractAssignment.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_ContractAssignment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_ContractAssignment::StepBasic_ContractAssignment ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ContractAssignment::Init (const Handle(StepBasic_Contract) &aAssignedContract)
|
||||
{
|
||||
|
||||
theAssignedContract = aAssignedContract;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AssignedContract
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_Contract) StepBasic_ContractAssignment::AssignedContract () const
|
||||
{
|
||||
return theAssignedContract;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetAssignedContract
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ContractAssignment::SetAssignedContract (const Handle(StepBasic_Contract) &aAssignedContract)
|
||||
{
|
||||
theAssignedContract = aAssignedContract;
|
||||
}
|
30
src/StepBasic/StepBasic_ContractType.cdl
Executable file
30
src/StepBasic/StepBasic_ContractType.cdl
Executable file
@@ -0,0 +1,30 @@
|
||||
-- File: StepBasic_ContractType.cdl
|
||||
-- Created: Fri Nov 26 16:26:37 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ContractType from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ContractType
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
Create returns ContractType from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDescription: HAsciiString from TCollection);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Description
|
||||
SetDescription (me: mutable; Description: HAsciiString from TCollection);
|
||||
---Purpose: Set field Description
|
||||
|
||||
fields
|
||||
theDescription: HAsciiString from TCollection;
|
||||
|
||||
end ContractType;
|
47
src/StepBasic/StepBasic_ContractType.cxx
Executable file
47
src/StepBasic/StepBasic_ContractType.cxx
Executable file
@@ -0,0 +1,47 @@
|
||||
// File: StepBasic_ContractType.cxx
|
||||
// Created: Fri Nov 26 16:26:37 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepBasic_ContractType.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_ContractType
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_ContractType::StepBasic_ContractType ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ContractType::Init (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ContractType::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ContractType::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
42
src/StepBasic/StepBasic_ConversionBasedUnit.cdl
Executable file
42
src/StepBasic/StepBasic_ConversionBasedUnit.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: ConversionBasedUnit.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ConversionBasedUnit from StepBasic
|
||||
|
||||
inherits NamedUnit from StepBasic
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
MeasureWithUnit from StepBasic,
|
||||
DimensionalExponents from StepBasic
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnit;
|
||||
---Purpose: Returns a ConversionBasedUnit
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aDimensions : mutable DimensionalExponents from StepBasic) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aDimensions : mutable DimensionalExponents from StepBasic;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aConversionFactor : mutable MeasureWithUnit from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetConversionFactor(me : mutable; aConversionFactor : mutable MeasureWithUnit);
|
||||
ConversionFactor (me) returns mutable MeasureWithUnit;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
conversionFactor : MeasureWithUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnit;
|
44
src/StepBasic/StepBasic_ConversionBasedUnit.cxx
Executable file
44
src/StepBasic/StepBasic_ConversionBasedUnit.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepBasic_ConversionBasedUnit.ixx>
|
||||
|
||||
|
||||
StepBasic_ConversionBasedUnit::StepBasic_ConversionBasedUnit () {}
|
||||
|
||||
void StepBasic_ConversionBasedUnit::Init(
|
||||
const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnit::Init(
|
||||
const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
conversionFactor = aConversionFactor;
|
||||
// --- classe inherited fields ---
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnit::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_ConversionBasedUnit::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnit::SetConversionFactor(const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
conversionFactor = aConversionFactor;
|
||||
}
|
||||
|
||||
Handle(StepBasic_MeasureWithUnit) StepBasic_ConversionBasedUnit::ConversionFactor() const
|
||||
{
|
||||
return conversionFactor;
|
||||
}
|
29
src/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cdl
Executable file
29
src/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cdl
Executable file
@@ -0,0 +1,29 @@
|
||||
-- File: StepBasic_ConversionBasedUnitAndAreaUnit.cdl
|
||||
-- Created: Tue Oct 12 13:17:00 1999
|
||||
-- Author: data exchange team
|
||||
-- <det@friendox>
|
||||
---Copyright: Matra Datavision 1999
|
||||
|
||||
|
||||
class ConversionBasedUnitAndAreaUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
---Purpose:
|
||||
|
||||
uses
|
||||
|
||||
AreaUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndAreaUnit from StepBasic;
|
||||
---Purpose: Returns a ConversionBasedUnitAndAreaUnit
|
||||
|
||||
SetAreaUnit(me: mutable; anAreaUnit: mutable AreaUnit from StepBasic);
|
||||
|
||||
AreaUnit(me) returns mutable AreaUnit from StepBasic;
|
||||
|
||||
fields
|
||||
|
||||
areaUnit: AreaUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndAreaUnit;
|
21
src/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cxx
Executable file
21
src/StepBasic/StepBasic_ConversionBasedUnitAndAreaUnit.cxx
Executable file
@@ -0,0 +1,21 @@
|
||||
// File: StepBasic_ConversionBasedUnitAndAreaUnit.cxx
|
||||
// Created: Tue Oct 12 13:20:03 1999
|
||||
// Author: data exchange team
|
||||
// <det@friendox>
|
||||
|
||||
|
||||
#include <StepBasic_ConversionBasedUnitAndAreaUnit.ixx>
|
||||
|
||||
StepBasic_ConversionBasedUnitAndAreaUnit::StepBasic_ConversionBasedUnitAndAreaUnit()
|
||||
{
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndAreaUnit::SetAreaUnit(const Handle(StepBasic_AreaUnit)& anAreaUnit)
|
||||
{
|
||||
areaUnit = anAreaUnit;
|
||||
}
|
||||
|
||||
Handle(StepBasic_AreaUnit) StepBasic_ConversionBasedUnitAndAreaUnit::AreaUnit() const
|
||||
{
|
||||
return areaUnit;
|
||||
}
|
42
src/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cdl
Executable file
42
src/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: ConversionBasedUnitAndLengthUnit.cdl
|
||||
-- Created: Fri Dec 1 11:11:34 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ConversionBasedUnitAndLengthUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
--- This classe is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
LengthUnit from StepBasic,
|
||||
DimensionalExponents from StepBasic,
|
||||
HAsciiString from TCollection,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndLengthUnit;
|
||||
---Purpose: Returns a ConversionBasedUnitAndLengthUnit
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic)
|
||||
is redefined;
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aConversionFactor: mutable MeasureWithUnit from StepBasic) is redefined;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetLengthUnit(me: mutable; aLengthUnit: mutable LengthUnit);
|
||||
|
||||
LengthUnit (me) returns mutable LengthUnit;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
fields
|
||||
|
||||
lengthUnit: LengthUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndLengthUnit;
|
36
src/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx
Executable file
36
src/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx
Executable file
@@ -0,0 +1,36 @@
|
||||
#include <StepBasic_ConversionBasedUnitAndLengthUnit.ixx>
|
||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||
#include <StepBasic_LengthUnit.hxx>
|
||||
|
||||
|
||||
StepBasic_ConversionBasedUnitAndLengthUnit::StepBasic_ConversionBasedUnitAndLengthUnit () {}
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndLengthUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndLengthUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
// --- ANDOR componant fields ---
|
||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
lengthUnit = new StepBasic_LengthUnit();
|
||||
lengthUnit->Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndLengthUnit::SetLengthUnit(const Handle(StepBasic_LengthUnit)& aLengthUnit)
|
||||
{
|
||||
lengthUnit = aLengthUnit;
|
||||
}
|
||||
|
||||
Handle(StepBasic_LengthUnit) StepBasic_ConversionBasedUnitAndLengthUnit::LengthUnit() const
|
||||
{
|
||||
return lengthUnit;
|
||||
}
|
||||
|
42
src/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cdl
Executable file
42
src/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: StepBasic_ConversionBasedUnitAndMassUnit.cdl
|
||||
-- Created: Thu Feb 10 11:56:15 2003
|
||||
-- Author: Sergey KUUL
|
||||
-- <skl@friendox>
|
||||
---Copyright: Matra Datavision 2003
|
||||
|
||||
class ConversionBasedUnitAndMassUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
--- This classe is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
MassUnit from StepBasic,
|
||||
DimensionalExponents from StepBasic,
|
||||
HAsciiString from TCollection,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndMassUnit;
|
||||
---Purpose: Returns a ConversionBasedUnitAndLengthUnit
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic)
|
||||
is redefined;
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aConversionFactor: mutable MeasureWithUnit from StepBasic) is redefined;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetMassUnit(me: mutable; aMassUnit: mutable MassUnit);
|
||||
|
||||
MassUnit (me) returns mutable MassUnit;
|
||||
|
||||
-- Specific Methods for ANDOR Field Data Access --
|
||||
|
||||
fields
|
||||
|
||||
massUnit: MassUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndMassUnit;
|
68
src/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx
Executable file
68
src/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx
Executable file
@@ -0,0 +1,68 @@
|
||||
#include <StepBasic_ConversionBasedUnitAndMassUnit.ixx>
|
||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||
#include <StepBasic_MassUnit.hxx>
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_ConversionBasedUnitAndMassUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_ConversionBasedUnitAndMassUnit::StepBasic_ConversionBasedUnitAndMassUnit ()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndMassUnit::Init
|
||||
(const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndMassUnit::Init
|
||||
(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
// --- ANDOR componant fields ---
|
||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
massUnit = new StepBasic_MassUnit();
|
||||
massUnit->Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMassUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndMassUnit::SetMassUnit
|
||||
(const Handle(StepBasic_MassUnit)& aMassUnit)
|
||||
{
|
||||
massUnit = aMassUnit;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : MassUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_MassUnit) StepBasic_ConversionBasedUnitAndMassUnit::MassUnit() const
|
||||
{
|
||||
return massUnit;
|
||||
}
|
||||
|
40
src/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cdl
Executable file
40
src/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: ConversionBasedUnitAndPlaneAngleUnit.cdl
|
||||
-- Created: Fri Dec 1 11:11:34 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ConversionBasedUnitAndPlaneAngleUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
--- This classe is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
PlaneAngleUnit from StepBasic,
|
||||
DimensionalExponents from StepBasic,
|
||||
HAsciiString from TCollection,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndPlaneAngleUnit;
|
||||
---Purpose: Returns a ConversionBasedUnitAndPlaneAngleUnit
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic)
|
||||
is redefined;
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aConversionFactor: mutable MeasureWithUnit from StepBasic) is redefined;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetPlaneAngleUnit(me: mutable; aPlaneAngleUnit: mutable PlaneAngleUnit);
|
||||
|
||||
PlaneAngleUnit (me) returns mutable PlaneAngleUnit;
|
||||
|
||||
fields
|
||||
|
||||
planeAngleUnit: PlaneAngleUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndPlaneAngleUnit;
|
38
src/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx
Executable file
38
src/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
#include <StepBasic_ConversionBasedUnitAndPlaneAngleUnit.ixx>
|
||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||
#include <StepBasic_PlaneAngleUnit.hxx>
|
||||
|
||||
|
||||
StepBasic_ConversionBasedUnitAndPlaneAngleUnit::StepBasic_ConversionBasedUnitAndPlaneAngleUnit ()
|
||||
{
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
// --- ANDOR componant fields ---
|
||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
planeAngleUnit = new StepBasic_PlaneAngleUnit();
|
||||
planeAngleUnit->Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::SetPlaneAngleUnit(const Handle(StepBasic_PlaneAngleUnit)& aPlaneAngleUnit)
|
||||
{
|
||||
planeAngleUnit = aPlaneAngleUnit;
|
||||
}
|
||||
|
||||
Handle(StepBasic_PlaneAngleUnit) StepBasic_ConversionBasedUnitAndPlaneAngleUnit::PlaneAngleUnit() const
|
||||
{
|
||||
return planeAngleUnit;
|
||||
}
|
||||
|
40
src/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cdl
Executable file
40
src/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: ConversionBasedUnitAndRatioUnit.cdl
|
||||
-- Created: Fri Jun 17 11:43:44 1994
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ConversionBasedUnitAndRatioUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
--- This class is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
RatioUnit from StepBasic,
|
||||
DimensionalExponents from StepBasic,
|
||||
HAsciiString from TCollection,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndRatioUnit;
|
||||
---Purpose: Returns a ConversionBasedUnitAndRatioUnit
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic)
|
||||
is redefined;
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aConversionFactor: mutable MeasureWithUnit from StepBasic) is redefined;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetRatioUnit(me: mutable; aRatioUnit: mutable RatioUnit);
|
||||
|
||||
RatioUnit (me) returns mutable RatioUnit;
|
||||
|
||||
fields
|
||||
|
||||
ratioUnit : RatioUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndRatioUnit;
|
37
src/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx
Executable file
37
src/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx
Executable file
@@ -0,0 +1,37 @@
|
||||
#include <StepBasic_ConversionBasedUnitAndRatioUnit.ixx>
|
||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||
#include <StepBasic_RatioUnit.hxx>
|
||||
|
||||
|
||||
StepBasic_ConversionBasedUnitAndRatioUnit::StepBasic_ConversionBasedUnitAndRatioUnit ()
|
||||
{
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndRatioUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndRatioUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
// --- ANDOR componant fields ---
|
||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
ratioUnit = new StepBasic_RatioUnit();
|
||||
ratioUnit->Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndRatioUnit::SetRatioUnit(const Handle(StepBasic_RatioUnit)& aRatioUnit)
|
||||
{
|
||||
ratioUnit = aRatioUnit;
|
||||
}
|
||||
|
||||
Handle(StepBasic_RatioUnit) StepBasic_ConversionBasedUnitAndRatioUnit::RatioUnit() const
|
||||
{
|
||||
return ratioUnit;
|
||||
}
|
41
src/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cdl
Executable file
41
src/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: ConversionBasedUnitAndSolidAngleUnit.cdl
|
||||
-- Created: Fri Jun 17 11:43:44 1994
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ConversionBasedUnitAndSolidAngleUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
--- This class is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
SolidAngleUnit from StepBasic,
|
||||
DimensionalExponents from StepBasic,
|
||||
HAsciiString from TCollection,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndSolidAngleUnit;
|
||||
---Purpose: Returns a ConversionBasedUnitAndSolidAngleUnit
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic)
|
||||
is redefined;
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aConversionFactor: mutable MeasureWithUnit from StepBasic)is redefined;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetSolidAngleUnit(me: mutable; aSolidAngleUnit: mutable SolidAngleUnit);
|
||||
|
||||
SolidAngleUnit (me) returns mutable SolidAngleUnit;
|
||||
|
||||
|
||||
fields
|
||||
|
||||
solidAngleUnit: SolidAngleUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndSolidAngleUnit;
|
38
src/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx
Executable file
38
src/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
#include <StepBasic_ConversionBasedUnitAndSolidAngleUnit.ixx>
|
||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||
#include <StepBasic_SolidAngleUnit.hxx>
|
||||
|
||||
|
||||
StepBasic_ConversionBasedUnitAndSolidAngleUnit::StepBasic_ConversionBasedUnitAndSolidAngleUnit ()
|
||||
{
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndSolidAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndSolidAngleUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
// --- ANDOR componant fields ---
|
||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
solidAngleUnit = new StepBasic_SolidAngleUnit();
|
||||
solidAngleUnit->Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndSolidAngleUnit::SetSolidAngleUnit(const Handle(StepBasic_SolidAngleUnit)& aSolidAngleUnit)
|
||||
{
|
||||
solidAngleUnit = aSolidAngleUnit;
|
||||
}
|
||||
|
||||
Handle(StepBasic_SolidAngleUnit) StepBasic_ConversionBasedUnitAndSolidAngleUnit::SolidAngleUnit() const
|
||||
{
|
||||
return solidAngleUnit;
|
||||
}
|
||||
|
41
src/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cdl
Executable file
41
src/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: ConversionBasedUnitAndTimeUnit.cdl
|
||||
-- Created: Fri Jun 17 11:43:44 1994
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ConversionBasedUnitAndTimeUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
--- This class is an implementation of EXPRESS
|
||||
-- ANDOR Subtype Declaration.
|
||||
uses
|
||||
|
||||
TimeUnit from StepBasic,
|
||||
DimensionalExponents from StepBasic,
|
||||
HAsciiString from TCollection,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndTimeUnit;
|
||||
---Purpose: Returns a ConversionBasedUnitAndTimeUnit
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic) is redefined;
|
||||
|
||||
|
||||
Init (me: mutable; aDimensions: mutable DimensionalExponents from StepBasic;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aConversionFactor: mutable MeasureWithUnit from StepBasic) is redefined;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetTimeUnit(me: mutable; aTimeUnit: mutable TimeUnit);
|
||||
|
||||
TimeUnit (me) returns mutable TimeUnit;
|
||||
|
||||
|
||||
fields
|
||||
|
||||
timeUnit: TimeUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndTimeUnit;
|
38
src/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx
Executable file
38
src/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx
Executable file
@@ -0,0 +1,38 @@
|
||||
#include <StepBasic_ConversionBasedUnitAndTimeUnit.ixx>
|
||||
#include <StepBasic_ConversionBasedUnit.hxx>
|
||||
#include <StepBasic_TimeUnit.hxx>
|
||||
|
||||
|
||||
StepBasic_ConversionBasedUnitAndTimeUnit::StepBasic_ConversionBasedUnitAndTimeUnit ()
|
||||
{
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndTimeUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions)
|
||||
{
|
||||
StepBasic_NamedUnit::Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndTimeUnit::Init(const Handle(StepBasic_DimensionalExponents)& aDimensions,
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
|
||||
{
|
||||
// --- ANDOR componant fields ---
|
||||
StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
|
||||
|
||||
// --- ANDOR componant fields ---
|
||||
timeUnit = new StepBasic_TimeUnit();
|
||||
timeUnit->Init(aDimensions);
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndTimeUnit::SetTimeUnit(const Handle(StepBasic_TimeUnit)& aTimeUnit)
|
||||
{
|
||||
timeUnit = aTimeUnit;
|
||||
}
|
||||
|
||||
Handle(StepBasic_TimeUnit) StepBasic_ConversionBasedUnitAndTimeUnit::TimeUnit() const
|
||||
{
|
||||
return timeUnit;
|
||||
}
|
||||
|
29
src/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cdl
Executable file
29
src/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cdl
Executable file
@@ -0,0 +1,29 @@
|
||||
-- File: StepBasic_ConversionBasedUnitAndVolumeUnit.cdl
|
||||
-- Created: Tue Oct 12 13:21:11 1999
|
||||
-- Author: data exchange team
|
||||
-- <det@friendox>
|
||||
---Copyright: Matra Datavision 1999
|
||||
|
||||
|
||||
class ConversionBasedUnitAndVolumeUnit from StepBasic inherits ConversionBasedUnit from StepBasic
|
||||
|
||||
---Purpose:
|
||||
|
||||
uses
|
||||
|
||||
VolumeUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ConversionBasedUnitAndVolumeUnit from StepBasic;
|
||||
---Purpose: Returns a ConversionBasedUnitAndVolumeUnit
|
||||
|
||||
SetVolumeUnit(me: mutable; aVolumeUnit: mutable VolumeUnit from StepBasic);
|
||||
|
||||
VolumeUnit(me) returns mutable VolumeUnit from StepBasic;
|
||||
|
||||
fields
|
||||
|
||||
volumeUnit: VolumeUnit from StepBasic;
|
||||
|
||||
end ConversionBasedUnitAndVolumeUnit;
|
22
src/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cxx
Executable file
22
src/StepBasic/StepBasic_ConversionBasedUnitAndVolumeUnit.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
// File: StepBasic_ConversionBasedUnitAndVolumeUnit.cxx
|
||||
// Created: Tue Oct 12 13:26:11 1999
|
||||
// Author: data exchange team
|
||||
// <det@friendox>
|
||||
|
||||
|
||||
#include <StepBasic_ConversionBasedUnitAndVolumeUnit.ixx>
|
||||
|
||||
StepBasic_ConversionBasedUnitAndVolumeUnit::StepBasic_ConversionBasedUnitAndVolumeUnit()
|
||||
{
|
||||
}
|
||||
|
||||
void StepBasic_ConversionBasedUnitAndVolumeUnit::SetVolumeUnit(const Handle(StepBasic_VolumeUnit)& aVolumeUnit)
|
||||
{
|
||||
volumeUnit = aVolumeUnit;
|
||||
}
|
||||
|
||||
Handle(StepBasic_VolumeUnit) StepBasic_ConversionBasedUnitAndVolumeUnit::VolumeUnit() const
|
||||
{
|
||||
return volumeUnit;
|
||||
}
|
||||
|
45
src/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cdl
Executable file
45
src/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: CoordinatedUniversalTimeOffset.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class CoordinatedUniversalTimeOffset from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
Integer from Standard,
|
||||
AheadOrBehind from StepBasic,
|
||||
Boolean from Standard
|
||||
is
|
||||
|
||||
Create returns mutable CoordinatedUniversalTimeOffset;
|
||||
---Purpose: Returns a CoordinatedUniversalTimeOffset
|
||||
|
||||
Init (me : mutable;
|
||||
aHourOffset : Integer from Standard;
|
||||
hasAminuteOffset : Boolean from Standard;
|
||||
aMinuteOffset : Integer from Standard;
|
||||
aSense : AheadOrBehind from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetHourOffset(me : mutable; aHourOffset : Integer);
|
||||
HourOffset (me) returns Integer;
|
||||
SetMinuteOffset(me : mutable; aMinuteOffset : Integer);
|
||||
UnSetMinuteOffset (me:mutable);
|
||||
MinuteOffset (me) returns Integer;
|
||||
HasMinuteOffset (me) returns Boolean;
|
||||
SetSense(me : mutable; aSense : AheadOrBehind);
|
||||
Sense (me) returns AheadOrBehind;
|
||||
|
||||
fields
|
||||
|
||||
hourOffset : Integer from Standard;
|
||||
minuteOffset : Integer from Standard; -- OPTIONAL can be NULL
|
||||
sense : AheadOrBehind from StepBasic; -- an Enumeration
|
||||
hasMinuteOffset : Boolean from Standard;
|
||||
|
||||
end CoordinatedUniversalTimeOffset;
|
59
src/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cxx
Executable file
59
src/StepBasic/StepBasic_CoordinatedUniversalTimeOffset.cxx
Executable file
@@ -0,0 +1,59 @@
|
||||
#include <StepBasic_CoordinatedUniversalTimeOffset.ixx>
|
||||
|
||||
|
||||
StepBasic_CoordinatedUniversalTimeOffset::StepBasic_CoordinatedUniversalTimeOffset () {}
|
||||
|
||||
void StepBasic_CoordinatedUniversalTimeOffset::Init(
|
||||
const Standard_Integer aHourOffset,
|
||||
const Standard_Boolean hasAminuteOffset,
|
||||
const Standard_Integer aMinuteOffset,
|
||||
const StepBasic_AheadOrBehind aSense)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
hourOffset = aHourOffset;
|
||||
hasMinuteOffset = hasAminuteOffset;
|
||||
minuteOffset = aMinuteOffset;
|
||||
sense = aSense;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_CoordinatedUniversalTimeOffset::SetHourOffset(const Standard_Integer aHourOffset)
|
||||
{
|
||||
hourOffset = aHourOffset;
|
||||
}
|
||||
|
||||
Standard_Integer StepBasic_CoordinatedUniversalTimeOffset::HourOffset() const
|
||||
{
|
||||
return hourOffset;
|
||||
}
|
||||
|
||||
void StepBasic_CoordinatedUniversalTimeOffset::SetMinuteOffset(const Standard_Integer aMinuteOffset)
|
||||
{
|
||||
minuteOffset = aMinuteOffset;
|
||||
hasMinuteOffset = Standard_True;
|
||||
}
|
||||
|
||||
void StepBasic_CoordinatedUniversalTimeOffset::UnSetMinuteOffset()
|
||||
{
|
||||
hasMinuteOffset = Standard_False;
|
||||
}
|
||||
|
||||
Standard_Integer StepBasic_CoordinatedUniversalTimeOffset::MinuteOffset() const
|
||||
{
|
||||
return minuteOffset;
|
||||
}
|
||||
|
||||
Standard_Boolean StepBasic_CoordinatedUniversalTimeOffset::HasMinuteOffset() const
|
||||
{
|
||||
return hasMinuteOffset;
|
||||
}
|
||||
|
||||
void StepBasic_CoordinatedUniversalTimeOffset::SetSense(const StepBasic_AheadOrBehind aSense)
|
||||
{
|
||||
sense = aSense;
|
||||
}
|
||||
|
||||
StepBasic_AheadOrBehind StepBasic_CoordinatedUniversalTimeOffset::Sense() const
|
||||
{
|
||||
return sense;
|
||||
}
|
31
src/StepBasic/StepBasic_Date.cdl
Executable file
31
src/StepBasic/StepBasic_Date.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: Date.cdl
|
||||
-- Created: Fri Dec 1 11:11:17 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Date from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
Integer from Standard
|
||||
is
|
||||
|
||||
Create returns mutable Date;
|
||||
---Purpose: Returns a Date
|
||||
|
||||
Init (me : mutable;
|
||||
aYearComponent : Integer from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetYearComponent(me : mutable; aYearComponent : Integer);
|
||||
YearComponent (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
yearComponent : Integer from Standard;
|
||||
|
||||
end Date;
|
22
src/StepBasic/StepBasic_Date.cxx
Executable file
22
src/StepBasic/StepBasic_Date.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepBasic_Date.ixx>
|
||||
|
||||
|
||||
StepBasic_Date::StepBasic_Date () {}
|
||||
|
||||
void StepBasic_Date::Init(
|
||||
const Standard_Integer aYearComponent)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
yearComponent = aYearComponent;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_Date::SetYearComponent(const Standard_Integer aYearComponent)
|
||||
{
|
||||
yearComponent = aYearComponent;
|
||||
}
|
||||
|
||||
Standard_Integer StepBasic_Date::YearComponent() const
|
||||
{
|
||||
return yearComponent;
|
||||
}
|
36
src/StepBasic/StepBasic_DateAndTime.cdl
Executable file
36
src/StepBasic/StepBasic_DateAndTime.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: DateAndTime.cdl
|
||||
-- Created: Fri Dec 1 11:11:18 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DateAndTime from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
Date from StepBasic,
|
||||
LocalTime from StepBasic
|
||||
is
|
||||
|
||||
Create returns mutable DateAndTime;
|
||||
---Purpose: Returns a DateAndTime
|
||||
|
||||
Init (me : mutable;
|
||||
aDateComponent : mutable Date from StepBasic;
|
||||
aTimeComponent : mutable LocalTime from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetDateComponent(me : mutable; aDateComponent : mutable Date);
|
||||
DateComponent (me) returns mutable Date;
|
||||
SetTimeComponent(me : mutable; aTimeComponent : mutable LocalTime);
|
||||
TimeComponent (me) returns mutable LocalTime;
|
||||
|
||||
fields
|
||||
|
||||
dateComponent : Date from StepBasic;
|
||||
timeComponent : LocalTime from StepBasic;
|
||||
|
||||
end DateAndTime;
|
34
src/StepBasic/StepBasic_DateAndTime.cxx
Executable file
34
src/StepBasic/StepBasic_DateAndTime.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepBasic_DateAndTime.ixx>
|
||||
|
||||
|
||||
StepBasic_DateAndTime::StepBasic_DateAndTime () {}
|
||||
|
||||
void StepBasic_DateAndTime::Init(
|
||||
const Handle(StepBasic_Date)& aDateComponent,
|
||||
const Handle(StepBasic_LocalTime)& aTimeComponent)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
dateComponent = aDateComponent;
|
||||
timeComponent = aTimeComponent;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_DateAndTime::SetDateComponent(const Handle(StepBasic_Date)& aDateComponent)
|
||||
{
|
||||
dateComponent = aDateComponent;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Date) StepBasic_DateAndTime::DateComponent() const
|
||||
{
|
||||
return dateComponent;
|
||||
}
|
||||
|
||||
void StepBasic_DateAndTime::SetTimeComponent(const Handle(StepBasic_LocalTime)& aTimeComponent)
|
||||
{
|
||||
timeComponent = aTimeComponent;
|
||||
}
|
||||
|
||||
Handle(StepBasic_LocalTime) StepBasic_DateAndTime::TimeComponent() const
|
||||
{
|
||||
return timeComponent;
|
||||
}
|
33
src/StepBasic/StepBasic_DateAndTimeAssignment.cdl
Executable file
33
src/StepBasic/StepBasic_DateAndTimeAssignment.cdl
Executable file
@@ -0,0 +1,33 @@
|
||||
-- File: DateAndTimeAssignment.cdl
|
||||
-- Created: Fri Dec 1 11:11:18 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
deferred class DateAndTimeAssignment from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
DateAndTime from StepBasic,
|
||||
DateTimeRole from StepBasic
|
||||
is
|
||||
|
||||
Init (me : mutable;
|
||||
aAssignedDateAndTime : mutable DateAndTime from StepBasic;
|
||||
aRole : mutable DateTimeRole from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetAssignedDateAndTime(me : mutable; aAssignedDateAndTime : mutable DateAndTime);
|
||||
AssignedDateAndTime (me) returns mutable DateAndTime;
|
||||
SetRole(me : mutable; aRole : mutable DateTimeRole);
|
||||
Role (me) returns mutable DateTimeRole;
|
||||
|
||||
fields
|
||||
|
||||
assignedDateAndTime : DateAndTime from StepBasic;
|
||||
role : DateTimeRole from StepBasic;
|
||||
|
||||
end DateAndTimeAssignment;
|
31
src/StepBasic/StepBasic_DateAndTimeAssignment.cxx
Executable file
31
src/StepBasic/StepBasic_DateAndTimeAssignment.cxx
Executable file
@@ -0,0 +1,31 @@
|
||||
#include <StepBasic_DateAndTimeAssignment.ixx>
|
||||
|
||||
void StepBasic_DateAndTimeAssignment::Init(
|
||||
const Handle(StepBasic_DateAndTime)& aAssignedDateAndTime,
|
||||
const Handle(StepBasic_DateTimeRole)& aRole)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
assignedDateAndTime = aAssignedDateAndTime;
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_DateAndTimeAssignment::SetAssignedDateAndTime(const Handle(StepBasic_DateAndTime)& aAssignedDateAndTime)
|
||||
{
|
||||
assignedDateAndTime = aAssignedDateAndTime;
|
||||
}
|
||||
|
||||
Handle(StepBasic_DateAndTime) StepBasic_DateAndTimeAssignment::AssignedDateAndTime() const
|
||||
{
|
||||
return assignedDateAndTime;
|
||||
}
|
||||
|
||||
void StepBasic_DateAndTimeAssignment::SetRole(const Handle(StepBasic_DateTimeRole)& aRole)
|
||||
{
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
Handle(StepBasic_DateTimeRole) StepBasic_DateAndTimeAssignment::Role() const
|
||||
{
|
||||
return role;
|
||||
}
|
33
src/StepBasic/StepBasic_DateAssignment.cdl
Executable file
33
src/StepBasic/StepBasic_DateAssignment.cdl
Executable file
@@ -0,0 +1,33 @@
|
||||
-- File: DateAssignment.cdl
|
||||
-- Created: Fri Dec 1 11:11:18 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
deferred class DateAssignment from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
Date from StepBasic,
|
||||
DateRole from StepBasic
|
||||
is
|
||||
|
||||
Init (me : mutable;
|
||||
aAssignedDate : mutable Date from StepBasic;
|
||||
aRole : mutable DateRole from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetAssignedDate(me : mutable; aAssignedDate : mutable Date);
|
||||
AssignedDate (me) returns mutable Date;
|
||||
SetRole(me : mutable; aRole : mutable DateRole);
|
||||
Role (me) returns mutable DateRole;
|
||||
|
||||
fields
|
||||
|
||||
assignedDate : Date from StepBasic;
|
||||
role : DateRole from StepBasic;
|
||||
|
||||
end DateAssignment;
|
31
src/StepBasic/StepBasic_DateAssignment.cxx
Executable file
31
src/StepBasic/StepBasic_DateAssignment.cxx
Executable file
@@ -0,0 +1,31 @@
|
||||
#include <StepBasic_DateAssignment.ixx>
|
||||
|
||||
void StepBasic_DateAssignment::Init(
|
||||
const Handle(StepBasic_Date)& aAssignedDate,
|
||||
const Handle(StepBasic_DateRole)& aRole)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
assignedDate = aAssignedDate;
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_DateAssignment::SetAssignedDate(const Handle(StepBasic_Date)& aAssignedDate)
|
||||
{
|
||||
assignedDate = aAssignedDate;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Date) StepBasic_DateAssignment::AssignedDate() const
|
||||
{
|
||||
return assignedDate;
|
||||
}
|
||||
|
||||
void StepBasic_DateAssignment::SetRole(const Handle(StepBasic_DateRole)& aRole)
|
||||
{
|
||||
role = aRole;
|
||||
}
|
||||
|
||||
Handle(StepBasic_DateRole) StepBasic_DateAssignment::Role() const
|
||||
{
|
||||
return role;
|
||||
}
|
31
src/StepBasic/StepBasic_DateRole.cdl
Executable file
31
src/StepBasic/StepBasic_DateRole.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: DateRole.cdl
|
||||
-- Created: Fri Dec 1 11:11:18 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DateRole from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable DateRole;
|
||||
---Purpose: Returns a DateRole
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
|
||||
end DateRole;
|
22
src/StepBasic/StepBasic_DateRole.cxx
Executable file
22
src/StepBasic/StepBasic_DateRole.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepBasic_DateRole.ixx>
|
||||
|
||||
|
||||
StepBasic_DateRole::StepBasic_DateRole () {}
|
||||
|
||||
void StepBasic_DateRole::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_DateRole::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_DateRole::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
31
src/StepBasic/StepBasic_DateTimeRole.cdl
Executable file
31
src/StepBasic/StepBasic_DateTimeRole.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: DateTimeRole.cdl
|
||||
-- Created: Fri Dec 1 11:11:18 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DateTimeRole from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable DateTimeRole;
|
||||
---Purpose: Returns a DateTimeRole
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
|
||||
end DateTimeRole;
|
22
src/StepBasic/StepBasic_DateTimeRole.cxx
Executable file
22
src/StepBasic/StepBasic_DateTimeRole.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepBasic_DateTimeRole.ixx>
|
||||
|
||||
|
||||
StepBasic_DateTimeRole::StepBasic_DateTimeRole () {}
|
||||
|
||||
void StepBasic_DateTimeRole::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_DateTimeRole::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_DateTimeRole::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
41
src/StepBasic/StepBasic_DateTimeSelect.cdl
Executable file
41
src/StepBasic/StepBasic_DateTimeSelect.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: DateTimeSelect.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class DateTimeSelect from StepBasic inherits SelectType from StepData
|
||||
|
||||
-- <DateTimeSelect> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : Date, LocalTime, DateAndTime
|
||||
|
||||
uses
|
||||
|
||||
Date,
|
||||
LocalTime,
|
||||
DateAndTime
|
||||
is
|
||||
|
||||
Create returns DateTimeSelect;
|
||||
---Purpose : Returns a DateTimeSelect SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a DateTimeSelect Kind Entity that is :
|
||||
-- 1 -> Date
|
||||
-- 2 -> LocalTime
|
||||
-- 3 -> DateAndTime
|
||||
-- 0 else
|
||||
|
||||
Date (me) returns any Date;
|
||||
---Purpose : returns Value as a Date (Null if another type)
|
||||
|
||||
LocalTime (me) returns any LocalTime;
|
||||
---Purpose : returns Value as a LocalTime (Null if another type)
|
||||
|
||||
DateAndTime (me) returns any DateAndTime;
|
||||
---Purpose : returns Value as a DateAndTime (Null if another type)
|
||||
|
||||
|
||||
end DateTimeSelect;
|
||||
|
29
src/StepBasic/StepBasic_DateTimeSelect.cxx
Executable file
29
src/StepBasic/StepBasic_DateTimeSelect.cxx
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
#include <StepBasic_DateTimeSelect.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepBasic_DateTimeSelect::StepBasic_DateTimeSelect () { }
|
||||
|
||||
Standard_Integer StepBasic_DateTimeSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_Date))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_LocalTime))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_DateAndTime))) return 3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepBasic_Date) StepBasic_DateTimeSelect::Date () const
|
||||
{
|
||||
return GetCasted(StepBasic_Date,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_LocalTime) StepBasic_DateTimeSelect::LocalTime () const
|
||||
{
|
||||
return GetCasted(StepBasic_LocalTime,Value());
|
||||
}
|
||||
|
||||
Handle(StepBasic_DateAndTime) StepBasic_DateTimeSelect::DateAndTime () const
|
||||
{
|
||||
return GetCasted(StepBasic_DateAndTime,Value());
|
||||
}
|
31
src/StepBasic/StepBasic_DerivedUnit.cdl
Executable file
31
src/StepBasic/StepBasic_DerivedUnit.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: StepBasic_DerivedUnit.cdl
|
||||
-- Created: Wed Mar 26 14:24:04 1997
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
class DerivedUnit from StepBasic inherits TShared
|
||||
|
||||
---Purpose : Added from StepBasic Rev2 to Rev4
|
||||
|
||||
uses
|
||||
DerivedUnitElement from StepBasic,
|
||||
HArray1OfDerivedUnitElement from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable DerivedUnit;
|
||||
|
||||
Init (me : mutable; elements : HArray1OfDerivedUnitElement from StepBasic);
|
||||
|
||||
SetElements (me : mutable; elements : HArray1OfDerivedUnitElement from StepBasic);
|
||||
Elements (me) returns HArray1OfDerivedUnitElement from StepBasic;
|
||||
NbElements (me) returns Integer;
|
||||
ElementsValue (me; num : Integer) returns DerivedUnitElement from StepBasic;
|
||||
|
||||
fields
|
||||
|
||||
theElements : HArray1OfDerivedUnitElement from StepBasic;
|
||||
|
||||
end DerivedUnit;
|
18
src/StepBasic/StepBasic_DerivedUnit.cxx
Executable file
18
src/StepBasic/StepBasic_DerivedUnit.cxx
Executable file
@@ -0,0 +1,18 @@
|
||||
#include <StepBasic_DerivedUnit.ixx>
|
||||
|
||||
StepBasic_DerivedUnit::StepBasic_DerivedUnit () { }
|
||||
|
||||
void StepBasic_DerivedUnit::Init (const Handle(StepBasic_HArray1OfDerivedUnitElement)& elements)
|
||||
{ theElements = elements; }
|
||||
|
||||
void StepBasic_DerivedUnit::SetElements (const Handle(StepBasic_HArray1OfDerivedUnitElement)& elements)
|
||||
{ theElements = elements; }
|
||||
|
||||
Handle(StepBasic_HArray1OfDerivedUnitElement) StepBasic_DerivedUnit::Elements () const
|
||||
{ return theElements; }
|
||||
|
||||
Standard_Integer StepBasic_DerivedUnit::NbElements () const
|
||||
{ return theElements->Length(); }
|
||||
|
||||
Handle(StepBasic_DerivedUnitElement) StepBasic_DerivedUnit::ElementsValue (const Standard_Integer num) const
|
||||
{ return theElements->Value(num); }
|
32
src/StepBasic/StepBasic_DerivedUnitElement.cdl
Executable file
32
src/StepBasic/StepBasic_DerivedUnitElement.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepBasic_DerivedUnitElement.cdl
|
||||
-- Created: Wed Mar 26 14:32:39 1997
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
class DerivedUnitElement from StepBasic inherits TShared
|
||||
|
||||
---Purpose : Added from StepBasic Rev2 to Rev4
|
||||
|
||||
uses
|
||||
NamedUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable DerivedUnitElement;
|
||||
|
||||
Init (me : mutable; aUnit : NamedUnit from StepBasic; aExponent : Real);
|
||||
|
||||
SetUnit (me : mutable; aUnit : NamedUnit from StepBasic);
|
||||
Unit (me) returns NamedUnit from StepBasic;
|
||||
|
||||
SetExponent (me : mutable; aExponent : Real);
|
||||
Exponent (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
theUnit : NamedUnit from StepBasic;
|
||||
theExponent : Real;
|
||||
|
||||
end DerivedUnitElement;
|
18
src/StepBasic/StepBasic_DerivedUnitElement.cxx
Executable file
18
src/StepBasic/StepBasic_DerivedUnitElement.cxx
Executable file
@@ -0,0 +1,18 @@
|
||||
#include <StepBasic_DerivedUnitElement.ixx>
|
||||
|
||||
StepBasic_DerivedUnitElement::StepBasic_DerivedUnitElement () { }
|
||||
|
||||
void StepBasic_DerivedUnitElement::Init (const Handle(StepBasic_NamedUnit)& aUnit, const Standard_Real aExponent)
|
||||
{ theUnit = aUnit; theExponent = aExponent; }
|
||||
|
||||
void StepBasic_DerivedUnitElement::SetUnit (const Handle(StepBasic_NamedUnit)& aUnit)
|
||||
{ theUnit = aUnit; }
|
||||
|
||||
Handle(StepBasic_NamedUnit) StepBasic_DerivedUnitElement::Unit () const
|
||||
{ return theUnit; }
|
||||
|
||||
void StepBasic_DerivedUnitElement::SetExponent (const Standard_Real aExponent)
|
||||
{ theExponent = aExponent; }
|
||||
|
||||
Standard_Real StepBasic_DerivedUnitElement::Exponent () const
|
||||
{ return theExponent; }
|
19
src/StepBasic/StepBasic_DesignContext.cdl
Executable file
19
src/StepBasic/StepBasic_DesignContext.cdl
Executable file
@@ -0,0 +1,19 @@
|
||||
-- File: StepBasic_DesignContext.cdl
|
||||
-- Created: Mon Oct 7 18:08:36 1996
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@freetax>
|
||||
---Copyright: Matra Datavision 1996
|
||||
|
||||
class DesignContext from StepBasic
|
||||
|
||||
inherits ProductDefinitionContext from StepBasic
|
||||
|
||||
---Purpose : class added to Schema AP214 around April 1996
|
||||
|
||||
uses Integer
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable DesignContext;
|
||||
|
||||
end DesignContext;
|
3
src/StepBasic/StepBasic_DesignContext.cxx
Executable file
3
src/StepBasic/StepBasic_DesignContext.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepBasic_DesignContext.ixx>
|
||||
|
||||
StepBasic_DesignContext::StepBasic_DesignContext () { }
|
17
src/StepBasic/StepBasic_DigitalDocument.cdl
Executable file
17
src/StepBasic/StepBasic_DigitalDocument.cdl
Executable file
@@ -0,0 +1,17 @@
|
||||
-- File: StepBasic_DigitalDocument.cdl
|
||||
-- Created: Tue Jun 30 14:42:56 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class DigitalDocument from StepBasic inherits Document from StepBasic
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable DigitalDocument;
|
||||
|
||||
end DigitalDocument;
|
3
src/StepBasic/StepBasic_DigitalDocument.cxx
Executable file
3
src/StepBasic/StepBasic_DigitalDocument.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepBasic_DigitalDocument.ixx>
|
||||
|
||||
StepBasic_DigitalDocument::StepBasic_DigitalDocument () { }
|
55
src/StepBasic/StepBasic_DimensionalExponents.cdl
Executable file
55
src/StepBasic/StepBasic_DimensionalExponents.cdl
Executable file
@@ -0,0 +1,55 @@
|
||||
-- File: DimensionalExponents.cdl
|
||||
-- Created: Fri Dec 1 11:11:19 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DimensionalExponents from StepBasic
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
Real from Standard
|
||||
is
|
||||
|
||||
Create returns mutable DimensionalExponents;
|
||||
---Purpose: Returns a DimensionalExponents
|
||||
|
||||
Init (me : mutable;
|
||||
aLengthExponent : Real from Standard;
|
||||
aMassExponent : Real from Standard;
|
||||
aTimeExponent : Real from Standard;
|
||||
aElectricCurrentExponent : Real from Standard;
|
||||
aThermodynamicTemperatureExponent : Real from Standard;
|
||||
aAmountOfSubstanceExponent : Real from Standard;
|
||||
aLuminousIntensityExponent : Real from Standard) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetLengthExponent(me : mutable; aLengthExponent : Real);
|
||||
LengthExponent (me) returns Real;
|
||||
SetMassExponent(me : mutable; aMassExponent : Real);
|
||||
MassExponent (me) returns Real;
|
||||
SetTimeExponent(me : mutable; aTimeExponent : Real);
|
||||
TimeExponent (me) returns Real;
|
||||
SetElectricCurrentExponent(me : mutable; aElectricCurrentExponent : Real);
|
||||
ElectricCurrentExponent (me) returns Real;
|
||||
SetThermodynamicTemperatureExponent(me : mutable; aThermodynamicTemperatureExponent : Real);
|
||||
ThermodynamicTemperatureExponent (me) returns Real;
|
||||
SetAmountOfSubstanceExponent(me : mutable; aAmountOfSubstanceExponent : Real);
|
||||
AmountOfSubstanceExponent (me) returns Real;
|
||||
SetLuminousIntensityExponent(me : mutable; aLuminousIntensityExponent : Real);
|
||||
LuminousIntensityExponent (me) returns Real;
|
||||
|
||||
fields
|
||||
|
||||
lengthExponent : Real from Standard;
|
||||
massExponent : Real from Standard;
|
||||
timeExponent : Real from Standard;
|
||||
electricCurrentExponent : Real from Standard;
|
||||
thermodynamicTemperatureExponent : Real from Standard;
|
||||
amountOfSubstanceExponent : Real from Standard;
|
||||
luminousIntensityExponent : Real from Standard;
|
||||
|
||||
end DimensionalExponents;
|
94
src/StepBasic/StepBasic_DimensionalExponents.cxx
Executable file
94
src/StepBasic/StepBasic_DimensionalExponents.cxx
Executable file
@@ -0,0 +1,94 @@
|
||||
#include <StepBasic_DimensionalExponents.ixx>
|
||||
|
||||
|
||||
StepBasic_DimensionalExponents::StepBasic_DimensionalExponents () {}
|
||||
|
||||
void StepBasic_DimensionalExponents::Init(
|
||||
const Standard_Real aLengthExponent,
|
||||
const Standard_Real aMassExponent,
|
||||
const Standard_Real aTimeExponent,
|
||||
const Standard_Real aElectricCurrentExponent,
|
||||
const Standard_Real aThermodynamicTemperatureExponent,
|
||||
const Standard_Real aAmountOfSubstanceExponent,
|
||||
const Standard_Real aLuminousIntensityExponent)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
lengthExponent = aLengthExponent;
|
||||
massExponent = aMassExponent;
|
||||
timeExponent = aTimeExponent;
|
||||
electricCurrentExponent = aElectricCurrentExponent;
|
||||
thermodynamicTemperatureExponent = aThermodynamicTemperatureExponent;
|
||||
amountOfSubstanceExponent = aAmountOfSubstanceExponent;
|
||||
luminousIntensityExponent = aLuminousIntensityExponent;
|
||||
}
|
||||
|
||||
|
||||
void StepBasic_DimensionalExponents::SetLengthExponent(const Standard_Real aLengthExponent)
|
||||
{
|
||||
lengthExponent = aLengthExponent;
|
||||
}
|
||||
|
||||
Standard_Real StepBasic_DimensionalExponents::LengthExponent() const
|
||||
{
|
||||
return lengthExponent;
|
||||
}
|
||||
|
||||
void StepBasic_DimensionalExponents::SetMassExponent(const Standard_Real aMassExponent)
|
||||
{
|
||||
massExponent = aMassExponent;
|
||||
}
|
||||
|
||||
Standard_Real StepBasic_DimensionalExponents::MassExponent() const
|
||||
{
|
||||
return massExponent;
|
||||
}
|
||||
|
||||
void StepBasic_DimensionalExponents::SetTimeExponent(const Standard_Real aTimeExponent)
|
||||
{
|
||||
timeExponent = aTimeExponent;
|
||||
}
|
||||
|
||||
Standard_Real StepBasic_DimensionalExponents::TimeExponent() const
|
||||
{
|
||||
return timeExponent;
|
||||
}
|
||||
|
||||
void StepBasic_DimensionalExponents::SetElectricCurrentExponent(const Standard_Real aElectricCurrentExponent)
|
||||
{
|
||||
electricCurrentExponent = aElectricCurrentExponent;
|
||||
}
|
||||
|
||||
Standard_Real StepBasic_DimensionalExponents::ElectricCurrentExponent() const
|
||||
{
|
||||
return electricCurrentExponent;
|
||||
}
|
||||
|
||||
void StepBasic_DimensionalExponents::SetThermodynamicTemperatureExponent(const Standard_Real aThermodynamicTemperatureExponent)
|
||||
{
|
||||
thermodynamicTemperatureExponent = aThermodynamicTemperatureExponent;
|
||||
}
|
||||
|
||||
Standard_Real StepBasic_DimensionalExponents::ThermodynamicTemperatureExponent() const
|
||||
{
|
||||
return thermodynamicTemperatureExponent;
|
||||
}
|
||||
|
||||
void StepBasic_DimensionalExponents::SetAmountOfSubstanceExponent(const Standard_Real aAmountOfSubstanceExponent)
|
||||
{
|
||||
amountOfSubstanceExponent = aAmountOfSubstanceExponent;
|
||||
}
|
||||
|
||||
Standard_Real StepBasic_DimensionalExponents::AmountOfSubstanceExponent() const
|
||||
{
|
||||
return amountOfSubstanceExponent;
|
||||
}
|
||||
|
||||
void StepBasic_DimensionalExponents::SetLuminousIntensityExponent(const Standard_Real aLuminousIntensityExponent)
|
||||
{
|
||||
luminousIntensityExponent = aLuminousIntensityExponent;
|
||||
}
|
||||
|
||||
Standard_Real StepBasic_DimensionalExponents::LuminousIntensityExponent() const
|
||||
{
|
||||
return luminousIntensityExponent;
|
||||
}
|
56
src/StepBasic/StepBasic_Document.cdl
Executable file
56
src/StepBasic/StepBasic_Document.cdl
Executable file
@@ -0,0 +1,56 @@
|
||||
-- File: StepBasic_Document.cdl
|
||||
-- Created: Thu May 11 16:38:00 2000
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class Document from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity Document
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
DocumentType from StepBasic
|
||||
|
||||
is
|
||||
Create returns Document from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aId: HAsciiString from TCollection;
|
||||
aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aKind: DocumentType from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Id (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Id
|
||||
SetId (me: mutable; Id: HAsciiString from TCollection);
|
||||
---Purpose: Set field Id
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Description
|
||||
SetDescription (me: mutable; Description: HAsciiString from TCollection);
|
||||
---Purpose: Set field Description
|
||||
HasDescription (me) returns Boolean;
|
||||
---Purpose: Returns True if optional field Description is defined
|
||||
|
||||
Kind (me) returns DocumentType from StepBasic;
|
||||
---Purpose: Returns field Kind
|
||||
SetKind (me: mutable; Kind: DocumentType from StepBasic);
|
||||
---Purpose: Set field Kind
|
||||
|
||||
fields
|
||||
theId: HAsciiString from TCollection;
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theKind: DocumentType from StepBasic;
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end Document;
|
132
src/StepBasic/StepBasic_Document.cxx
Executable file
132
src/StepBasic/StepBasic_Document.cxx
Executable file
@@ -0,0 +1,132 @@
|
||||
// File: StepBasic_Document.cxx
|
||||
// Created: Thu May 11 16:38:00 2000
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepBasic_Document.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepBasic_Document
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_Document::StepBasic_Document ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Document::Init (const Handle(TCollection_HAsciiString) &aId,
|
||||
const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(StepBasic_DocumentType) &aKind)
|
||||
{
|
||||
|
||||
theId = aId;
|
||||
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
|
||||
theKind = aKind;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Id
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Document::Id () const
|
||||
{
|
||||
return theId;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetId
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Document::SetId (const Handle(TCollection_HAsciiString) &aId)
|
||||
{
|
||||
theId = aId;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Document::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Document::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepBasic_Document::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Document::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepBasic_Document::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Kind
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_DocumentType) StepBasic_Document::Kind () const
|
||||
{
|
||||
return theKind;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetKind
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_Document::SetKind (const Handle(StepBasic_DocumentType) &aKind)
|
||||
{
|
||||
theKind = aKind;
|
||||
}
|
39
src/StepBasic/StepBasic_DocumentFile.cdl
Executable file
39
src/StepBasic/StepBasic_DocumentFile.cdl
Executable file
@@ -0,0 +1,39 @@
|
||||
-- File: StepBasic_DocumentFile.cdl
|
||||
-- Created: Thu May 11 16:38:00 2000
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class DocumentFile from StepBasic
|
||||
inherits Document from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity DocumentFile
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
DocumentType from StepBasic,
|
||||
CharacterizedObject from StepBasic
|
||||
|
||||
is
|
||||
Create returns DocumentFile from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDocument_Id: HAsciiString from TCollection;
|
||||
aDocument_Name: HAsciiString from TCollection;
|
||||
hasDocument_Description: Boolean;
|
||||
aDocument_Description: HAsciiString from TCollection;
|
||||
aDocument_Kind: DocumentType from StepBasic;
|
||||
aCharacterizedObject_Name: HAsciiString from TCollection;
|
||||
hasCharacterizedObject_Description: Boolean;
|
||||
aCharacterizedObject_Description: HAsciiString from TCollection);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
CharacterizedObject (me) returns CharacterizedObject from StepBasic;
|
||||
---Purpose: Returns data for supertype CharacterizedObject
|
||||
SetCharacterizedObject (me: mutable; CharacterizedObject: CharacterizedObject from StepBasic);
|
||||
---Purpose: Set data for supertype CharacterizedObject
|
||||
|
||||
fields
|
||||
theCharacterizedObject: CharacterizedObject from StepBasic; -- supertype
|
||||
|
||||
end DocumentFile;
|
61
src/StepBasic/StepBasic_DocumentFile.cxx
Executable file
61
src/StepBasic/StepBasic_DocumentFile.cxx
Executable file
@@ -0,0 +1,61 @@
|
||||
// File: StepBasic_DocumentFile.cxx
|
||||
// Created: Thu May 11 16:38:00 2000
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepBasic_DocumentFile.ixx>
|
||||
#include <StepBasic_CharacterizedObject.hxx>
|
||||
//=======================================================================
|
||||
//function : StepBasic_DocumentFile
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepBasic_DocumentFile::StepBasic_DocumentFile ()
|
||||
{
|
||||
theCharacterizedObject = new StepBasic_CharacterizedObject;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_DocumentFile::Init (const Handle(TCollection_HAsciiString) &aDocument_Id,
|
||||
const Handle(TCollection_HAsciiString) &aDocument_Name,
|
||||
const Standard_Boolean hasDocument_Description,
|
||||
const Handle(TCollection_HAsciiString) &aDocument_Description,
|
||||
const Handle(StepBasic_DocumentType) &aDocument_Kind,
|
||||
const Handle(TCollection_HAsciiString) &aCharacterizedObject_Name,
|
||||
const Standard_Boolean hasCharacterizedObject_Description,
|
||||
const Handle(TCollection_HAsciiString) &aCharacterizedObject_Description)
|
||||
{
|
||||
StepBasic_Document::Init(aDocument_Id,
|
||||
aDocument_Name,
|
||||
hasDocument_Description,
|
||||
aDocument_Description,
|
||||
aDocument_Kind);
|
||||
theCharacterizedObject->Init(aCharacterizedObject_Name,
|
||||
hasCharacterizedObject_Description,
|
||||
aCharacterizedObject_Description);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CharacterizedObject
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_CharacterizedObject) StepBasic_DocumentFile::CharacterizedObject () const
|
||||
{
|
||||
return theCharacterizedObject;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetCharacterizedObject
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepBasic_DocumentFile::SetCharacterizedObject (const Handle(StepBasic_CharacterizedObject) &aCharacterizedObject)
|
||||
{
|
||||
theCharacterizedObject = aCharacterizedObject;
|
||||
}
|
57
src/StepBasic/StepBasic_DocumentProductAssociation.cdl
Executable file
57
src/StepBasic/StepBasic_DocumentProductAssociation.cdl
Executable file
@@ -0,0 +1,57 @@
|
||||
-- File: StepBasic_DocumentProductAssociation.cdl
|
||||
-- Created: Tue Jan 28 12:40:35 2003
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
-- Copyright: Open CASCADE 2002
|
||||
|
||||
class DocumentProductAssociation from StepBasic
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity DocumentProductAssociation
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
Document from StepBasic,
|
||||
ProductOrFormationOrDefinition from StepBasic
|
||||
|
||||
is
|
||||
Create returns DocumentProductAssociation from StepBasic;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aRelatingDocument: Document from StepBasic;
|
||||
aRelatedProduct: ProductOrFormationOrDefinition from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Name
|
||||
SetName (me: mutable; Name: HAsciiString from TCollection);
|
||||
---Purpose: Set field Name
|
||||
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Description
|
||||
SetDescription (me: mutable; Description: HAsciiString from TCollection);
|
||||
---Purpose: Set field Description
|
||||
HasDescription (me) returns Boolean;
|
||||
---Purpose: Returns True if optional field Description is defined
|
||||
|
||||
RelatingDocument (me) returns Document from StepBasic;
|
||||
---Purpose: Returns field RelatingDocument
|
||||
SetRelatingDocument (me: mutable; RelatingDocument: Document from StepBasic);
|
||||
---Purpose: Set field RelatingDocument
|
||||
|
||||
RelatedProduct (me) returns ProductOrFormationOrDefinition from StepBasic;
|
||||
---Purpose: Returns field RelatedProduct
|
||||
SetRelatedProduct (me: mutable; RelatedProduct: ProductOrFormationOrDefinition from StepBasic);
|
||||
---Purpose: Set field RelatedProduct
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theRelatingDocument: Document from StepBasic;
|
||||
theRelatedProduct: ProductOrFormationOrDefinition from StepBasic;
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end DocumentProductAssociation;
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user