mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
139
src/StepRepr/StepRepr.cdl
Executable file
139
src/StepRepr/StepRepr.cdl
Executable file
@@ -0,0 +1,139 @@
|
||||
-- File: StepRepr.cdl
|
||||
-- Created: Fri Dec 1 11:11:09 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
package StepRepr
|
||||
|
||||
---Purpose : Sub-Schema of Step for Representations
|
||||
-- Collects definitions of STEP entities used for describing
|
||||
-- representation structures (from Parts 41, 43, 44 of ISO10303)
|
||||
|
||||
uses
|
||||
|
||||
TCollection, TColStd, StepData, Interface, MMgt,
|
||||
StepBasic
|
||||
|
||||
is
|
||||
|
||||
class CharacterizedDefinition; -- Select Type for
|
||||
-- ProductDefinition
|
||||
-- ShapeDefinition
|
||||
|
||||
class Transformation; -- Select Type for
|
||||
-- ItemDefinedTransformation
|
||||
-- FunctionallyDefinedTransformation
|
||||
|
||||
--class Protocol;
|
||||
|
||||
|
||||
class FunctionallyDefinedTransformation;
|
||||
--moved to StepBasic: class Group;
|
||||
--moved to StepAP214: class RepItemGroup;
|
||||
--moved to StepBasic: deferred class GroupAssignment;
|
||||
--moved to StepBasic: class GroupRelationship;
|
||||
class PropertyDefinition;
|
||||
class ProductDefinitionShape;
|
||||
class PropertyDefinitionRepresentation;
|
||||
-- class ShapeDefinitionRepresentation; -> StepShape
|
||||
class Representation;
|
||||
class DefinitionalRepresentation;
|
||||
-- class PresentationRepresentation;
|
||||
class RepresentationContext;
|
||||
class GlobalUncertaintyAssignedContext;
|
||||
class GlobalUnitAssignedContext;
|
||||
class ParametricRepresentationContext;
|
||||
class RepresentationItem;
|
||||
class DescriptiveRepresentationItem;
|
||||
class MappedItem;
|
||||
class RepresentationMap;
|
||||
class RepresentationRelationship;
|
||||
class RepresentedDefinition;
|
||||
|
||||
class ShapeAspect;
|
||||
class ShapeAspectTransition;
|
||||
class ShapeAspectRelationship;
|
||||
class ShapeDefinition;
|
||||
|
||||
-- Added from Rev2 to Rev4
|
||||
class ItemDefinedTransformation;
|
||||
|
||||
-- Added from STEP214 CC1 to CC2
|
||||
|
||||
class ProductDefinitionUsage;
|
||||
class MakeFromUsageOption;
|
||||
class AssemblyComponentUsage;
|
||||
class NextAssemblyUsageOccurrence;
|
||||
class PromissoryUsageOccurrence;
|
||||
class QuantifiedAssemblyComponentUsage;
|
||||
class SpecifiedHigherUsageOccurrence;
|
||||
|
||||
class AssemblyComponentUsageSubstitute;
|
||||
|
||||
class SuppliedPartRelationship;
|
||||
|
||||
class ExternallyDefinedRepresentation;
|
||||
|
||||
class MaterialDesignation;
|
||||
|
||||
-- ABV Added for CAX TRJ2
|
||||
class MeasureRepresentationItem;
|
||||
|
||||
--class RepresentationRelationship;
|
||||
class ShapeRepresentationRelationship;
|
||||
class RepresentationRelationshipWithTransformation;
|
||||
class ShapeRepresentationRelationshipWithTransformation;
|
||||
|
||||
|
||||
class Array1OfRepresentationItem instantiates Array1 from TCollection (RepresentationItem);
|
||||
class HArray1OfRepresentationItem instantiates HArray1 from TCollection (RepresentationItem,Array1OfRepresentationItem from StepRepr);
|
||||
|
||||
-- Added from Rev2 to Rev4
|
||||
|
||||
-- Added for AP203
|
||||
class ConfigurationDesign;
|
||||
class ConfigurationDesignItem;
|
||||
class ConfigurationEffectivity;
|
||||
class ConfigurationItem;
|
||||
class ProductConcept;
|
||||
|
||||
-- Added for Dimensional Tolerances, in 2001 by CKY (CAXIF TR7J)
|
||||
class CompositeShapeAspect;
|
||||
class DerivedShapeAspect;
|
||||
class Extension;
|
||||
class CompoundRepresentationItem;
|
||||
class ValueRange;
|
||||
class ShapeAspectDerivingRelationship;
|
||||
|
||||
|
||||
--added for AP209
|
||||
class DataEnvironment;
|
||||
class MaterialPropertyRepresentation;
|
||||
class PropertyDefinitionRelationship;
|
||||
class MaterialProperty;
|
||||
class StructuralResponseProperty;
|
||||
class StructuralResponsePropertyDefinitionRepresentation;
|
||||
|
||||
--added for G&DT by skl 21.08.2003 (CAXIF TR12J)
|
||||
class ReprItemAndLengthMeasureWithUnit;
|
||||
|
||||
|
||||
class Array1OfPropertyDefinitionRepresentation instantiates Array1 from TCollection (PropertyDefinitionRepresentation);
|
||||
class HArray1OfPropertyDefinitionRepresentation instantiates HArray1 from TCollection (PropertyDefinitionRepresentation, Array1OfPropertyDefinitionRepresentation from StepRepr);
|
||||
|
||||
class Array1OfMaterialPropertyRepresentation instantiates Array1 from TCollection (MaterialPropertyRepresentation);
|
||||
class HArray1OfMaterialPropertyRepresentation instantiates HArray1 from TCollection (MaterialPropertyRepresentation, Array1OfMaterialPropertyRepresentation from StepRepr);
|
||||
|
||||
class SequenceOfMaterialPropertyRepresentation instantiates Sequence from TCollection (MaterialPropertyRepresentation);
|
||||
class HSequenceOfMaterialPropertyRepresentation instantiates HSequence from TCollection (MaterialPropertyRepresentation, SequenceOfMaterialPropertyRepresentation from StepRepr);
|
||||
|
||||
class SequenceOfRepresentationItem instantiates Sequence from TCollection (RepresentationItem);
|
||||
class HSequenceOfRepresentationItem instantiates HSequence from TCollection (RepresentationItem, SequenceOfRepresentationItem from StepRepr);
|
||||
|
||||
|
||||
-- Protocol returns Protocol from StepRepr;
|
||||
---Purpose : creates a Protocol
|
||||
|
||||
end StepRepr;
|
||||
|
41
src/StepRepr/StepRepr_AssemblyComponentUsage.cdl
Executable file
41
src/StepRepr/StepRepr_AssemblyComponentUsage.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: StepRepr_AssemblyComponentUsage.cdl
|
||||
-- Created: Mon Jul 3 19:47:50 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class AssemblyComponentUsage from StepRepr
|
||||
inherits ProductDefinitionUsage from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity AssemblyComponentUsage
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductDefinition from StepBasic
|
||||
|
||||
is
|
||||
Create returns AssemblyComponentUsage from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aProductDefinitionRelationship_Id: HAsciiString from TCollection;
|
||||
aProductDefinitionRelationship_Name: HAsciiString from TCollection;
|
||||
hasProductDefinitionRelationship_Description: Boolean;
|
||||
aProductDefinitionRelationship_Description: HAsciiString from TCollection;
|
||||
aProductDefinitionRelationship_RelatingProductDefinition: ProductDefinition from StepBasic;
|
||||
aProductDefinitionRelationship_RelatedProductDefinition: ProductDefinition from StepBasic;
|
||||
hasReferenceDesignator: Boolean;
|
||||
aReferenceDesignator: HAsciiString from TCollection);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
ReferenceDesignator (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field ReferenceDesignator
|
||||
SetReferenceDesignator (me: mutable; ReferenceDesignator: HAsciiString from TCollection);
|
||||
---Purpose: Set field ReferenceDesignator
|
||||
HasReferenceDesignator (me) returns Boolean;
|
||||
---Purpose: Returns True if optional field ReferenceDesignator is defined
|
||||
|
||||
fields
|
||||
theReferenceDesignator: HAsciiString from TCollection; -- optional
|
||||
defReferenceDesignator: Boolean; -- flag "is ReferenceDesignator defined"
|
||||
|
||||
end AssemblyComponentUsage;
|
75
src/StepRepr/StepRepr_AssemblyComponentUsage.cxx
Executable file
75
src/StepRepr/StepRepr_AssemblyComponentUsage.cxx
Executable file
@@ -0,0 +1,75 @@
|
||||
// File: StepRepr_AssemblyComponentUsage.cxx
|
||||
// Created: Mon Jul 3 19:47:50 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_AssemblyComponentUsage.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_AssemblyComponentUsage
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_AssemblyComponentUsage::StepRepr_AssemblyComponentUsage ()
|
||||
{
|
||||
defReferenceDesignator = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_AssemblyComponentUsage::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
|
||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
|
||||
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
|
||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatingProductDefinition,
|
||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatedProductDefinition,
|
||||
const Standard_Boolean hasReferenceDesignator,
|
||||
const Handle(TCollection_HAsciiString) &aReferenceDesignator)
|
||||
{
|
||||
StepRepr_ProductDefinitionUsage::Init(aProductDefinitionRelationship_Id,
|
||||
aProductDefinitionRelationship_Name,
|
||||
hasProductDefinitionRelationship_Description,
|
||||
aProductDefinitionRelationship_Description,
|
||||
aProductDefinitionRelationship_RelatingProductDefinition,
|
||||
aProductDefinitionRelationship_RelatedProductDefinition);
|
||||
|
||||
defReferenceDesignator = hasReferenceDesignator;
|
||||
if (defReferenceDesignator) {
|
||||
theReferenceDesignator = aReferenceDesignator;
|
||||
}
|
||||
else theReferenceDesignator.Nullify();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ReferenceDesignator
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_AssemblyComponentUsage::ReferenceDesignator () const
|
||||
{
|
||||
return theReferenceDesignator;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetReferenceDesignator
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_AssemblyComponentUsage::SetReferenceDesignator (const Handle(TCollection_HAsciiString) &aReferenceDesignator)
|
||||
{
|
||||
theReferenceDesignator = aReferenceDesignator;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasReferenceDesignator
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepRepr_AssemblyComponentUsage::HasReferenceDesignator () const
|
||||
{
|
||||
return defReferenceDesignator;
|
||||
}
|
43
src/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cdl
Executable file
43
src/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cdl
Executable file
@@ -0,0 +1,43 @@
|
||||
-- File: StepRepr_AssemblyComponentUsageSubstitute.cdl
|
||||
-- Created: Tue Jun 30 17:30:46 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class AssemblyComponentUsageSubstitute from StepRepr inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
AssemblyComponentUsage from StepRepr
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable AssemblyComponentUsageSubstitute;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString;
|
||||
aDef : HAsciiString;
|
||||
aBase : AssemblyComponentUsage;
|
||||
aSubs : AssemblyComponentUsage);
|
||||
|
||||
Name (me) returns HAsciiString;
|
||||
SetName (me : mutable; aName : HAsciiString);
|
||||
|
||||
Definition (me) returns HAsciiString;
|
||||
SetDefinition (me : mutable; aDef : HAsciiString);
|
||||
|
||||
Base (me) returns AssemblyComponentUsage;
|
||||
SetBase (me : mutable; aBase : AssemblyComponentUsage);
|
||||
|
||||
Substitute (me) returns AssemblyComponentUsage;
|
||||
SetSubstitute (me : mutable; aSubstitute : AssemblyComponentUsage);
|
||||
|
||||
fields
|
||||
|
||||
theName : HAsciiString;
|
||||
theDef : HAsciiString;
|
||||
theBase : AssemblyComponentUsage;
|
||||
theSubs : AssemblyComponentUsage;
|
||||
|
||||
end AssemblyComponentUsageSubstitute;
|
39
src/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cxx
Executable file
39
src/StepRepr/StepRepr_AssemblyComponentUsageSubstitute.cxx
Executable file
@@ -0,0 +1,39 @@
|
||||
#include <StepRepr_AssemblyComponentUsageSubstitute.ixx>
|
||||
|
||||
StepRepr_AssemblyComponentUsageSubstitute::StepRepr_AssemblyComponentUsageSubstitute () { }
|
||||
|
||||
void StepRepr_AssemblyComponentUsageSubstitute::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDef,
|
||||
const Handle(StepRepr_AssemblyComponentUsage)& aBase,
|
||||
const Handle(StepRepr_AssemblyComponentUsage)& aSubs)
|
||||
{
|
||||
theName = aName;
|
||||
theDef = aDef;
|
||||
theBase = aBase;
|
||||
theSubs = aSubs;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_AssemblyComponentUsageSubstitute::Name () const
|
||||
{ return theName; }
|
||||
|
||||
void StepRepr_AssemblyComponentUsageSubstitute::SetName (const Handle(TCollection_HAsciiString)& aName)
|
||||
{ theName = aName; }
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_AssemblyComponentUsageSubstitute::Definition () const
|
||||
{ return theDef; }
|
||||
|
||||
void StepRepr_AssemblyComponentUsageSubstitute::SetDefinition (const Handle(TCollection_HAsciiString)& aDefinition)
|
||||
{ theDef = aDefinition; }
|
||||
|
||||
Handle(StepRepr_AssemblyComponentUsage) StepRepr_AssemblyComponentUsageSubstitute::Base () const
|
||||
{ return theBase; }
|
||||
|
||||
void StepRepr_AssemblyComponentUsageSubstitute::SetBase (const Handle(StepRepr_AssemblyComponentUsage)& aBase)
|
||||
{ theBase = aBase; }
|
||||
|
||||
Handle(StepRepr_AssemblyComponentUsage) StepRepr_AssemblyComponentUsageSubstitute::Substitute () const
|
||||
{ return theSubs; }
|
||||
|
||||
void StepRepr_AssemblyComponentUsageSubstitute::SetSubstitute (const Handle(StepRepr_AssemblyComponentUsage)& aSubs)
|
||||
{ theSubs = aSubs; }
|
57
src/StepRepr/StepRepr_CharacterizedDefinition.cdl
Executable file
57
src/StepRepr/StepRepr_CharacterizedDefinition.cdl
Executable file
@@ -0,0 +1,57 @@
|
||||
-- File: StepRepr_CharacterizedDefinition.cdl
|
||||
-- Created: Thu May 11 16:37:59 2000
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class CharacterizedDefinition from StepRepr
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type CharacterizedDefinition
|
||||
|
||||
uses
|
||||
CharacterizedObject from StepBasic,
|
||||
ProductDefinition from StepBasic,
|
||||
ProductDefinitionRelationship from StepBasic,
|
||||
ProductDefinitionShape from StepRepr,
|
||||
ShapeAspect from StepRepr,
|
||||
ShapeAspectRelationship from StepRepr,
|
||||
DocumentFile from StepBasic
|
||||
|
||||
is
|
||||
Create returns CharacterizedDefinition from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of CharacterizedDefinition select type
|
||||
-- 1 -> CharacterizedObject from StepBasic
|
||||
-- 2 -> ProductDefinition from StepBasic
|
||||
-- 3 -> ProductDefinitionRelationship from StepBasic
|
||||
-- 4 -> ProductDefinitionShape from StepRepr
|
||||
-- 5 -> ShapeAspect from StepRepr
|
||||
-- 6 -> ShapeAspectRelationship from StepRepr
|
||||
-- 7 -> DocumentFile from StepBasic
|
||||
-- 0 else
|
||||
|
||||
CharacterizedObject (me) returns CharacterizedObject from StepBasic;
|
||||
---Purpose: Returns Value as CharacterizedObject (or Null if another type)
|
||||
|
||||
ProductDefinition (me) returns ProductDefinition from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinition (or Null if another type)
|
||||
|
||||
ProductDefinitionRelationship (me) returns ProductDefinitionRelationship from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionRelationship (or Null if another type)
|
||||
|
||||
ProductDefinitionShape (me) returns ProductDefinitionShape from StepRepr;
|
||||
---Purpose: Returns Value as ProductDefinitionShape (or Null if another type)
|
||||
|
||||
ShapeAspect (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns Value as ShapeAspect (or Null if another type)
|
||||
|
||||
ShapeAspectRelationship (me) returns ShapeAspectRelationship from StepRepr;
|
||||
---Purpose: Returns Value as ShapeAspectRelationship (or Null if another type)
|
||||
|
||||
DocumentFile (me) returns DocumentFile from StepBasic;
|
||||
---Purpose: Returns Value as DocumentFile (or Null if another type)
|
||||
|
||||
end CharacterizedDefinition;
|
103
src/StepRepr/StepRepr_CharacterizedDefinition.cxx
Executable file
103
src/StepRepr/StepRepr_CharacterizedDefinition.cxx
Executable file
@@ -0,0 +1,103 @@
|
||||
// File: StepRepr_CharacterizedDefinition.cxx
|
||||
// Created: Thu May 11 16:37:59 2000
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_CharacterizedDefinition.ixx>
|
||||
//=======================================================================
|
||||
//function : StepRepr_CharacterizedDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_CharacterizedDefinition::StepRepr_CharacterizedDefinition ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepRepr_CharacterizedDefinition::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_CharacterizedObject))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionRelationship))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ProductDefinitionShape))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspect))) return 5;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspectRelationship))) return 6;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_DocumentFile))) return 7;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CharacterizedObject
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_CharacterizedObject) StepRepr_CharacterizedDefinition::CharacterizedObject () const
|
||||
{
|
||||
return Handle(StepBasic_CharacterizedObject)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinition) StepRepr_CharacterizedDefinition::ProductDefinition () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinitionRelationship
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinitionRelationship) StepRepr_CharacterizedDefinition::ProductDefinitionRelationship () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionRelationship)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinitionShape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ProductDefinitionShape) StepRepr_CharacterizedDefinition::ProductDefinitionShape () const
|
||||
{
|
||||
return Handle(StepRepr_ProductDefinitionShape)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAspect
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepRepr_CharacterizedDefinition::ShapeAspect () const
|
||||
{
|
||||
return Handle(StepRepr_ShapeAspect)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAspectRelationship
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspectRelationship) StepRepr_CharacterizedDefinition::ShapeAspectRelationship () const
|
||||
{
|
||||
return Handle(StepRepr_ShapeAspectRelationship)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : DocumentFile
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_DocumentFile) StepRepr_CharacterizedDefinition::DocumentFile () const
|
||||
{
|
||||
return Handle(StepBasic_DocumentFile)::DownCast(Value());
|
||||
}
|
18
src/StepRepr/StepRepr_CompositeShapeAspect.cdl
Executable file
18
src/StepRepr/StepRepr_CompositeShapeAspect.cdl
Executable file
@@ -0,0 +1,18 @@
|
||||
-- File: StepRepr_CompositeShapeAspect.cdl
|
||||
-- Created: Tue Apr 24 13:43:49 2001
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@photox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2001
|
||||
|
||||
class CompositeShapeAspect from StepRepr inherits ShapeAspect from StepRepr
|
||||
|
||||
---Purpose : Added for Dimensional Tolerances
|
||||
|
||||
uses
|
||||
Integer
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable CompositeShapeAspect;
|
||||
|
||||
end CompositeShapeAspect;
|
3
src/StepRepr/StepRepr_CompositeShapeAspect.cxx
Executable file
3
src/StepRepr/StepRepr_CompositeShapeAspect.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepRepr_CompositeShapeAspect.ixx>
|
||||
|
||||
StepRepr_CompositeShapeAspect::StepRepr_CompositeShapeAspect () { }
|
35
src/StepRepr/StepRepr_CompoundRepresentationItem.cdl
Executable file
35
src/StepRepr/StepRepr_CompoundRepresentationItem.cdl
Executable file
@@ -0,0 +1,35 @@
|
||||
-- File: StepRepr_CompoundRepresentationItem.cdl
|
||||
-- Created: Tue Apr 24 17:51:25 2001
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@photox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2001
|
||||
|
||||
class CompoundRepresentationItem from StepRepr
|
||||
inherits RepresentationItem from StepRepr
|
||||
|
||||
---Purpose : Added for Dimensional Tolerances
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr
|
||||
|
||||
is
|
||||
|
||||
Create returns CompoundRepresentationItem;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
item_element : HArray1OfRepresentationItem from StepRepr);
|
||||
|
||||
ItemElement (me) returns HArray1OfRepresentationItem from StepRepr;
|
||||
NbItemElement (me) returns Integer;
|
||||
SetItemElement (me : mutable; item_element : HArray1OfRepresentationItem from StepRepr);
|
||||
ItemElementValue (me; num : Integer) returns RepresentationItem;
|
||||
SetItemElementValue (me : mutable; num : Integer;
|
||||
anelement : RepresentationItem);
|
||||
|
||||
fields
|
||||
|
||||
theItemElement : HArray1OfRepresentationItem from StepRepr;
|
||||
|
||||
end CompoundRepresentationItem;
|
29
src/StepRepr/StepRepr_CompoundRepresentationItem.cxx
Executable file
29
src/StepRepr/StepRepr_CompoundRepresentationItem.cxx
Executable file
@@ -0,0 +1,29 @@
|
||||
#include <StepRepr_CompoundRepresentationItem.ixx>
|
||||
|
||||
StepRepr_CompoundRepresentationItem::StepRepr_CompoundRepresentationItem () { }
|
||||
|
||||
void StepRepr_CompoundRepresentationItem::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepRepr_HArray1OfRepresentationItem)& item_element)
|
||||
{
|
||||
StepRepr_RepresentationItem::Init (aName);
|
||||
theItemElement = item_element;
|
||||
}
|
||||
|
||||
Handle(StepRepr_HArray1OfRepresentationItem) StepRepr_CompoundRepresentationItem::ItemElement () const
|
||||
{ return theItemElement; }
|
||||
|
||||
Standard_Integer StepRepr_CompoundRepresentationItem::NbItemElement () const
|
||||
{ return (theItemElement.IsNull() ? 0 : theItemElement->Length()); }
|
||||
|
||||
void StepRepr_CompoundRepresentationItem::SetItemElement
|
||||
(const Handle(StepRepr_HArray1OfRepresentationItem)& item_element)
|
||||
{ theItemElement = item_element; }
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_CompoundRepresentationItem::ItemElementValue
|
||||
(const Standard_Integer num) const
|
||||
{ return theItemElement->Value(num); }
|
||||
|
||||
void StepRepr_CompoundRepresentationItem::SetItemElementValue
|
||||
(const Standard_Integer num, const Handle(StepRepr_RepresentationItem)& anelement)
|
||||
{ theItemElement->SetValue (num,anelement); }
|
38
src/StepRepr/StepRepr_ConfigurationDesign.cdl
Executable file
38
src/StepRepr/StepRepr_ConfigurationDesign.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepRepr_ConfigurationDesign.cdl
|
||||
-- Created: Fri Nov 26 16:26:36 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ConfigurationDesign from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ConfigurationDesign
|
||||
|
||||
uses
|
||||
ConfigurationItem from StepRepr,
|
||||
ConfigurationDesignItem from StepRepr
|
||||
|
||||
is
|
||||
Create returns ConfigurationDesign from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aConfiguration: ConfigurationItem from StepRepr;
|
||||
aDesign: ConfigurationDesignItem from StepRepr);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Configuration (me) returns ConfigurationItem from StepRepr;
|
||||
---Purpose: Returns field Configuration
|
||||
SetConfiguration (me: mutable; Configuration: ConfigurationItem from StepRepr);
|
||||
---Purpose: Set field Configuration
|
||||
|
||||
Design (me) returns ConfigurationDesignItem from StepRepr;
|
||||
---Purpose: Returns field Design
|
||||
SetDesign (me: mutable; Design: ConfigurationDesignItem from StepRepr);
|
||||
---Purpose: Set field Design
|
||||
|
||||
fields
|
||||
theConfiguration: ConfigurationItem from StepRepr;
|
||||
theDesign: ConfigurationDesignItem from StepRepr;
|
||||
|
||||
end ConfigurationDesign;
|
70
src/StepRepr/StepRepr_ConfigurationDesign.cxx
Executable file
70
src/StepRepr/StepRepr_ConfigurationDesign.cxx
Executable file
@@ -0,0 +1,70 @@
|
||||
// File: StepRepr_ConfigurationDesign.cxx
|
||||
// Created: Fri Nov 26 16:26:36 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepRepr_ConfigurationDesign.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ConfigurationDesign
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ConfigurationDesign::StepRepr_ConfigurationDesign ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationDesign::Init (const Handle(StepRepr_ConfigurationItem) &aConfiguration,
|
||||
const StepRepr_ConfigurationDesignItem &aDesign)
|
||||
{
|
||||
|
||||
theConfiguration = aConfiguration;
|
||||
|
||||
theDesign = aDesign;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Configuration
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ConfigurationItem) StepRepr_ConfigurationDesign::Configuration () const
|
||||
{
|
||||
return theConfiguration;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetConfiguration
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationDesign::SetConfiguration (const Handle(StepRepr_ConfigurationItem) &aConfiguration)
|
||||
{
|
||||
theConfiguration = aConfiguration;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Design
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ConfigurationDesignItem StepRepr_ConfigurationDesign::Design () const
|
||||
{
|
||||
return theDesign;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDesign
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationDesign::SetDesign (const StepRepr_ConfigurationDesignItem &aDesign)
|
||||
{
|
||||
theDesign = aDesign;
|
||||
}
|
32
src/StepRepr/StepRepr_ConfigurationDesignItem.cdl
Executable file
32
src/StepRepr/StepRepr_ConfigurationDesignItem.cdl
Executable file
@@ -0,0 +1,32 @@
|
||||
-- File: StepRepr_ConfigurationDesignItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:26 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ConfigurationDesignItem from StepRepr
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type ConfigurationDesignItem
|
||||
|
||||
uses
|
||||
ProductDefinition from StepBasic,
|
||||
ProductDefinitionFormation from StepBasic
|
||||
|
||||
is
|
||||
Create returns ConfigurationDesignItem from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of ConfigurationDesignItem select type
|
||||
-- 1 -> ProductDefinition from StepBasic
|
||||
-- 2 -> ProductDefinitionFormation from StepBasic
|
||||
-- 0 else
|
||||
|
||||
ProductDefinition (me) returns ProductDefinition from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinition (or Null if another type)
|
||||
|
||||
ProductDefinitionFormation (me) returns ProductDefinitionFormation from StepBasic;
|
||||
---Purpose: Returns Value as ProductDefinitionFormation (or Null if another type)
|
||||
|
||||
end ConfigurationDesignItem;
|
49
src/StepRepr/StepRepr_ConfigurationDesignItem.cxx
Executable file
49
src/StepRepr/StepRepr_ConfigurationDesignItem.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepRepr_ConfigurationDesignItem.cxx
|
||||
// Created: Fri Nov 26 16:26:26 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepRepr_ConfigurationDesignItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ConfigurationDesignItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ConfigurationDesignItem::StepRepr_ConfigurationDesignItem ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepRepr_ConfigurationDesignItem::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinition))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_ProductDefinitionFormation))) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinition) StepRepr_ConfigurationDesignItem::ProductDefinition () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ProductDefinitionFormation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductDefinitionFormation) StepRepr_ConfigurationDesignItem::ProductDefinitionFormation () const
|
||||
{
|
||||
return Handle(StepBasic_ProductDefinitionFormation)::DownCast(Value());
|
||||
}
|
34
src/StepRepr/StepRepr_ConfigurationEffectivity.cdl
Executable file
34
src/StepRepr/StepRepr_ConfigurationEffectivity.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: StepRepr_ConfigurationEffectivity.cdl
|
||||
-- Created: Fri Nov 26 16:26:36 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ConfigurationEffectivity from StepRepr
|
||||
inherits ProductDefinitionEffectivity from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity ConfigurationEffectivity
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductDefinitionRelationship from StepBasic,
|
||||
ConfigurationDesign from StepRepr
|
||||
|
||||
is
|
||||
Create returns ConfigurationEffectivity from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aEffectivity_Id: HAsciiString from TCollection;
|
||||
aProductDefinitionEffectivity_Usage: ProductDefinitionRelationship from StepBasic;
|
||||
aConfiguration: ConfigurationDesign from StepRepr);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Configuration (me) returns ConfigurationDesign from StepRepr;
|
||||
---Purpose: Returns field Configuration
|
||||
SetConfiguration (me: mutable; Configuration: ConfigurationDesign from StepRepr);
|
||||
---Purpose: Set field Configuration
|
||||
|
||||
fields
|
||||
theConfiguration: ConfigurationDesign from StepRepr;
|
||||
|
||||
end ConfigurationEffectivity;
|
51
src/StepRepr/StepRepr_ConfigurationEffectivity.cxx
Executable file
51
src/StepRepr/StepRepr_ConfigurationEffectivity.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepRepr_ConfigurationEffectivity.cxx
|
||||
// Created: Fri Nov 26 16:26:36 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepRepr_ConfigurationEffectivity.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ConfigurationEffectivity
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ConfigurationEffectivity::StepRepr_ConfigurationEffectivity ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationEffectivity::Init (const Handle(TCollection_HAsciiString) &aEffectivity_Id,
|
||||
const Handle(StepBasic_ProductDefinitionRelationship) &aProductDefinitionEffectivity_Usage,
|
||||
const Handle(StepRepr_ConfigurationDesign) &aConfiguration)
|
||||
{
|
||||
StepBasic_ProductDefinitionEffectivity::Init(aEffectivity_Id,
|
||||
aProductDefinitionEffectivity_Usage);
|
||||
|
||||
theConfiguration = aConfiguration;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Configuration
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ConfigurationDesign) StepRepr_ConfigurationEffectivity::Configuration () const
|
||||
{
|
||||
return theConfiguration;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetConfiguration
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationEffectivity::SetConfiguration (const Handle(StepRepr_ConfigurationDesign) &aConfiguration)
|
||||
{
|
||||
theConfiguration = aConfiguration;
|
||||
}
|
67
src/StepRepr/StepRepr_ConfigurationItem.cdl
Executable file
67
src/StepRepr/StepRepr_ConfigurationItem.cdl
Executable file
@@ -0,0 +1,67 @@
|
||||
-- File: StepRepr_ConfigurationItem.cdl
|
||||
-- Created: Fri Nov 26 16:26:36 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ConfigurationItem from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ConfigurationItem
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductConcept from StepRepr
|
||||
|
||||
is
|
||||
Create returns ConfigurationItem from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aId: HAsciiString from TCollection;
|
||||
aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aItemConcept: ProductConcept from StepRepr;
|
||||
hasPurpose: Boolean;
|
||||
aPurpose: HAsciiString from TCollection);
|
||||
---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
|
||||
|
||||
ItemConcept (me) returns ProductConcept from StepRepr;
|
||||
---Purpose: Returns field ItemConcept
|
||||
SetItemConcept (me: mutable; ItemConcept: ProductConcept from StepRepr);
|
||||
---Purpose: Set field ItemConcept
|
||||
|
||||
Purpose (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field Purpose
|
||||
SetPurpose (me: mutable; Purpose: HAsciiString from TCollection);
|
||||
---Purpose: Set field Purpose
|
||||
HasPurpose (me) returns Boolean;
|
||||
---Purpose: Returns True if optional field Purpose is defined
|
||||
|
||||
fields
|
||||
theId: HAsciiString from TCollection;
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theItemConcept: ProductConcept from StepRepr;
|
||||
thePurpose: HAsciiString from TCollection; -- optional
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
defPurpose: Boolean; -- flag "is Purpose defined"
|
||||
|
||||
end ConfigurationItem;
|
171
src/StepRepr/StepRepr_ConfigurationItem.cxx
Executable file
171
src/StepRepr/StepRepr_ConfigurationItem.cxx
Executable file
@@ -0,0 +1,171 @@
|
||||
// File: StepRepr_ConfigurationItem.cxx
|
||||
// Created: Fri Nov 26 16:26:36 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepRepr_ConfigurationItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ConfigurationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ConfigurationItem::StepRepr_ConfigurationItem ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
defPurpose = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationItem::Init (const Handle(TCollection_HAsciiString) &aId,
|
||||
const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(StepRepr_ProductConcept) &aItemConcept,
|
||||
const Standard_Boolean hasPurpose,
|
||||
const Handle(TCollection_HAsciiString) &aPurpose)
|
||||
{
|
||||
|
||||
theId = aId;
|
||||
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
|
||||
theItemConcept = aItemConcept;
|
||||
|
||||
defPurpose = hasPurpose;
|
||||
if (defPurpose) {
|
||||
thePurpose = aPurpose;
|
||||
}
|
||||
else thePurpose.Nullify();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Id
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ConfigurationItem::Id () const
|
||||
{
|
||||
return theId;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetId
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationItem::SetId (const Handle(TCollection_HAsciiString) &aId)
|
||||
{
|
||||
theId = aId;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ConfigurationItem::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationItem::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ConfigurationItem::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationItem::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepRepr_ConfigurationItem::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ItemConcept
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ProductConcept) StepRepr_ConfigurationItem::ItemConcept () const
|
||||
{
|
||||
return theItemConcept;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetItemConcept
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationItem::SetItemConcept (const Handle(StepRepr_ProductConcept) &aItemConcept)
|
||||
{
|
||||
theItemConcept = aItemConcept;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Purpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ConfigurationItem::Purpose () const
|
||||
{
|
||||
return thePurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetPurpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ConfigurationItem::SetPurpose (const Handle(TCollection_HAsciiString) &aPurpose)
|
||||
{
|
||||
thePurpose = aPurpose;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasPurpose
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepRepr_ConfigurationItem::HasPurpose () const
|
||||
{
|
||||
return defPurpose;
|
||||
}
|
45
src/StepRepr/StepRepr_DataEnvironment.cdl
Executable file
45
src/StepRepr/StepRepr_DataEnvironment.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: StepRepr_DataEnvironment.cdl
|
||||
-- Created: Thu Dec 12 15:38:05 2002
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
-- Copyright: Open CASCADE 2002
|
||||
|
||||
class DataEnvironment from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity DataEnvironment
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfPropertyDefinitionRepresentation from StepRepr
|
||||
|
||||
is
|
||||
Create returns DataEnvironment from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aElements: HArray1OfPropertyDefinitionRepresentation from StepRepr);
|
||||
---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
|
||||
|
||||
Elements (me) returns HArray1OfPropertyDefinitionRepresentation from StepRepr;
|
||||
---Purpose: Returns field Elements
|
||||
SetElements (me: mutable; Elements: HArray1OfPropertyDefinitionRepresentation from StepRepr);
|
||||
---Purpose: Set field Elements
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection;
|
||||
theElements: HArray1OfPropertyDefinitionRepresentation from StepRepr;
|
||||
|
||||
end DataEnvironment;
|
93
src/StepRepr/StepRepr_DataEnvironment.cxx
Executable file
93
src/StepRepr/StepRepr_DataEnvironment.cxx
Executable file
@@ -0,0 +1,93 @@
|
||||
// File: StepRepr_DataEnvironment.cxx
|
||||
// Created: Thu Dec 12 15:38:05 2002
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
// Copyright: Open CASCADE 2002
|
||||
|
||||
#include <StepRepr_DataEnvironment.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_DataEnvironment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_DataEnvironment::StepRepr_DataEnvironment ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_DataEnvironment::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(StepRepr_HArray1OfPropertyDefinitionRepresentation) &aElements)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
theDescription = aDescription;
|
||||
|
||||
theElements = aElements;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_DataEnvironment::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_DataEnvironment::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_DataEnvironment::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_DataEnvironment::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Elements
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_HArray1OfPropertyDefinitionRepresentation) StepRepr_DataEnvironment::Elements () const
|
||||
{
|
||||
return theElements;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetElements
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_DataEnvironment::SetElements (const Handle(StepRepr_HArray1OfPropertyDefinitionRepresentation) &aElements)
|
||||
{
|
||||
theElements = aElements;
|
||||
}
|
22
src/StepRepr/StepRepr_DefinitionalRepresentation.cdl
Executable file
22
src/StepRepr/StepRepr_DefinitionalRepresentation.cdl
Executable file
@@ -0,0 +1,22 @@
|
||||
-- File: DefinitionalRepresentation.cdl
|
||||
-- Created: Fri Dec 1 11:11:18 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DefinitionalRepresentation from StepRepr
|
||||
|
||||
inherits Representation from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable DefinitionalRepresentation;
|
||||
---Purpose: Returns a DefinitionalRepresentation
|
||||
|
||||
|
||||
end DefinitionalRepresentation;
|
5
src/StepRepr/StepRepr_DefinitionalRepresentation.cxx
Executable file
5
src/StepRepr/StepRepr_DefinitionalRepresentation.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepRepr_DefinitionalRepresentation.ixx>
|
||||
|
||||
|
||||
StepRepr_DefinitionalRepresentation::StepRepr_DefinitionalRepresentation () {}
|
||||
|
18
src/StepRepr/StepRepr_DerivedShapeAspect.cdl
Executable file
18
src/StepRepr/StepRepr_DerivedShapeAspect.cdl
Executable file
@@ -0,0 +1,18 @@
|
||||
-- File: StepRepr_DerivedShapeAspect.cdl
|
||||
-- Created: Tue Apr 24 13:45:43 2001
|
||||
-- Author: Cheistian CAILLET
|
||||
-- <cky@photox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2001
|
||||
|
||||
class DerivedShapeAspect from StepRepr inherits ShapeAspect from StepRepr
|
||||
|
||||
---Purpose : Added for Dimensional Tolerances
|
||||
|
||||
uses
|
||||
Integer
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable DerivedShapeAspect;
|
||||
|
||||
end DerivedShapeAspect;
|
3
src/StepRepr/StepRepr_DerivedShapeAspect.cxx
Executable file
3
src/StepRepr/StepRepr_DerivedShapeAspect.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepRepr_DerivedShapeAspect.ixx>
|
||||
|
||||
StepRepr_DerivedShapeAspect::StepRepr_DerivedShapeAspect () { }
|
36
src/StepRepr/StepRepr_DescriptiveRepresentationItem.cdl
Executable file
36
src/StepRepr/StepRepr_DescriptiveRepresentationItem.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: DescriptiveRepresentationItem.cdl
|
||||
-- Created: Fri Dec 1 11:11:18 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class DescriptiveRepresentationItem from StepRepr
|
||||
|
||||
inherits RepresentationItem from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable DescriptiveRepresentationItem;
|
||||
---Purpose: Returns a DescriptiveRepresentationItem
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aDescription : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetDescription(me : mutable; aDescription : mutable HAsciiString);
|
||||
Description (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
description : HAsciiString from TCollection;
|
||||
|
||||
end DescriptiveRepresentationItem;
|
32
src/StepRepr/StepRepr_DescriptiveRepresentationItem.cxx
Executable file
32
src/StepRepr/StepRepr_DescriptiveRepresentationItem.cxx
Executable file
@@ -0,0 +1,32 @@
|
||||
#include <StepRepr_DescriptiveRepresentationItem.ixx>
|
||||
|
||||
|
||||
StepRepr_DescriptiveRepresentationItem::StepRepr_DescriptiveRepresentationItem () {}
|
||||
|
||||
void StepRepr_DescriptiveRepresentationItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepRepr_DescriptiveRepresentationItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
description = aDescription;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_DescriptiveRepresentationItem::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{
|
||||
description = aDescription;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_DescriptiveRepresentationItem::Description() const
|
||||
{
|
||||
return description;
|
||||
}
|
18
src/StepRepr/StepRepr_Extension.cdl
Executable file
18
src/StepRepr/StepRepr_Extension.cdl
Executable file
@@ -0,0 +1,18 @@
|
||||
-- File: StepRepr_Extension.cdl
|
||||
-- Created: Tue Apr 24 13:47:10 2001
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@photox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2001
|
||||
|
||||
class Extension from StepRepr inherits DerivedShapeAspect from StepRepr
|
||||
|
||||
---Purpose : Added for Dimensional Tolerances
|
||||
|
||||
uses
|
||||
Integer
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable Extension;
|
||||
|
||||
end Extension;
|
3
src/StepRepr/StepRepr_Extension.cxx
Executable file
3
src/StepRepr/StepRepr_Extension.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepRepr_Extension.ixx>
|
||||
|
||||
StepRepr_Extension::StepRepr_Extension () { }
|
17
src/StepRepr/StepRepr_ExternallyDefinedRepresentation.cdl
Executable file
17
src/StepRepr/StepRepr_ExternallyDefinedRepresentation.cdl
Executable file
@@ -0,0 +1,17 @@
|
||||
-- File: StepRepr_ExternallyDefinedRepresentation.cdl
|
||||
-- Created: Tue Jun 30 17:42:08 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class ExternallyDefinedRepresentation from StepRepr inherits Representation from StepRepr
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ExternallyDefinedRepresentation;
|
||||
|
||||
end ExternallyDefinedRepresentation;
|
3
src/StepRepr/StepRepr_ExternallyDefinedRepresentation.cxx
Executable file
3
src/StepRepr/StepRepr_ExternallyDefinedRepresentation.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepRepr_ExternallyDefinedRepresentation.ixx>
|
||||
|
||||
StepRepr_ExternallyDefinedRepresentation::StepRepr_ExternallyDefinedRepresentation () { }
|
35
src/StepRepr/StepRepr_FunctionallyDefinedTransformation.cdl
Executable file
35
src/StepRepr/StepRepr_FunctionallyDefinedTransformation.cdl
Executable file
@@ -0,0 +1,35 @@
|
||||
-- File: FunctionallyDefinedTransformation.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class FunctionallyDefinedTransformation from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable FunctionallyDefinedTransformation;
|
||||
---Purpose: Returns a FunctionallyDefinedTransformation
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aDescription : mutable HAsciiString from TCollection) 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;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
description : HAsciiString from TCollection;
|
||||
|
||||
end FunctionallyDefinedTransformation;
|
34
src/StepRepr/StepRepr_FunctionallyDefinedTransformation.cxx
Executable file
34
src/StepRepr/StepRepr_FunctionallyDefinedTransformation.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepRepr_FunctionallyDefinedTransformation.ixx>
|
||||
|
||||
|
||||
StepRepr_FunctionallyDefinedTransformation::StepRepr_FunctionallyDefinedTransformation () {}
|
||||
|
||||
void StepRepr_FunctionallyDefinedTransformation::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
description = aDescription;
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_FunctionallyDefinedTransformation::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_FunctionallyDefinedTransformation::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepRepr_FunctionallyDefinedTransformation::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{
|
||||
description = aDescription;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_FunctionallyDefinedTransformation::Description() const
|
||||
{
|
||||
return description;
|
||||
}
|
42
src/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cdl
Executable file
42
src/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: GlobalUncertaintyAssignedContext.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class GlobalUncertaintyAssignedContext from StepRepr
|
||||
|
||||
inherits RepresentationContext from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfUncertaintyMeasureWithUnit from StepBasic,
|
||||
UncertaintyMeasureWithUnit from StepBasic,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable GlobalUncertaintyAssignedContext;
|
||||
---Purpose: Returns a GlobalUncertaintyAssignedContext
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aContextIdentifier : mutable HAsciiString from TCollection;
|
||||
aContextType : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aContextIdentifier : mutable HAsciiString from TCollection;
|
||||
aContextType : mutable HAsciiString from TCollection;
|
||||
aUncertainty : mutable HArray1OfUncertaintyMeasureWithUnit from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetUncertainty(me : mutable; aUncertainty : mutable HArray1OfUncertaintyMeasureWithUnit);
|
||||
Uncertainty (me) returns mutable HArray1OfUncertaintyMeasureWithUnit;
|
||||
UncertaintyValue (me; num : Integer) returns mutable UncertaintyMeasureWithUnit;
|
||||
NbUncertainty (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
uncertainty : HArray1OfUncertaintyMeasureWithUnit from StepBasic;
|
||||
|
||||
end GlobalUncertaintyAssignedContext;
|
45
src/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cxx
Executable file
45
src/StepRepr/StepRepr_GlobalUncertaintyAssignedContext.cxx
Executable file
@@ -0,0 +1,45 @@
|
||||
#include <StepRepr_GlobalUncertaintyAssignedContext.ixx>
|
||||
|
||||
|
||||
StepRepr_GlobalUncertaintyAssignedContext::StepRepr_GlobalUncertaintyAssignedContext () {}
|
||||
|
||||
void StepRepr_GlobalUncertaintyAssignedContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aContextIdentifier,
|
||||
const Handle(TCollection_HAsciiString)& aContextType)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
|
||||
}
|
||||
|
||||
void StepRepr_GlobalUncertaintyAssignedContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aContextIdentifier,
|
||||
const Handle(TCollection_HAsciiString)& aContextType,
|
||||
const Handle(StepBasic_HArray1OfUncertaintyMeasureWithUnit)& aUncertainty)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
uncertainty = aUncertainty;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_GlobalUncertaintyAssignedContext::SetUncertainty(const Handle(StepBasic_HArray1OfUncertaintyMeasureWithUnit)& aUncertainty)
|
||||
{
|
||||
uncertainty = aUncertainty;
|
||||
}
|
||||
|
||||
Handle(StepBasic_HArray1OfUncertaintyMeasureWithUnit) StepRepr_GlobalUncertaintyAssignedContext::Uncertainty() const
|
||||
{
|
||||
return uncertainty;
|
||||
}
|
||||
|
||||
Handle(StepBasic_UncertaintyMeasureWithUnit) StepRepr_GlobalUncertaintyAssignedContext::UncertaintyValue(const Standard_Integer num) const
|
||||
{
|
||||
return uncertainty->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepRepr_GlobalUncertaintyAssignedContext::NbUncertainty () const
|
||||
{
|
||||
if (uncertainty.IsNull()) return 0;
|
||||
return uncertainty->Length();
|
||||
}
|
42
src/StepRepr/StepRepr_GlobalUnitAssignedContext.cdl
Executable file
42
src/StepRepr/StepRepr_GlobalUnitAssignedContext.cdl
Executable file
@@ -0,0 +1,42 @@
|
||||
-- File: GlobalUnitAssignedContext.cdl
|
||||
-- Created: Fri Dec 1 11:11:21 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class GlobalUnitAssignedContext from StepRepr
|
||||
|
||||
inherits RepresentationContext from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfNamedUnit from StepBasic,
|
||||
NamedUnit from StepBasic,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable GlobalUnitAssignedContext;
|
||||
---Purpose: Returns a GlobalUnitAssignedContext
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aContextIdentifier : mutable HAsciiString from TCollection;
|
||||
aContextType : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aContextIdentifier : mutable HAsciiString from TCollection;
|
||||
aContextType : mutable HAsciiString from TCollection;
|
||||
aUnits : mutable HArray1OfNamedUnit from StepBasic) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetUnits(me : mutable; aUnits : mutable HArray1OfNamedUnit);
|
||||
Units (me) returns mutable HArray1OfNamedUnit;
|
||||
UnitsValue (me; num : Integer) returns mutable NamedUnit;
|
||||
NbUnits (me) returns Integer;
|
||||
|
||||
fields
|
||||
|
||||
units : HArray1OfNamedUnit from StepBasic;
|
||||
|
||||
end GlobalUnitAssignedContext;
|
45
src/StepRepr/StepRepr_GlobalUnitAssignedContext.cxx
Executable file
45
src/StepRepr/StepRepr_GlobalUnitAssignedContext.cxx
Executable file
@@ -0,0 +1,45 @@
|
||||
#include <StepRepr_GlobalUnitAssignedContext.ixx>
|
||||
|
||||
|
||||
StepRepr_GlobalUnitAssignedContext::StepRepr_GlobalUnitAssignedContext () {}
|
||||
|
||||
void StepRepr_GlobalUnitAssignedContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aContextIdentifier,
|
||||
const Handle(TCollection_HAsciiString)& aContextType)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
|
||||
}
|
||||
|
||||
void StepRepr_GlobalUnitAssignedContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aContextIdentifier,
|
||||
const Handle(TCollection_HAsciiString)& aContextType,
|
||||
const Handle(StepBasic_HArray1OfNamedUnit)& aUnits)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
units = aUnits;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_GlobalUnitAssignedContext::SetUnits(const Handle(StepBasic_HArray1OfNamedUnit)& aUnits)
|
||||
{
|
||||
units = aUnits;
|
||||
}
|
||||
|
||||
Handle(StepBasic_HArray1OfNamedUnit) StepRepr_GlobalUnitAssignedContext::Units() const
|
||||
{
|
||||
return units;
|
||||
}
|
||||
|
||||
Handle(StepBasic_NamedUnit) StepRepr_GlobalUnitAssignedContext::UnitsValue(const Standard_Integer num) const
|
||||
{
|
||||
return units->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepRepr_GlobalUnitAssignedContext::NbUnits () const
|
||||
{
|
||||
if (units.IsNull()) return 0;
|
||||
return units->Length();
|
||||
}
|
45
src/StepRepr/StepRepr_ItemDefinedTransformation.cdl
Executable file
45
src/StepRepr/StepRepr_ItemDefinedTransformation.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: StepRepr_ItemDefinedTransformation.cdl
|
||||
-- Created: Wed Mar 26 14:38:45 1997
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
class ItemDefinedTransformation from StepRepr inherits TShared
|
||||
|
||||
---Purpose : Added from StepRepr Rev2 to Rev4
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
RepresentationItem from StepRepr
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ItemDefinedTransformation;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : HAsciiString from TCollection;
|
||||
aDescription : HAsciiString from TCollection;
|
||||
aTransformItem1 : RepresentationItem from StepRepr;
|
||||
aTransformItem2 : RepresentationItem from StepRepr);
|
||||
|
||||
SetName (me : mutable; aName : HAsciiString from TCollection);
|
||||
Name (me) returns HAsciiString from TCollection;
|
||||
|
||||
SetDescription (me : mutable; aDescription : HAsciiString from TCollection);
|
||||
Description (me) returns HAsciiString from TCollection;
|
||||
|
||||
SetTransformItem1 (me : mutable; aItem : RepresentationItem from StepRepr);
|
||||
TransformItem1 (me) returns RepresentationItem;
|
||||
|
||||
SetTransformItem2 (me : mutable; aItem : RepresentationItem from StepRepr);
|
||||
TransformItem2 (me) returns RepresentationItem;
|
||||
|
||||
fields
|
||||
|
||||
theName : HAsciiString from TCollection;
|
||||
theDescription : HAsciiString from TCollection;
|
||||
theTransformItem1 : RepresentationItem from StepRepr;
|
||||
theTransformItem2 : RepresentationItem from StepRepr;
|
||||
|
||||
end ItemDefinedTransformation;
|
35
src/StepRepr/StepRepr_ItemDefinedTransformation.cxx
Executable file
35
src/StepRepr/StepRepr_ItemDefinedTransformation.cxx
Executable file
@@ -0,0 +1,35 @@
|
||||
#include <StepRepr_ItemDefinedTransformation.ixx>
|
||||
|
||||
StepRepr_ItemDefinedTransformation::StepRepr_ItemDefinedTransformation () { }
|
||||
|
||||
void StepRepr_ItemDefinedTransformation::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDescription,
|
||||
const Handle(StepRepr_RepresentationItem)& aTransformItem1,
|
||||
const Handle(StepRepr_RepresentationItem)& aTransformItem2)
|
||||
{ theName = aName; theDescription = aDescription;
|
||||
theTransformItem1 = aTransformItem1; theTransformItem2 = aTransformItem2; }
|
||||
|
||||
void StepRepr_ItemDefinedTransformation::SetName (const Handle(TCollection_HAsciiString)& aName)
|
||||
{ theName = aName; }
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ItemDefinedTransformation::Name () const
|
||||
{ return theName; }
|
||||
|
||||
void StepRepr_ItemDefinedTransformation::SetDescription (const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{ theDescription = aDescription; }
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ItemDefinedTransformation::Description () const
|
||||
{ return theDescription; }
|
||||
|
||||
void StepRepr_ItemDefinedTransformation::SetTransformItem1 (const Handle(StepRepr_RepresentationItem)& aTransformItem1)
|
||||
{ theTransformItem1 = aTransformItem1; }
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_ItemDefinedTransformation::TransformItem1 () const
|
||||
{ return theTransformItem1; }
|
||||
|
||||
void StepRepr_ItemDefinedTransformation::SetTransformItem2 (const Handle(StepRepr_RepresentationItem)& aTransformItem2)
|
||||
{ theTransformItem2 = aTransformItem2; }
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_ItemDefinedTransformation::TransformItem2 () const
|
||||
{ return theTransformItem2; }
|
52
src/StepRepr/StepRepr_MakeFromUsageOption.cdl
Executable file
52
src/StepRepr/StepRepr_MakeFromUsageOption.cdl
Executable file
@@ -0,0 +1,52 @@
|
||||
-- File: StepRepr_MakeFromUsageOption.cdl
|
||||
-- Created: Mon Jul 3 20:13:36 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class MakeFromUsageOption from StepRepr
|
||||
inherits ProductDefinitionUsage from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity MakeFromUsageOption
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductDefinition from StepBasic,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
Create returns MakeFromUsageOption from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aProductDefinitionRelationship_Id: HAsciiString from TCollection;
|
||||
aProductDefinitionRelationship_Name: HAsciiString from TCollection;
|
||||
hasProductDefinitionRelationship_Description: Boolean;
|
||||
aProductDefinitionRelationship_Description: HAsciiString from TCollection;
|
||||
aProductDefinitionRelationship_RelatingProductDefinition: ProductDefinition from StepBasic;
|
||||
aProductDefinitionRelationship_RelatedProductDefinition: ProductDefinition from StepBasic;
|
||||
aRanking: Integer;
|
||||
aRankingRationale: HAsciiString from TCollection;
|
||||
aQuantity: MeasureWithUnit from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Ranking (me) returns Integer;
|
||||
---Purpose: Returns field Ranking
|
||||
SetRanking (me: mutable; Ranking: Integer);
|
||||
---Purpose: Set field Ranking
|
||||
|
||||
RankingRationale (me) returns HAsciiString from TCollection;
|
||||
---Purpose: Returns field RankingRationale
|
||||
SetRankingRationale (me: mutable; RankingRationale: HAsciiString from TCollection);
|
||||
---Purpose: Set field RankingRationale
|
||||
|
||||
Quantity (me) returns MeasureWithUnit from StepBasic;
|
||||
---Purpose: Returns field Quantity
|
||||
SetQuantity (me: mutable; Quantity: MeasureWithUnit from StepBasic);
|
||||
---Purpose: Set field Quantity
|
||||
|
||||
fields
|
||||
theRanking: Integer;
|
||||
theRankingRationale: HAsciiString from TCollection;
|
||||
theQuantity: MeasureWithUnit from StepBasic;
|
||||
|
||||
end MakeFromUsageOption;
|
105
src/StepRepr/StepRepr_MakeFromUsageOption.cxx
Executable file
105
src/StepRepr/StepRepr_MakeFromUsageOption.cxx
Executable file
@@ -0,0 +1,105 @@
|
||||
// File: StepRepr_MakeFromUsageOption.cxx
|
||||
// Created: Mon Jul 3 20:13:36 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_MakeFromUsageOption.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_MakeFromUsageOption
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_MakeFromUsageOption::StepRepr_MakeFromUsageOption ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MakeFromUsageOption::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
|
||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
|
||||
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
|
||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatingProductDefinition,
|
||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatedProductDefinition,
|
||||
const Standard_Integer aRanking,
|
||||
const Handle(TCollection_HAsciiString) &aRankingRationale,
|
||||
const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
||||
{
|
||||
StepRepr_ProductDefinitionUsage::Init(aProductDefinitionRelationship_Id,
|
||||
aProductDefinitionRelationship_Name,
|
||||
hasProductDefinitionRelationship_Description,
|
||||
aProductDefinitionRelationship_Description,
|
||||
aProductDefinitionRelationship_RelatingProductDefinition,
|
||||
aProductDefinitionRelationship_RelatedProductDefinition);
|
||||
|
||||
theRanking = aRanking;
|
||||
|
||||
theRankingRationale = aRankingRationale;
|
||||
|
||||
theQuantity = aQuantity;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Ranking
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepRepr_MakeFromUsageOption::Ranking () const
|
||||
{
|
||||
return theRanking;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRanking
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MakeFromUsageOption::SetRanking (const Standard_Integer aRanking)
|
||||
{
|
||||
theRanking = aRanking;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : RankingRationale
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_MakeFromUsageOption::RankingRationale () const
|
||||
{
|
||||
return theRankingRationale;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRankingRationale
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MakeFromUsageOption::SetRankingRationale (const Handle(TCollection_HAsciiString) &aRankingRationale)
|
||||
{
|
||||
theRankingRationale = aRankingRationale;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Quantity
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_MeasureWithUnit) StepRepr_MakeFromUsageOption::Quantity () const
|
||||
{
|
||||
return theQuantity;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetQuantity
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MakeFromUsageOption::SetQuantity (const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
||||
{
|
||||
theQuantity = aQuantity;
|
||||
}
|
41
src/StepRepr/StepRepr_MappedItem.cdl
Executable file
41
src/StepRepr/StepRepr_MappedItem.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: MappedItem.cdl
|
||||
-- Created: Fri Dec 1 11:11:22 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class MappedItem from StepRepr
|
||||
|
||||
inherits RepresentationItem from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
RepresentationMap from StepRepr,
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable MappedItem;
|
||||
---Purpose: Returns a MappedItem
|
||||
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection) is redefined;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aMappingSource : mutable RepresentationMap from StepRepr;
|
||||
aMappingTarget : mutable RepresentationItem from StepRepr) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetMappingSource(me : mutable; aMappingSource : mutable RepresentationMap);
|
||||
MappingSource (me) returns mutable RepresentationMap;
|
||||
SetMappingTarget(me : mutable; aMappingTarget : mutable RepresentationItem);
|
||||
MappingTarget (me) returns mutable RepresentationItem;
|
||||
|
||||
fields
|
||||
|
||||
mappingSource : RepresentationMap from StepRepr;
|
||||
mappingTarget : RepresentationItem from StepRepr;
|
||||
|
||||
end MappedItem;
|
44
src/StepRepr/StepRepr_MappedItem.cxx
Executable file
44
src/StepRepr/StepRepr_MappedItem.cxx
Executable file
@@ -0,0 +1,44 @@
|
||||
#include <StepRepr_MappedItem.ixx>
|
||||
|
||||
|
||||
StepRepr_MappedItem::StepRepr_MappedItem () {}
|
||||
|
||||
void StepRepr_MappedItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
void StepRepr_MappedItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepRepr_RepresentationMap)& aMappingSource,
|
||||
const Handle(StepRepr_RepresentationItem)& aMappingTarget)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
mappingSource = aMappingSource;
|
||||
mappingTarget = aMappingTarget;
|
||||
// --- classe inherited fields ---
|
||||
StepRepr_RepresentationItem::Init(aName);
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_MappedItem::SetMappingSource(const Handle(StepRepr_RepresentationMap)& aMappingSource)
|
||||
{
|
||||
mappingSource = aMappingSource;
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationMap) StepRepr_MappedItem::MappingSource() const
|
||||
{
|
||||
return mappingSource;
|
||||
}
|
||||
|
||||
void StepRepr_MappedItem::SetMappingTarget(const Handle(StepRepr_RepresentationItem)& aMappingTarget)
|
||||
{
|
||||
mappingTarget = aMappingTarget;
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_MappedItem::MappingTarget() const
|
||||
{
|
||||
return mappingTarget;
|
||||
}
|
38
src/StepRepr/StepRepr_MaterialDesignation.cdl
Executable file
38
src/StepRepr/StepRepr_MaterialDesignation.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepRepr_MaterialDesignation.cdl
|
||||
-- Created: Fri Jul 24 15:32:36 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class MaterialDesignation from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
CharacterizedDefinition from StepRepr
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable MaterialDesignation;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aOfDefinition : CharacterizedDefinition);
|
||||
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetOfDefinition (me : mutable; aOfDefinition : CharacterizedDefinition);
|
||||
OfDefinition (me) returns CharacterizedDefinition;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
ofDefinition : CharacterizedDefinition;
|
||||
|
||||
end MaterialDesignation;
|
33
src/StepRepr/StepRepr_MaterialDesignation.cxx
Executable file
33
src/StepRepr/StepRepr_MaterialDesignation.cxx
Executable file
@@ -0,0 +1,33 @@
|
||||
#include <StepRepr_MaterialDesignation.ixx>
|
||||
|
||||
StepRepr_MaterialDesignation::StepRepr_MaterialDesignation () { }
|
||||
|
||||
void StepRepr_MaterialDesignation::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const StepRepr_CharacterizedDefinition& aOfDefinition)
|
||||
{
|
||||
name = aName;
|
||||
ofDefinition = aOfDefinition;
|
||||
}
|
||||
|
||||
void StepRepr_MaterialDesignation::SetName
|
||||
(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_MaterialDesignation::Name () const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepRepr_MaterialDesignation::SetOfDefinition
|
||||
(const StepRepr_CharacterizedDefinition& aOfDefinition)
|
||||
{
|
||||
ofDefinition = aOfDefinition;
|
||||
}
|
||||
|
||||
StepRepr_CharacterizedDefinition StepRepr_MaterialDesignation::OfDefinition () const
|
||||
{
|
||||
return ofDefinition;
|
||||
}
|
20
src/StepRepr/StepRepr_MaterialProperty.cdl
Executable file
20
src/StepRepr/StepRepr_MaterialProperty.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepRepr_MaterialProperty.cdl
|
||||
-- Created: Sat Dec 14 11:01:40 2002
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
-- Copyright: Open CASCADE 2002
|
||||
|
||||
class MaterialProperty from StepRepr
|
||||
inherits PropertyDefinition from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity MaterialProperty
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
CharacterizedDefinition from StepRepr
|
||||
|
||||
is
|
||||
Create returns MaterialProperty from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end MaterialProperty;
|
16
src/StepRepr/StepRepr_MaterialProperty.cxx
Executable file
16
src/StepRepr/StepRepr_MaterialProperty.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepRepr_MaterialProperty.cxx
|
||||
// Created: Sat Dec 14 11:01:41 2002
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
// Copyright: Open CASCADE 2002
|
||||
|
||||
#include <StepRepr_MaterialProperty.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_MaterialProperty
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_MaterialProperty::StepRepr_MaterialProperty ()
|
||||
{
|
||||
}
|
34
src/StepRepr/StepRepr_MaterialPropertyRepresentation.cdl
Executable file
34
src/StepRepr/StepRepr_MaterialPropertyRepresentation.cdl
Executable file
@@ -0,0 +1,34 @@
|
||||
-- File: StepRepr_MaterialPropertyRepresentation.cdl
|
||||
-- Created: Thu Dec 12 16:07:47 2002
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
-- Copyright: Open CASCADE 2002
|
||||
|
||||
class MaterialPropertyRepresentation from StepRepr
|
||||
inherits PropertyDefinitionRepresentation from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity MaterialPropertyRepresentation
|
||||
|
||||
uses
|
||||
RepresentedDefinition from StepRepr,
|
||||
Representation from StepRepr,
|
||||
DataEnvironment from StepRepr
|
||||
|
||||
is
|
||||
Create returns MaterialPropertyRepresentation from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aPropertyDefinitionRepresentation_Definition: RepresentedDefinition from StepRepr;
|
||||
aPropertyDefinitionRepresentation_UsedRepresentation: Representation from StepRepr;
|
||||
aDependentEnvironment: DataEnvironment from StepRepr);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
DependentEnvironment (me) returns DataEnvironment from StepRepr;
|
||||
---Purpose: Returns field DependentEnvironment
|
||||
SetDependentEnvironment (me: mutable; DependentEnvironment: DataEnvironment from StepRepr);
|
||||
---Purpose: Set field DependentEnvironment
|
||||
|
||||
fields
|
||||
theDependentEnvironment: DataEnvironment from StepRepr;
|
||||
|
||||
end MaterialPropertyRepresentation;
|
51
src/StepRepr/StepRepr_MaterialPropertyRepresentation.cxx
Executable file
51
src/StepRepr/StepRepr_MaterialPropertyRepresentation.cxx
Executable file
@@ -0,0 +1,51 @@
|
||||
// File: StepRepr_MaterialPropertyRepresentation.cxx
|
||||
// Created: Thu Dec 12 16:07:47 2002
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
// Copyright: Open CASCADE 2002
|
||||
|
||||
#include <StepRepr_MaterialPropertyRepresentation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_MaterialPropertyRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_MaterialPropertyRepresentation::StepRepr_MaterialPropertyRepresentation ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MaterialPropertyRepresentation::Init (const StepRepr_RepresentedDefinition &aPropertyDefinitionRepresentation_Definition,
|
||||
const Handle(StepRepr_Representation) &aPropertyDefinitionRepresentation_UsedRepresentation,
|
||||
const Handle(StepRepr_DataEnvironment) &aDependentEnvironment)
|
||||
{
|
||||
StepRepr_PropertyDefinitionRepresentation::Init(aPropertyDefinitionRepresentation_Definition,
|
||||
aPropertyDefinitionRepresentation_UsedRepresentation);
|
||||
|
||||
theDependentEnvironment = aDependentEnvironment;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : DependentEnvironment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_DataEnvironment) StepRepr_MaterialPropertyRepresentation::DependentEnvironment () const
|
||||
{
|
||||
return theDependentEnvironment;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDependentEnvironment
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MaterialPropertyRepresentation::SetDependentEnvironment (const Handle(StepRepr_DataEnvironment) &aDependentEnvironment)
|
||||
{
|
||||
theDependentEnvironment = aDependentEnvironment;
|
||||
}
|
38
src/StepRepr/StepRepr_MeasureRepresentationItem.cdl
Executable file
38
src/StepRepr/StepRepr_MeasureRepresentationItem.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepRepr_MeasureRepresentationItem.cdl
|
||||
-- Created: Wed Sep 8 10:32:35 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- <abv@doomox.nnov.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1999
|
||||
|
||||
|
||||
class MeasureRepresentationItem from StepRepr
|
||||
inherits RepresentationItem from StepRepr
|
||||
|
||||
---Purpose: Implements a measure_representation_item entity
|
||||
-- which is used for storing validation properties
|
||||
-- (e.g. area) for shapes
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
Unit from StepBasic,
|
||||
MeasureWithUnit from StepBasic,
|
||||
MeasureValueMember from StepBasic
|
||||
|
||||
is
|
||||
Create returns mutable MeasureRepresentationItem;
|
||||
---Purpose: Creates empty object
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aValueComponent : MeasureValueMember from StepBasic;
|
||||
aUnitComponent : Unit from StepBasic);
|
||||
---Purpose: Init all fields
|
||||
|
||||
SetMeasure (me: mutable; Measure: MeasureWithUnit from StepBasic);
|
||||
Measure (me) returns MeasureWithUnit from StepBasic;
|
||||
|
||||
fields
|
||||
myMeasure: MeasureWithUnit from StepBasic;
|
||||
|
||||
end MeasureRepresentationItem;
|
||||
|
49
src/StepRepr/StepRepr_MeasureRepresentationItem.cxx
Executable file
49
src/StepRepr/StepRepr_MeasureRepresentationItem.cxx
Executable file
@@ -0,0 +1,49 @@
|
||||
// File: StepRepr_MeasureRepresentationItem.cxx
|
||||
// Created: Wed Sep 8 11:16:06 1999
|
||||
// Author: Andrey BETENEV
|
||||
// <abv@doomox.nnov.matra-dtv.fr>
|
||||
|
||||
#include <StepRepr_MeasureRepresentationItem.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_MeasureRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_MeasureRepresentationItem::StepRepr_MeasureRepresentationItem()
|
||||
{
|
||||
myMeasure = new StepBasic_MeasureWithUnit;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MeasureRepresentationItem::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Handle(StepBasic_MeasureValueMember) &aValueComponent,
|
||||
const StepBasic_Unit &aUnitComponent)
|
||||
{
|
||||
StepRepr_RepresentationItem::Init ( aName );
|
||||
myMeasure->Init ( aValueComponent, aUnitComponent );
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMeasureUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_MeasureRepresentationItem::SetMeasure (const Handle(StepBasic_MeasureWithUnit) &Measure)
|
||||
{
|
||||
myMeasure = Measure;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Measure
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_MeasureWithUnit) StepRepr_MeasureRepresentationItem::Measure () const
|
||||
{
|
||||
return myMeasure;
|
||||
}
|
20
src/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cdl
Executable file
20
src/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepRepr_NextAssemblyUsageOccurrence.cdl
|
||||
-- Created: Mon Jul 3 19:47:51 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class NextAssemblyUsageOccurrence from StepRepr
|
||||
inherits AssemblyComponentUsage from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity NextAssemblyUsageOccurrence
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductDefinition from StepBasic
|
||||
|
||||
is
|
||||
Create returns NextAssemblyUsageOccurrence from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end NextAssemblyUsageOccurrence;
|
16
src/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cxx
Executable file
16
src/StepRepr/StepRepr_NextAssemblyUsageOccurrence.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepRepr_NextAssemblyUsageOccurrence.cxx
|
||||
// Created: Mon Jul 3 19:47:51 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_NextAssemblyUsageOccurrence.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_NextAssemblyUsageOccurrence
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_NextAssemblyUsageOccurrence::StepRepr_NextAssemblyUsageOccurrence ()
|
||||
{
|
||||
}
|
20
src/StepRepr/StepRepr_ParametricRepresentationContext.cdl
Executable file
20
src/StepRepr/StepRepr_ParametricRepresentationContext.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: ParametricRepresentationContext.cdl
|
||||
-- Created: Fri Dec 1 11:11:23 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ParametricRepresentationContext from StepRepr
|
||||
|
||||
inherits RepresentationContext from StepRepr
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable ParametricRepresentationContext;
|
||||
---Purpose: Returns a ParametricRepresentationContext
|
||||
|
||||
|
||||
end ParametricRepresentationContext;
|
5
src/StepRepr/StepRepr_ParametricRepresentationContext.cxx
Executable file
5
src/StepRepr/StepRepr_ParametricRepresentationContext.cxx
Executable file
@@ -0,0 +1,5 @@
|
||||
#include <StepRepr_ParametricRepresentationContext.ixx>
|
||||
|
||||
|
||||
StepRepr_ParametricRepresentationContext::StepRepr_ParametricRepresentationContext () {}
|
||||
|
56
src/StepRepr/StepRepr_ProductConcept.cdl
Executable file
56
src/StepRepr/StepRepr_ProductConcept.cdl
Executable file
@@ -0,0 +1,56 @@
|
||||
-- File: StepRepr_ProductConcept.cdl
|
||||
-- Created: Fri Nov 26 16:26:38 1999
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ProductConcept from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ProductConcept
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductConceptContext from StepBasic
|
||||
|
||||
is
|
||||
Create returns ProductConcept from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aId: HAsciiString from TCollection;
|
||||
aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aMarketContext: ProductConceptContext 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
|
||||
|
||||
MarketContext (me) returns ProductConceptContext from StepBasic;
|
||||
---Purpose: Returns field MarketContext
|
||||
SetMarketContext (me: mutable; MarketContext: ProductConceptContext from StepBasic);
|
||||
---Purpose: Set field MarketContext
|
||||
|
||||
fields
|
||||
theId: HAsciiString from TCollection;
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theMarketContext: ProductConceptContext from StepBasic;
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end ProductConcept;
|
132
src/StepRepr/StepRepr_ProductConcept.cxx
Executable file
132
src/StepRepr/StepRepr_ProductConcept.cxx
Executable file
@@ -0,0 +1,132 @@
|
||||
// File: StepRepr_ProductConcept.cxx
|
||||
// Created: Fri Nov 26 16:26:38 1999
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepRepr_ProductConcept.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ProductConcept
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ProductConcept::StepRepr_ProductConcept ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ProductConcept::Init (const Handle(TCollection_HAsciiString) &aId,
|
||||
const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(StepBasic_ProductConceptContext) &aMarketContext)
|
||||
{
|
||||
|
||||
theId = aId;
|
||||
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
|
||||
theMarketContext = aMarketContext;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Id
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ProductConcept::Id () const
|
||||
{
|
||||
return theId;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetId
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ProductConcept::SetId (const Handle(TCollection_HAsciiString) &aId)
|
||||
{
|
||||
theId = aId;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ProductConcept::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ProductConcept::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ProductConcept::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ProductConcept::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepRepr_ProductConcept::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : MarketContext
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_ProductConceptContext) StepRepr_ProductConcept::MarketContext () const
|
||||
{
|
||||
return theMarketContext;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMarketContext
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ProductConcept::SetMarketContext (const Handle(StepBasic_ProductConceptContext) &aMarketContext)
|
||||
{
|
||||
theMarketContext = aMarketContext;
|
||||
}
|
20
src/StepRepr/StepRepr_ProductDefinitionShape.cdl
Executable file
20
src/StepRepr/StepRepr_ProductDefinitionShape.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepRepr_ProductDefinitionShape.cdl
|
||||
-- Created: Mon Jul 3 16:29:03 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class ProductDefinitionShape from StepRepr
|
||||
inherits PropertyDefinition from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity ProductDefinitionShape
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
CharacterizedDefinition from StepRepr
|
||||
|
||||
is
|
||||
Create returns ProductDefinitionShape from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end ProductDefinitionShape;
|
16
src/StepRepr/StepRepr_ProductDefinitionShape.cxx
Executable file
16
src/StepRepr/StepRepr_ProductDefinitionShape.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepRepr_ProductDefinitionShape.cxx
|
||||
// Created: Mon Jul 3 16:29:03 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_ProductDefinitionShape.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ProductDefinitionShape
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ProductDefinitionShape::StepRepr_ProductDefinitionShape ()
|
||||
{
|
||||
}
|
20
src/StepRepr/StepRepr_ProductDefinitionUsage.cdl
Executable file
20
src/StepRepr/StepRepr_ProductDefinitionUsage.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepRepr_ProductDefinitionUsage.cdl
|
||||
-- Created: Mon Jul 3 19:47:51 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class ProductDefinitionUsage from StepRepr
|
||||
inherits ProductDefinitionRelationship from StepBasic
|
||||
|
||||
---Purpose: Representation of STEP entity ProductDefinitionUsage
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductDefinition from StepBasic
|
||||
|
||||
is
|
||||
Create returns ProductDefinitionUsage from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end ProductDefinitionUsage;
|
16
src/StepRepr/StepRepr_ProductDefinitionUsage.cxx
Executable file
16
src/StepRepr/StepRepr_ProductDefinitionUsage.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepRepr_ProductDefinitionUsage.cxx
|
||||
// Created: Mon Jul 3 19:47:51 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_ProductDefinitionUsage.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ProductDefinitionUsage
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ProductDefinitionUsage::StepRepr_ProductDefinitionUsage ()
|
||||
{
|
||||
}
|
17
src/StepRepr/StepRepr_PromissoryUsageOccurrence.cdl
Executable file
17
src/StepRepr/StepRepr_PromissoryUsageOccurrence.cdl
Executable file
@@ -0,0 +1,17 @@
|
||||
-- File: StepRepr_PromissoryUsageOccurrence.cdl
|
||||
-- Created: Tue Jun 30 17:14:09 1998
|
||||
-- Author: Administrateur Atelier XSTEP
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class PromissoryUsageOccurrence from StepRepr inherits AssemblyComponentUsage
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable PromissoryUsageOccurrence;
|
||||
|
||||
end PromissoryUsageOccurrence;
|
3
src/StepRepr/StepRepr_PromissoryUsageOccurrence.cxx
Executable file
3
src/StepRepr/StepRepr_PromissoryUsageOccurrence.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepRepr_PromissoryUsageOccurrence.ixx>
|
||||
|
||||
StepRepr_PromissoryUsageOccurrence::StepRepr_PromissoryUsageOccurrence () { }
|
49
src/StepRepr/StepRepr_PropertyDefinition.cdl
Executable file
49
src/StepRepr/StepRepr_PropertyDefinition.cdl
Executable file
@@ -0,0 +1,49 @@
|
||||
-- File: StepRepr_PropertyDefinition.cdl
|
||||
-- Created: Mon Jul 3 16:29:03 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class PropertyDefinition from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity PropertyDefinition
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
CharacterizedDefinition from StepRepr
|
||||
|
||||
is
|
||||
Create returns PropertyDefinition from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aDefinition: CharacterizedDefinition from StepRepr);
|
||||
---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
|
||||
|
||||
Definition (me) returns CharacterizedDefinition from StepRepr;
|
||||
---Purpose: Returns field Definition
|
||||
SetDefinition (me: mutable; Definition: CharacterizedDefinition from StepRepr);
|
||||
---Purpose: Set field Definition
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theDefinition: CharacterizedDefinition from StepRepr;
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end PropertyDefinition;
|
109
src/StepRepr/StepRepr_PropertyDefinition.cxx
Executable file
109
src/StepRepr/StepRepr_PropertyDefinition.cxx
Executable file
@@ -0,0 +1,109 @@
|
||||
// File: StepRepr_PropertyDefinition.cxx
|
||||
// Created: Mon Jul 3 16:29:03 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_PropertyDefinition.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_PropertyDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_PropertyDefinition::StepRepr_PropertyDefinition ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinition::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const StepRepr_CharacterizedDefinition &aDefinition)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
|
||||
theDefinition = aDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_PropertyDefinition::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinition::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_PropertyDefinition::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinition::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepRepr_PropertyDefinition::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Definition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_CharacterizedDefinition StepRepr_PropertyDefinition::Definition () const
|
||||
{
|
||||
return theDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinition::SetDefinition (const StepRepr_CharacterizedDefinition &aDefinition)
|
||||
{
|
||||
theDefinition = aDefinition;
|
||||
}
|
52
src/StepRepr/StepRepr_PropertyDefinitionRelationship.cdl
Executable file
52
src/StepRepr/StepRepr_PropertyDefinitionRelationship.cdl
Executable file
@@ -0,0 +1,52 @@
|
||||
-- File: StepRepr_PropertyDefinitionRelationship.cdl
|
||||
-- Created: Thu Dec 12 16:04:59 2002
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
-- Copyright: Open CASCADE 2002
|
||||
|
||||
class PropertyDefinitionRelationship from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity PropertyDefinitionRelationship
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
PropertyDefinition from StepRepr
|
||||
|
||||
is
|
||||
Create returns PropertyDefinitionRelationship from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aRelatingPropertyDefinition: PropertyDefinition from StepRepr;
|
||||
aRelatedPropertyDefinition: PropertyDefinition from StepRepr);
|
||||
---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
|
||||
|
||||
RelatingPropertyDefinition (me) returns PropertyDefinition from StepRepr;
|
||||
---Purpose: Returns field RelatingPropertyDefinition
|
||||
SetRelatingPropertyDefinition (me: mutable; RelatingPropertyDefinition: PropertyDefinition from StepRepr);
|
||||
---Purpose: Set field RelatingPropertyDefinition
|
||||
|
||||
RelatedPropertyDefinition (me) returns PropertyDefinition from StepRepr;
|
||||
---Purpose: Returns field RelatedPropertyDefinition
|
||||
SetRelatedPropertyDefinition (me: mutable; RelatedPropertyDefinition: PropertyDefinition from StepRepr);
|
||||
---Purpose: Set field RelatedPropertyDefinition
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection;
|
||||
theRelatingPropertyDefinition: PropertyDefinition from StepRepr;
|
||||
theRelatedPropertyDefinition: PropertyDefinition from StepRepr;
|
||||
|
||||
end PropertyDefinitionRelationship;
|
116
src/StepRepr/StepRepr_PropertyDefinitionRelationship.cxx
Executable file
116
src/StepRepr/StepRepr_PropertyDefinitionRelationship.cxx
Executable file
@@ -0,0 +1,116 @@
|
||||
// File: StepRepr_PropertyDefinitionRelationship.cxx
|
||||
// Created: Thu Dec 12 16:04:59 2002
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
// Copyright: Open CASCADE 2002
|
||||
|
||||
#include <StepRepr_PropertyDefinitionRelationship.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_PropertyDefinitionRelationship
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_PropertyDefinitionRelationship::StepRepr_PropertyDefinitionRelationship ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRelationship::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(StepRepr_PropertyDefinition) &aRelatingPropertyDefinition,
|
||||
const Handle(StepRepr_PropertyDefinition) &aRelatedPropertyDefinition)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
theDescription = aDescription;
|
||||
|
||||
theRelatingPropertyDefinition = aRelatingPropertyDefinition;
|
||||
|
||||
theRelatedPropertyDefinition = aRelatedPropertyDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_PropertyDefinitionRelationship::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRelationship::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_PropertyDefinitionRelationship::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRelationship::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : RelatingPropertyDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_PropertyDefinition) StepRepr_PropertyDefinitionRelationship::RelatingPropertyDefinition () const
|
||||
{
|
||||
return theRelatingPropertyDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRelatingPropertyDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRelationship::SetRelatingPropertyDefinition (const Handle(StepRepr_PropertyDefinition) &aRelatingPropertyDefinition)
|
||||
{
|
||||
theRelatingPropertyDefinition = aRelatingPropertyDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : RelatedPropertyDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_PropertyDefinition) StepRepr_PropertyDefinitionRelationship::RelatedPropertyDefinition () const
|
||||
{
|
||||
return theRelatedPropertyDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRelatedPropertyDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRelationship::SetRelatedPropertyDefinition (const Handle(StepRepr_PropertyDefinition) &aRelatedPropertyDefinition)
|
||||
{
|
||||
theRelatedPropertyDefinition = aRelatedPropertyDefinition;
|
||||
}
|
38
src/StepRepr/StepRepr_PropertyDefinitionRepresentation.cdl
Executable file
38
src/StepRepr/StepRepr_PropertyDefinitionRepresentation.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepRepr_PropertyDefinitionRepresentation.cdl
|
||||
-- Created: Thu Dec 12 16:02:14 2002
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
-- Copyright: Open CASCADE 2002
|
||||
|
||||
class PropertyDefinitionRepresentation from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity PropertyDefinitionRepresentation
|
||||
|
||||
uses
|
||||
RepresentedDefinition from StepRepr,
|
||||
Representation from StepRepr
|
||||
|
||||
is
|
||||
Create returns PropertyDefinitionRepresentation from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aDefinition: RepresentedDefinition from StepRepr;
|
||||
aUsedRepresentation: Representation from StepRepr);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Definition (me) returns RepresentedDefinition from StepRepr;
|
||||
---Purpose: Returns field Definition
|
||||
SetDefinition (me: mutable; Definition: RepresentedDefinition from StepRepr);
|
||||
---Purpose: Set field Definition
|
||||
|
||||
UsedRepresentation (me) returns Representation from StepRepr;
|
||||
---Purpose: Returns field UsedRepresentation
|
||||
SetUsedRepresentation (me: mutable; UsedRepresentation: Representation from StepRepr);
|
||||
---Purpose: Set field UsedRepresentation
|
||||
|
||||
fields
|
||||
theDefinition: RepresentedDefinition from StepRepr;
|
||||
theUsedRepresentation: Representation from StepRepr;
|
||||
|
||||
end PropertyDefinitionRepresentation;
|
70
src/StepRepr/StepRepr_PropertyDefinitionRepresentation.cxx
Executable file
70
src/StepRepr/StepRepr_PropertyDefinitionRepresentation.cxx
Executable file
@@ -0,0 +1,70 @@
|
||||
// File: StepRepr_PropertyDefinitionRepresentation.cxx
|
||||
// Created: Thu Dec 12 16:02:14 2002
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
// Copyright: Open CASCADE 2002
|
||||
|
||||
#include <StepRepr_PropertyDefinitionRepresentation.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_PropertyDefinitionRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_PropertyDefinitionRepresentation::StepRepr_PropertyDefinitionRepresentation ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRepresentation::Init (const StepRepr_RepresentedDefinition &aDefinition,
|
||||
const Handle(StepRepr_Representation) &aUsedRepresentation)
|
||||
{
|
||||
|
||||
theDefinition = aDefinition;
|
||||
|
||||
theUsedRepresentation = aUsedRepresentation;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Definition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_RepresentedDefinition StepRepr_PropertyDefinitionRepresentation::Definition () const
|
||||
{
|
||||
return theDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRepresentation::SetDefinition (const StepRepr_RepresentedDefinition &aDefinition)
|
||||
{
|
||||
theDefinition = aDefinition;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : UsedRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_Representation) StepRepr_PropertyDefinitionRepresentation::UsedRepresentation () const
|
||||
{
|
||||
return theUsedRepresentation;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetUsedRepresentation
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_PropertyDefinitionRepresentation::SetUsedRepresentation (const Handle(StepRepr_Representation) &aUsedRepresentation)
|
||||
{
|
||||
theUsedRepresentation = aUsedRepresentation;
|
||||
}
|
40
src/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cdl
Executable file
40
src/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cdl
Executable file
@@ -0,0 +1,40 @@
|
||||
-- File: StepRepr_QuantifiedAssemblyComponentUsage.cdl
|
||||
-- Created: Mon Jul 3 20:13:37 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
-- Copyright: Matra Datavision 2000
|
||||
|
||||
class QuantifiedAssemblyComponentUsage from StepRepr
|
||||
inherits AssemblyComponentUsage from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity QuantifiedAssemblyComponentUsage
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ProductDefinition from StepBasic,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
Create returns QuantifiedAssemblyComponentUsage from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aProductDefinitionRelationship_Id: HAsciiString from TCollection;
|
||||
aProductDefinitionRelationship_Name: HAsciiString from TCollection;
|
||||
hasProductDefinitionRelationship_Description: Boolean;
|
||||
aProductDefinitionRelationship_Description: HAsciiString from TCollection;
|
||||
aProductDefinitionRelationship_RelatingProductDefinition: ProductDefinition from StepBasic;
|
||||
aProductDefinitionRelationship_RelatedProductDefinition: ProductDefinition from StepBasic;
|
||||
hasAssemblyComponentUsage_ReferenceDesignator: Boolean;
|
||||
aAssemblyComponentUsage_ReferenceDesignator: HAsciiString from TCollection;
|
||||
aQuantity: MeasureWithUnit from StepBasic);
|
||||
---Purpose: Initialize all fields (own and inherited)
|
||||
|
||||
Quantity (me) returns MeasureWithUnit from StepBasic;
|
||||
---Purpose: Returns field Quantity
|
||||
SetQuantity (me: mutable; Quantity: MeasureWithUnit from StepBasic);
|
||||
---Purpose: Set field Quantity
|
||||
|
||||
fields
|
||||
theQuantity: MeasureWithUnit from StepBasic;
|
||||
|
||||
end QuantifiedAssemblyComponentUsage;
|
63
src/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cxx
Executable file
63
src/StepRepr/StepRepr_QuantifiedAssemblyComponentUsage.cxx
Executable file
@@ -0,0 +1,63 @@
|
||||
// File: StepRepr_QuantifiedAssemblyComponentUsage.cxx
|
||||
// Created: Mon Jul 3 20:13:37 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
|
||||
// Copyright: Matra Datavision 2000
|
||||
|
||||
#include <StepRepr_QuantifiedAssemblyComponentUsage.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_QuantifiedAssemblyComponentUsage
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_QuantifiedAssemblyComponentUsage::StepRepr_QuantifiedAssemblyComponentUsage ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_QuantifiedAssemblyComponentUsage::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
|
||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
|
||||
const Standard_Boolean hasProductDefinitionRelationship_Description,
|
||||
const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
|
||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatingProductDefinition,
|
||||
const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatedProductDefinition,
|
||||
const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
|
||||
const Handle(TCollection_HAsciiString) &aAssemblyComponentUsage_ReferenceDesignator,
|
||||
const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
||||
{
|
||||
StepRepr_AssemblyComponentUsage::Init(aProductDefinitionRelationship_Id,
|
||||
aProductDefinitionRelationship_Name,
|
||||
hasProductDefinitionRelationship_Description,
|
||||
aProductDefinitionRelationship_Description,
|
||||
aProductDefinitionRelationship_RelatingProductDefinition,
|
||||
aProductDefinitionRelationship_RelatedProductDefinition,
|
||||
hasAssemblyComponentUsage_ReferenceDesignator,
|
||||
aAssemblyComponentUsage_ReferenceDesignator);
|
||||
|
||||
theQuantity = aQuantity;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Quantity
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_MeasureWithUnit) StepRepr_QuantifiedAssemblyComponentUsage::Quantity () const
|
||||
{
|
||||
return theQuantity;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetQuantity
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_QuantifiedAssemblyComponentUsage::SetQuantity (const Handle(StepBasic_MeasureWithUnit) &aQuantity)
|
||||
{
|
||||
theQuantity = aQuantity;
|
||||
}
|
38
src/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cdl
Executable file
38
src/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepRepr_ReprItemAndLengthMeasureWithUnit.cdl
|
||||
-- Created: Thu Aug 21 10:38:57 2003
|
||||
-- Author: Sergey KUUL
|
||||
-- <skl@petrox.nnov.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2003
|
||||
|
||||
class ReprItemAndLengthMeasureWithUnit from StepRepr inherits RepresentationItem from StepRepr
|
||||
|
||||
uses
|
||||
LengthMeasureWithUnit from StepBasic,
|
||||
MeasureRepresentationItem from StepRepr,
|
||||
MeasureWithUnit from StepBasic
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ReprItemAndLengthMeasureWithUnit;
|
||||
|
||||
Init(me: mutable; aMWU: mutable MeasureWithUnit; aRI : RepresentationItem);
|
||||
|
||||
SetLengthMeasureWithUnit(me: mutable; aLMWU: mutable LengthMeasureWithUnit);
|
||||
|
||||
GetLengthMeasureWithUnit(me) returns mutable LengthMeasureWithUnit;
|
||||
|
||||
GetMeasureRepresentationItem(me) returns mutable MeasureRepresentationItem;
|
||||
|
||||
SetMeasureWithUnit(me: mutable; aMWU: mutable MeasureWithUnit);
|
||||
|
||||
GetMeasureWithUnit(me) returns mutable MeasureWithUnit;
|
||||
|
||||
GetRepresentationItem(me) returns mutable RepresentationItem;
|
||||
|
||||
fields
|
||||
|
||||
myLengthMeasureWithUnit: LengthMeasureWithUnit from StepBasic;
|
||||
myMeasureRepresentationItem : MeasureRepresentationItem from StepRepr;
|
||||
myMeasureWithUnit: MeasureWithUnit from StepBasic;
|
||||
|
||||
end ReprItemAndLengthMeasureWithUnit;
|
104
src/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cxx
Executable file
104
src/StepRepr/StepRepr_ReprItemAndLengthMeasureWithUnit.cxx
Executable file
@@ -0,0 +1,104 @@
|
||||
#include <StepRepr_ReprItemAndLengthMeasureWithUnit.ixx>
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ReprItemAndLengthMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ReprItemAndLengthMeasureWithUnit::StepRepr_ReprItemAndLengthMeasureWithUnit()
|
||||
{
|
||||
myLengthMeasureWithUnit = new StepBasic_LengthMeasureWithUnit();
|
||||
myMeasureWithUnit = new StepBasic_MeasureWithUnit();
|
||||
myMeasureRepresentationItem = new StepRepr_MeasureRepresentationItem();
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndLengthMeasureWithUnit::Init
|
||||
(const Handle(StepBasic_MeasureWithUnit)& aMWU,
|
||||
const Handle(StepRepr_RepresentationItem)& aRI)
|
||||
{
|
||||
myMeasureWithUnit = aMWU;
|
||||
SetName(aRI->Name());
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SetLengthMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndLengthMeasureWithUnit::SetLengthMeasureWithUnit
|
||||
(const Handle(StepBasic_LengthMeasureWithUnit)& aLMWU)
|
||||
{
|
||||
myLengthMeasureWithUnit = aLMWU;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetLengthMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_LengthMeasureWithUnit) StepRepr_ReprItemAndLengthMeasureWithUnit::
|
||||
GetLengthMeasureWithUnit() const
|
||||
{
|
||||
return myLengthMeasureWithUnit;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetMeasureRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_MeasureRepresentationItem) StepRepr_ReprItemAndLengthMeasureWithUnit::
|
||||
GetMeasureRepresentationItem() const
|
||||
{
|
||||
return myMeasureRepresentationItem;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : SetMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ReprItemAndLengthMeasureWithUnit::SetMeasureWithUnit
|
||||
(const Handle(StepBasic_MeasureWithUnit)& aMWU)
|
||||
{
|
||||
myMeasureWithUnit = aMWU;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetMeasureWithUnit
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_MeasureWithUnit) StepRepr_ReprItemAndLengthMeasureWithUnit::
|
||||
GetMeasureWithUnit() const
|
||||
{
|
||||
return myMeasureWithUnit;
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : GetRepresentationItem
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_ReprItemAndLengthMeasureWithUnit::
|
||||
GetRepresentationItem() const
|
||||
{
|
||||
Handle(StepRepr_RepresentationItem) RI = new StepRepr_RepresentationItem();
|
||||
RI->Init(Name());
|
||||
return RI;
|
||||
}
|
||||
|
||||
|
44
src/StepRepr/StepRepr_Representation.cdl
Executable file
44
src/StepRepr/StepRepr_Representation.cdl
Executable file
@@ -0,0 +1,44 @@
|
||||
-- File: Representation.cdl
|
||||
-- Created: Fri Dec 1 11:11:27 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class Representation from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
HArray1OfRepresentationItem from StepRepr,
|
||||
RepresentationContext from StepRepr,
|
||||
RepresentationItem from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable Representation;
|
||||
---Purpose: Returns a Representation
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aItems : mutable HArray1OfRepresentationItem from StepRepr;
|
||||
aContextOfItems : mutable RepresentationContext from StepRepr) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetName(me : mutable; aName : mutable HAsciiString);
|
||||
Name (me) returns mutable HAsciiString;
|
||||
SetItems(me : mutable; aItems : mutable HArray1OfRepresentationItem);
|
||||
Items (me) returns mutable HArray1OfRepresentationItem;
|
||||
ItemsValue (me; num : Integer) returns mutable RepresentationItem;
|
||||
NbItems (me) returns Integer;
|
||||
SetContextOfItems(me : mutable; aContextOfItems : mutable RepresentationContext);
|
||||
ContextOfItems (me) returns mutable RepresentationContext;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
items : HArray1OfRepresentationItem from StepRepr;
|
||||
contextOfItems : RepresentationContext from StepRepr;
|
||||
|
||||
end Representation;
|
57
src/StepRepr/StepRepr_Representation.cxx
Executable file
57
src/StepRepr/StepRepr_Representation.cxx
Executable file
@@ -0,0 +1,57 @@
|
||||
#include <StepRepr_Representation.ixx>
|
||||
|
||||
|
||||
StepRepr_Representation::StepRepr_Representation () {}
|
||||
|
||||
void StepRepr_Representation::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(StepRepr_HArray1OfRepresentationItem)& aItems,
|
||||
const Handle(StepRepr_RepresentationContext)& aContextOfItems)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
items = aItems;
|
||||
contextOfItems = aContextOfItems;
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_Representation::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_Representation::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepRepr_Representation::SetItems(const Handle(StepRepr_HArray1OfRepresentationItem)& aItems)
|
||||
{
|
||||
items = aItems;
|
||||
}
|
||||
|
||||
Handle(StepRepr_HArray1OfRepresentationItem) StepRepr_Representation::Items() const
|
||||
{
|
||||
return items;
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_Representation::ItemsValue(const Standard_Integer num) const
|
||||
{
|
||||
return items->Value(num);
|
||||
}
|
||||
|
||||
Standard_Integer StepRepr_Representation::NbItems () const
|
||||
{
|
||||
if (items.IsNull()) return 0;
|
||||
return items->Length();
|
||||
}
|
||||
|
||||
void StepRepr_Representation::SetContextOfItems(const Handle(StepRepr_RepresentationContext)& aContextOfItems)
|
||||
{
|
||||
contextOfItems = aContextOfItems;
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationContext) StepRepr_Representation::ContextOfItems() const
|
||||
{
|
||||
return contextOfItems;
|
||||
}
|
35
src/StepRepr/StepRepr_RepresentationContext.cdl
Executable file
35
src/StepRepr/StepRepr_RepresentationContext.cdl
Executable file
@@ -0,0 +1,35 @@
|
||||
-- File: RepresentationContext.cdl
|
||||
-- Created: Fri Dec 1 11:11:27 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class RepresentationContext from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable RepresentationContext;
|
||||
---Purpose: Returns a RepresentationContext
|
||||
|
||||
Init (me : mutable;
|
||||
aContextIdentifier : mutable HAsciiString from TCollection;
|
||||
aContextType : mutable HAsciiString from TCollection) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetContextIdentifier(me : mutable; aContextIdentifier : mutable HAsciiString);
|
||||
ContextIdentifier (me) returns mutable HAsciiString;
|
||||
SetContextType(me : mutable; aContextType : mutable HAsciiString);
|
||||
ContextType (me) returns mutable HAsciiString;
|
||||
|
||||
fields
|
||||
|
||||
contextIdentifier : HAsciiString from TCollection;
|
||||
contextType : HAsciiString from TCollection;
|
||||
|
||||
end RepresentationContext;
|
34
src/StepRepr/StepRepr_RepresentationContext.cxx
Executable file
34
src/StepRepr/StepRepr_RepresentationContext.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepRepr_RepresentationContext.ixx>
|
||||
|
||||
|
||||
StepRepr_RepresentationContext::StepRepr_RepresentationContext () {}
|
||||
|
||||
void StepRepr_RepresentationContext::Init(
|
||||
const Handle(TCollection_HAsciiString)& aContextIdentifier,
|
||||
const Handle(TCollection_HAsciiString)& aContextType)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
contextIdentifier = aContextIdentifier;
|
||||
contextType = aContextType;
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_RepresentationContext::SetContextIdentifier(const Handle(TCollection_HAsciiString)& aContextIdentifier)
|
||||
{
|
||||
contextIdentifier = aContextIdentifier;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_RepresentationContext::ContextIdentifier() const
|
||||
{
|
||||
return contextIdentifier;
|
||||
}
|
||||
|
||||
void StepRepr_RepresentationContext::SetContextType(const Handle(TCollection_HAsciiString)& aContextType)
|
||||
{
|
||||
contextType = aContextType;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_RepresentationContext::ContextType() const
|
||||
{
|
||||
return contextType;
|
||||
}
|
31
src/StepRepr/StepRepr_RepresentationItem.cdl
Executable file
31
src/StepRepr/StepRepr_RepresentationItem.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: RepresentationItem.cdl
|
||||
-- Created: Fri Dec 1 11:11:27 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class RepresentationItem from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection
|
||||
is
|
||||
|
||||
Create returns mutable RepresentationItem;
|
||||
---Purpose: Returns a RepresentationItem
|
||||
|
||||
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 RepresentationItem;
|
22
src/StepRepr/StepRepr_RepresentationItem.cxx
Executable file
22
src/StepRepr/StepRepr_RepresentationItem.cxx
Executable file
@@ -0,0 +1,22 @@
|
||||
#include <StepRepr_RepresentationItem.ixx>
|
||||
|
||||
|
||||
StepRepr_RepresentationItem::StepRepr_RepresentationItem () {}
|
||||
|
||||
void StepRepr_RepresentationItem::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_RepresentationItem::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_RepresentationItem::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
36
src/StepRepr/StepRepr_RepresentationMap.cdl
Executable file
36
src/StepRepr/StepRepr_RepresentationMap.cdl
Executable file
@@ -0,0 +1,36 @@
|
||||
-- File: RepresentationMap.cdl
|
||||
-- Created: Fri Dec 1 11:11:27 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class RepresentationMap from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
RepresentationItem from StepRepr,
|
||||
Representation from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable RepresentationMap;
|
||||
---Purpose: Returns a RepresentationMap
|
||||
|
||||
Init (me : mutable;
|
||||
aMappingOrigin : mutable RepresentationItem from StepRepr;
|
||||
aMappedRepresentation : mutable Representation from StepRepr) is virtual;
|
||||
|
||||
-- Specific Methods for Field Data Access --
|
||||
|
||||
SetMappingOrigin(me : mutable; aMappingOrigin : mutable RepresentationItem);
|
||||
MappingOrigin (me) returns mutable RepresentationItem;
|
||||
SetMappedRepresentation(me : mutable; aMappedRepresentation : mutable Representation);
|
||||
MappedRepresentation (me) returns mutable Representation;
|
||||
|
||||
fields
|
||||
|
||||
mappingOrigin : RepresentationItem from StepRepr;
|
||||
mappedRepresentation : Representation from StepRepr;
|
||||
|
||||
end RepresentationMap;
|
34
src/StepRepr/StepRepr_RepresentationMap.cxx
Executable file
34
src/StepRepr/StepRepr_RepresentationMap.cxx
Executable file
@@ -0,0 +1,34 @@
|
||||
#include <StepRepr_RepresentationMap.ixx>
|
||||
|
||||
|
||||
StepRepr_RepresentationMap::StepRepr_RepresentationMap () {}
|
||||
|
||||
void StepRepr_RepresentationMap::Init(
|
||||
const Handle(StepRepr_RepresentationItem)& aMappingOrigin,
|
||||
const Handle(StepRepr_Representation)& aMappedRepresentation)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
mappingOrigin = aMappingOrigin;
|
||||
mappedRepresentation = aMappedRepresentation;
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_RepresentationMap::SetMappingOrigin(const Handle(StepRepr_RepresentationItem)& aMappingOrigin)
|
||||
{
|
||||
mappingOrigin = aMappingOrigin;
|
||||
}
|
||||
|
||||
Handle(StepRepr_RepresentationItem) StepRepr_RepresentationMap::MappingOrigin() const
|
||||
{
|
||||
return mappingOrigin;
|
||||
}
|
||||
|
||||
void StepRepr_RepresentationMap::SetMappedRepresentation(const Handle(StepRepr_Representation)& aMappedRepresentation)
|
||||
{
|
||||
mappedRepresentation = aMappedRepresentation;
|
||||
}
|
||||
|
||||
Handle(StepRepr_Representation) StepRepr_RepresentationMap::MappedRepresentation() const
|
||||
{
|
||||
return mappedRepresentation;
|
||||
}
|
44
src/StepRepr/StepRepr_RepresentationRelationship.cdl
Executable file
44
src/StepRepr/StepRepr_RepresentationRelationship.cdl
Executable file
@@ -0,0 +1,44 @@
|
||||
-- File: RepresentationRelationship.cdl
|
||||
-- Created: Fri Dec 1 11:11:27 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class RepresentationRelationship from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
Representation from StepRepr
|
||||
is
|
||||
|
||||
Create returns mutable RepresentationRelationship;
|
||||
---Purpose: Returns a RepresentationRelationship
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aDescription : mutable HAsciiString from TCollection;
|
||||
aRep1 : mutable Representation from StepRepr;
|
||||
aRep2 : mutable Representation from StepRepr) 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;
|
||||
SetRep1(me : mutable; aRep1 : mutable Representation);
|
||||
Rep1 (me) returns mutable Representation;
|
||||
SetRep2(me : mutable; aRep2 : mutable Representation);
|
||||
Rep2 (me) returns mutable Representation;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
description : HAsciiString from TCollection;
|
||||
rep1 : Representation from StepRepr;
|
||||
rep2 : Representation from StepRepr;
|
||||
|
||||
end RepresentationRelationship;
|
58
src/StepRepr/StepRepr_RepresentationRelationship.cxx
Executable file
58
src/StepRepr/StepRepr_RepresentationRelationship.cxx
Executable file
@@ -0,0 +1,58 @@
|
||||
#include <StepRepr_RepresentationRelationship.ixx>
|
||||
|
||||
|
||||
StepRepr_RepresentationRelationship::StepRepr_RepresentationRelationship () {}
|
||||
|
||||
void StepRepr_RepresentationRelationship::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDescription,
|
||||
const Handle(StepRepr_Representation)& aRep1,
|
||||
const Handle(StepRepr_Representation)& aRep2)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
description = aDescription;
|
||||
rep1 = aRep1;
|
||||
rep2 = aRep2;
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_RepresentationRelationship::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_RepresentationRelationship::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepRepr_RepresentationRelationship::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{
|
||||
description = aDescription;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_RepresentationRelationship::Description() const
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
void StepRepr_RepresentationRelationship::SetRep1(const Handle(StepRepr_Representation)& aRep1)
|
||||
{
|
||||
rep1 = aRep1;
|
||||
}
|
||||
|
||||
Handle(StepRepr_Representation) StepRepr_RepresentationRelationship::Rep1() const
|
||||
{
|
||||
return rep1;
|
||||
}
|
||||
|
||||
void StepRepr_RepresentationRelationship::SetRep2(const Handle(StepRepr_Representation)& aRep2)
|
||||
{
|
||||
rep2 = aRep2;
|
||||
}
|
||||
|
||||
Handle(StepRepr_Representation) StepRepr_RepresentationRelationship::Rep2() const
|
||||
{
|
||||
return rep2;
|
||||
}
|
38
src/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cdl
Executable file
38
src/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cdl
Executable file
@@ -0,0 +1,38 @@
|
||||
-- File: StepRepr_RepresentationRelationshipWithTransformation.cdl
|
||||
-- Created: Tue Jun 30 18:09:19 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class RepresentationRelationshipWithTransformation from StepRepr
|
||||
inherits ShapeRepresentationRelationship
|
||||
|
||||
-- in principle, inherits RepresentationRelationship
|
||||
-- But <Shape>... only adds a constraint on a field, this allows to
|
||||
-- simplify the multiple inheritance between ShapeRR and RRWithTransf...
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
Representation from StepRepr,
|
||||
Transformation from StepRepr
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable RepresentationRelationshipWithTransformation;
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aDescription : mutable HAsciiString from TCollection;
|
||||
aRep1 : mutable Representation from StepRepr;
|
||||
aRep2 : mutable Representation from StepRepr;
|
||||
aTransf : Transformation);
|
||||
|
||||
TransformationOperator (me) returns Transformation;
|
||||
SetTransformationOperator (me : mutable; aTrans : Transformation);
|
||||
|
||||
fields
|
||||
|
||||
theTrans : Transformation;
|
||||
|
||||
end RepresentationRelationshipWithTransformation;
|
20
src/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cxx
Executable file
20
src/StepRepr/StepRepr_RepresentationRelationshipWithTransformation.cxx
Executable file
@@ -0,0 +1,20 @@
|
||||
#include <StepRepr_RepresentationRelationshipWithTransformation.ixx>
|
||||
|
||||
StepRepr_RepresentationRelationshipWithTransformation::StepRepr_RepresentationRelationshipWithTransformation () { }
|
||||
|
||||
void StepRepr_RepresentationRelationshipWithTransformation::Init
|
||||
(const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDescription,
|
||||
const Handle(StepRepr_Representation)& aRep1,
|
||||
const Handle(StepRepr_Representation)& aRep2,
|
||||
const StepRepr_Transformation& aTrans)
|
||||
{
|
||||
StepRepr_RepresentationRelationship::Init (aName,aDescription,aRep1,aRep2);
|
||||
theTrans = aTrans;
|
||||
}
|
||||
|
||||
StepRepr_Transformation StepRepr_RepresentationRelationshipWithTransformation::TransformationOperator () const
|
||||
{ return theTrans; }
|
||||
|
||||
void StepRepr_RepresentationRelationshipWithTransformation::SetTransformationOperator (const StepRepr_Transformation& aTrans)
|
||||
{ theTrans = aTrans; }
|
47
src/StepRepr/StepRepr_RepresentedDefinition.cdl
Executable file
47
src/StepRepr/StepRepr_RepresentedDefinition.cdl
Executable file
@@ -0,0 +1,47 @@
|
||||
-- File: StepRepr_RepresentedDefinition.cdl
|
||||
-- Created: Thu Dec 12 16:02:14 2002
|
||||
-- Author: data exchange team
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
-- Copyright: Open CASCADE 2002
|
||||
|
||||
class RepresentedDefinition from StepRepr
|
||||
inherits SelectType from StepData
|
||||
|
||||
---Purpose: Representation of STEP SELECT type RepresentedDefinition
|
||||
|
||||
uses
|
||||
GeneralProperty from StepBasic,
|
||||
PropertyDefinition from StepRepr,
|
||||
PropertyDefinitionRelationship from StepRepr,
|
||||
ShapeAspect from StepRepr,
|
||||
ShapeAspectRelationship from StepRepr
|
||||
|
||||
is
|
||||
Create returns RepresentedDefinition from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
CaseNum (me; ent: Transient) returns Integer;
|
||||
---Purpose: Recognizes a kind of RepresentedDefinition select type
|
||||
-- 1 -> GeneralProperty from StepBasic
|
||||
-- 2 -> PropertyDefinition from StepRepr
|
||||
-- 3 -> PropertyDefinitionRelationship from StepRepr
|
||||
-- 4 -> ShapeAspect from StepRepr
|
||||
-- 5 -> ShapeAspectRelationship from StepRepr
|
||||
-- 0 else
|
||||
|
||||
GeneralProperty (me) returns GeneralProperty from StepBasic;
|
||||
---Purpose: Returns Value as GeneralProperty (or Null if another type)
|
||||
|
||||
PropertyDefinition (me) returns PropertyDefinition from StepRepr;
|
||||
---Purpose: Returns Value as PropertyDefinition (or Null if another type)
|
||||
|
||||
PropertyDefinitionRelationship (me) returns PropertyDefinitionRelationship from StepRepr;
|
||||
---Purpose: Returns Value as PropertyDefinitionRelationship (or Null if another type)
|
||||
|
||||
ShapeAspect (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns Value as ShapeAspect (or Null if another type)
|
||||
|
||||
ShapeAspectRelationship (me) returns ShapeAspectRelationship from StepRepr;
|
||||
---Purpose: Returns Value as ShapeAspectRelationship (or Null if another type)
|
||||
|
||||
end RepresentedDefinition;
|
82
src/StepRepr/StepRepr_RepresentedDefinition.cxx
Executable file
82
src/StepRepr/StepRepr_RepresentedDefinition.cxx
Executable file
@@ -0,0 +1,82 @@
|
||||
// File: StepRepr_RepresentedDefinition.cxx
|
||||
// Created: Thu Dec 12 16:02:14 2002
|
||||
// Author: data exchange team
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
|
||||
// Copyright: Open CASCADE 2002
|
||||
|
||||
#include <StepRepr_RepresentedDefinition.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_RepresentedDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_RepresentedDefinition::StepRepr_RepresentedDefinition ()
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : CaseNum
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer StepRepr_RepresentedDefinition::CaseNum (const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepBasic_GeneralProperty))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinition))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_PropertyDefinitionRelationship))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspect))) return 4;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspectRelationship))) return 5;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : GeneralProperty
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepBasic_GeneralProperty) StepRepr_RepresentedDefinition::GeneralProperty () const
|
||||
{
|
||||
return Handle(StepBasic_GeneralProperty)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : PropertyDefinition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_PropertyDefinition) StepRepr_RepresentedDefinition::PropertyDefinition () const
|
||||
{
|
||||
return Handle(StepRepr_PropertyDefinition)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : PropertyDefinitionRelationship
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_PropertyDefinitionRelationship) StepRepr_RepresentedDefinition::PropertyDefinitionRelationship () const
|
||||
{
|
||||
return Handle(StepRepr_PropertyDefinitionRelationship)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAspect
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepRepr_RepresentedDefinition::ShapeAspect () const
|
||||
{
|
||||
return Handle(StepRepr_ShapeAspect)::DownCast(Value());
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAspectRelationship
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspectRelationship) StepRepr_RepresentedDefinition::ShapeAspectRelationship () const
|
||||
{
|
||||
return Handle(StepRepr_ShapeAspectRelationship)::DownCast(Value());
|
||||
}
|
45
src/StepRepr/StepRepr_ShapeAspect.cdl
Executable file
45
src/StepRepr/StepRepr_ShapeAspect.cdl
Executable file
@@ -0,0 +1,45 @@
|
||||
-- File: ShapeAspect.cdl
|
||||
-- Created: Fri Dec 1 11:11:27 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
class ShapeAspect from StepRepr
|
||||
|
||||
inherits TShared from MMgt
|
||||
|
||||
uses
|
||||
|
||||
HAsciiString from TCollection,
|
||||
ProductDefinitionShape from StepRepr,
|
||||
Logical from StepData
|
||||
is
|
||||
|
||||
Create returns mutable ShapeAspect;
|
||||
---Purpose: Returns a ShapeAspect
|
||||
|
||||
Init (me : mutable;
|
||||
aName : mutable HAsciiString from TCollection;
|
||||
aDescription : mutable HAsciiString from TCollection;
|
||||
aOfShape : mutable ProductDefinitionShape from StepRepr;
|
||||
aProductDefinitional : Logical from StepData) 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;
|
||||
SetOfShape(me : mutable; aOfShape : mutable ProductDefinitionShape);
|
||||
OfShape (me) returns mutable ProductDefinitionShape;
|
||||
SetProductDefinitional(me : mutable; aProductDefinitional : Logical);
|
||||
ProductDefinitional (me) returns Logical;
|
||||
|
||||
fields
|
||||
|
||||
name : HAsciiString from TCollection;
|
||||
description : HAsciiString from TCollection;
|
||||
ofShape : ProductDefinitionShape from StepRepr;
|
||||
productDefinitional : Logical from StepData;
|
||||
|
||||
end ShapeAspect;
|
58
src/StepRepr/StepRepr_ShapeAspect.cxx
Executable file
58
src/StepRepr/StepRepr_ShapeAspect.cxx
Executable file
@@ -0,0 +1,58 @@
|
||||
#include <StepRepr_ShapeAspect.ixx>
|
||||
|
||||
|
||||
StepRepr_ShapeAspect::StepRepr_ShapeAspect () {}
|
||||
|
||||
void StepRepr_ShapeAspect::Init(
|
||||
const Handle(TCollection_HAsciiString)& aName,
|
||||
const Handle(TCollection_HAsciiString)& aDescription,
|
||||
const Handle(StepRepr_ProductDefinitionShape)& aOfShape,
|
||||
const StepData_Logical aProductDefinitional)
|
||||
{
|
||||
// --- classe own fields ---
|
||||
name = aName;
|
||||
description = aDescription;
|
||||
ofShape = aOfShape;
|
||||
productDefinitional = aProductDefinitional;
|
||||
}
|
||||
|
||||
|
||||
void StepRepr_ShapeAspect::SetName(const Handle(TCollection_HAsciiString)& aName)
|
||||
{
|
||||
name = aName;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ShapeAspect::Name() const
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
void StepRepr_ShapeAspect::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
|
||||
{
|
||||
description = aDescription;
|
||||
}
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ShapeAspect::Description() const
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
void StepRepr_ShapeAspect::SetOfShape(const Handle(StepRepr_ProductDefinitionShape)& aOfShape)
|
||||
{
|
||||
ofShape = aOfShape;
|
||||
}
|
||||
|
||||
Handle(StepRepr_ProductDefinitionShape) StepRepr_ShapeAspect::OfShape() const
|
||||
{
|
||||
return ofShape;
|
||||
}
|
||||
|
||||
void StepRepr_ShapeAspect::SetProductDefinitional(const StepData_Logical aProductDefinitional)
|
||||
{
|
||||
productDefinitional = aProductDefinitional;
|
||||
}
|
||||
|
||||
StepData_Logical StepRepr_ShapeAspect::ProductDefinitional() const
|
||||
{
|
||||
return productDefinitional;
|
||||
}
|
19
src/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cdl
Executable file
19
src/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cdl
Executable file
@@ -0,0 +1,19 @@
|
||||
-- File: StepRepr_ShapeAspectDerivingRelationship.cdl
|
||||
-- Created: Tue Apr 24 18:04:22 2001
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@photox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2001
|
||||
|
||||
class ShapeAspectDerivingRelationship from StepRepr
|
||||
inherits ShapeAspectRelationship from StepRepr
|
||||
|
||||
---Purpose : Added for Dimensional Tolerances
|
||||
|
||||
uses
|
||||
Integer
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ShapeAspectDerivingRelationship;
|
||||
|
||||
end ShapeAspectDerivingRelationship;
|
3
src/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cxx
Executable file
3
src/StepRepr/StepRepr_ShapeAspectDerivingRelationship.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepRepr_ShapeAspectDerivingRelationship.ixx>
|
||||
|
||||
StepRepr_ShapeAspectDerivingRelationship::StepRepr_ShapeAspectDerivingRelationship () { }
|
56
src/StepRepr/StepRepr_ShapeAspectRelationship.cdl
Executable file
56
src/StepRepr/StepRepr_ShapeAspectRelationship.cdl
Executable file
@@ -0,0 +1,56 @@
|
||||
-- File: StepRepr_ShapeAspectRelationship.cdl
|
||||
-- Created: Tue Apr 18 16:42:58 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ShapeAspectRelationship from StepRepr
|
||||
inherits TShared from MMgt
|
||||
|
||||
---Purpose: Representation of STEP entity ShapeAspectRelationship
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ShapeAspect from StepRepr
|
||||
|
||||
is
|
||||
Create returns ShapeAspectRelationship from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
Init (me: mutable; aName: HAsciiString from TCollection;
|
||||
hasDescription: Boolean;
|
||||
aDescription: HAsciiString from TCollection;
|
||||
aRelatingShapeAspect: ShapeAspect from StepRepr;
|
||||
aRelatedShapeAspect: ShapeAspect from StepRepr);
|
||||
---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
|
||||
|
||||
RelatingShapeAspect (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns field RelatingShapeAspect
|
||||
SetRelatingShapeAspect (me: mutable; RelatingShapeAspect: ShapeAspect from StepRepr);
|
||||
---Purpose: Set field RelatingShapeAspect
|
||||
|
||||
RelatedShapeAspect (me) returns ShapeAspect from StepRepr;
|
||||
---Purpose: Returns field RelatedShapeAspect
|
||||
SetRelatedShapeAspect (me: mutable; RelatedShapeAspect: ShapeAspect from StepRepr);
|
||||
---Purpose: Set field RelatedShapeAspect
|
||||
|
||||
fields
|
||||
theName: HAsciiString from TCollection;
|
||||
theDescription: HAsciiString from TCollection; -- optional
|
||||
theRelatingShapeAspect: ShapeAspect from StepRepr;
|
||||
theRelatedShapeAspect: ShapeAspect from StepRepr;
|
||||
defDescription: Boolean; -- flag "is Description defined"
|
||||
|
||||
end ShapeAspectRelationship;
|
132
src/StepRepr/StepRepr_ShapeAspectRelationship.cxx
Executable file
132
src/StepRepr/StepRepr_ShapeAspectRelationship.cxx
Executable file
@@ -0,0 +1,132 @@
|
||||
// File: StepRepr_ShapeAspectRelationship.cxx
|
||||
// Created: Tue Apr 18 16:42:58 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepRepr_ShapeAspectRelationship.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ShapeAspectRelationship
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ShapeAspectRelationship::StepRepr_ShapeAspectRelationship ()
|
||||
{
|
||||
defDescription = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Init
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ShapeAspectRelationship::Init (const Handle(TCollection_HAsciiString) &aName,
|
||||
const Standard_Boolean hasDescription,
|
||||
const Handle(TCollection_HAsciiString) &aDescription,
|
||||
const Handle(StepRepr_ShapeAspect) &aRelatingShapeAspect,
|
||||
const Handle(StepRepr_ShapeAspect) &aRelatedShapeAspect)
|
||||
{
|
||||
|
||||
theName = aName;
|
||||
|
||||
defDescription = hasDescription;
|
||||
if (defDescription) {
|
||||
theDescription = aDescription;
|
||||
}
|
||||
else theDescription.Nullify();
|
||||
|
||||
theRelatingShapeAspect = aRelatingShapeAspect;
|
||||
|
||||
theRelatedShapeAspect = aRelatedShapeAspect;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Name
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ShapeAspectRelationship::Name () const
|
||||
{
|
||||
return theName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetName
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ShapeAspectRelationship::SetName (const Handle(TCollection_HAsciiString) &aName)
|
||||
{
|
||||
theName = aName;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Description
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(TCollection_HAsciiString) StepRepr_ShapeAspectRelationship::Description () const
|
||||
{
|
||||
return theDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ShapeAspectRelationship::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
|
||||
{
|
||||
theDescription = aDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : HasDescription
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean StepRepr_ShapeAspectRelationship::HasDescription () const
|
||||
{
|
||||
return defDescription;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : RelatingShapeAspect
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepRepr_ShapeAspectRelationship::RelatingShapeAspect () const
|
||||
{
|
||||
return theRelatingShapeAspect;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRelatingShapeAspect
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ShapeAspectRelationship::SetRelatingShapeAspect (const Handle(StepRepr_ShapeAspect) &aRelatingShapeAspect)
|
||||
{
|
||||
theRelatingShapeAspect = aRelatingShapeAspect;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : RelatedShapeAspect
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepRepr_ShapeAspectRelationship::RelatedShapeAspect () const
|
||||
{
|
||||
return theRelatedShapeAspect;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetRelatedShapeAspect
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void StepRepr_ShapeAspectRelationship::SetRelatedShapeAspect (const Handle(StepRepr_ShapeAspect) &aRelatedShapeAspect)
|
||||
{
|
||||
theRelatedShapeAspect = aRelatedShapeAspect;
|
||||
}
|
20
src/StepRepr/StepRepr_ShapeAspectTransition.cdl
Executable file
20
src/StepRepr/StepRepr_ShapeAspectTransition.cdl
Executable file
@@ -0,0 +1,20 @@
|
||||
-- File: StepRepr_ShapeAspectTransition.cdl
|
||||
-- Created: Tue Apr 18 16:42:58 2000
|
||||
-- Author: Andrey BETENEV
|
||||
-- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
-- Copyright: Matra Datavision 1999
|
||||
|
||||
class ShapeAspectTransition from StepRepr
|
||||
inherits ShapeAspectRelationship from StepRepr
|
||||
|
||||
---Purpose: Representation of STEP entity ShapeAspectTransition
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection,
|
||||
ShapeAspect from StepRepr
|
||||
|
||||
is
|
||||
Create returns ShapeAspectTransition from StepRepr;
|
||||
---Purpose: Empty constructor
|
||||
|
||||
end ShapeAspectTransition;
|
16
src/StepRepr/StepRepr_ShapeAspectTransition.cxx
Executable file
16
src/StepRepr/StepRepr_ShapeAspectTransition.cxx
Executable file
@@ -0,0 +1,16 @@
|
||||
// File: StepRepr_ShapeAspectTransition.cxx
|
||||
// Created: Tue Apr 18 16:42:58 2000
|
||||
// Author: Andrey BETENEV
|
||||
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
|
||||
// Copyright: Matra Datavision 1999
|
||||
|
||||
#include <StepRepr_ShapeAspectTransition.ixx>
|
||||
|
||||
//=======================================================================
|
||||
//function : StepRepr_ShapeAspectTransition
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
StepRepr_ShapeAspectTransition::StepRepr_ShapeAspectTransition ()
|
||||
{
|
||||
}
|
41
src/StepRepr/StepRepr_ShapeDefinition.cdl
Executable file
41
src/StepRepr/StepRepr_ShapeDefinition.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: ShapeDefinition.cdl
|
||||
-- Created: Fri Dec 1 11:11:11 1995
|
||||
-- Author: EXPRESS->CDL V0.2 Translator
|
||||
-- Copyright: Matra-Datavision 1993
|
||||
|
||||
|
||||
|
||||
class ShapeDefinition from StepRepr inherits SelectType from StepData
|
||||
|
||||
-- <ShapeDefinition> is an EXPRESS Select Type construct translation.
|
||||
-- it gathers : ProductDefinitionShape, ShapeAspect, ShapeAspectRelationship
|
||||
|
||||
uses
|
||||
|
||||
ProductDefinitionShape,
|
||||
ShapeAspect,
|
||||
ShapeAspectRelationship
|
||||
is
|
||||
|
||||
Create returns ShapeDefinition;
|
||||
---Purpose : Returns a ShapeDefinition SelectType
|
||||
|
||||
CaseNum (me; ent : Transient) returns Integer;
|
||||
---Purpose: Recognizes a ShapeDefinition Kind Entity that is :
|
||||
-- 1 -> ProductDefinitionShape
|
||||
-- 2 -> ShapeAspect
|
||||
-- 3 -> ShapeAspectRelationship
|
||||
-- 0 else
|
||||
|
||||
ProductDefinitionShape (me) returns any ProductDefinitionShape;
|
||||
---Purpose : returns Value as a ProductDefinitionShape (Null if another type)
|
||||
|
||||
ShapeAspect (me) returns any ShapeAspect;
|
||||
---Purpose : returns Value as a ShapeAspect (Null if another type)
|
||||
|
||||
ShapeAspectRelationship (me) returns any ShapeAspectRelationship;
|
||||
---Purpose : returns Value as a ShapeAspectRelationship (Null if another type)
|
||||
|
||||
|
||||
end ShapeDefinition;
|
||||
|
29
src/StepRepr/StepRepr_ShapeDefinition.cxx
Executable file
29
src/StepRepr/StepRepr_ShapeDefinition.cxx
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
#include <StepRepr_ShapeDefinition.ixx>
|
||||
#include <Interface_Macros.hxx>
|
||||
|
||||
StepRepr_ShapeDefinition::StepRepr_ShapeDefinition () { }
|
||||
|
||||
Standard_Integer StepRepr_ShapeDefinition::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
{
|
||||
if (ent.IsNull()) return 0;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ProductDefinitionShape))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspect))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepRepr_ShapeAspectRelationship))) return 3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Handle(StepRepr_ProductDefinitionShape) StepRepr_ShapeDefinition::ProductDefinitionShape () const
|
||||
{
|
||||
return GetCasted(StepRepr_ProductDefinitionShape,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ShapeAspect) StepRepr_ShapeDefinition::ShapeAspect () const
|
||||
{
|
||||
return GetCasted(StepRepr_ShapeAspect,Value());
|
||||
}
|
||||
|
||||
Handle(StepRepr_ShapeAspectRelationship) StepRepr_ShapeDefinition::ShapeAspectRelationship () const
|
||||
{
|
||||
return GetCasted(StepRepr_ShapeAspectRelationship,Value());
|
||||
}
|
17
src/StepRepr/StepRepr_ShapeRepresentationRelationship.cdl
Executable file
17
src/StepRepr/StepRepr_ShapeRepresentationRelationship.cdl
Executable file
@@ -0,0 +1,17 @@
|
||||
-- File: StepRepr_ShapeRepresentationRelationship.cdl
|
||||
-- Created: Tue Jun 30 18:07:23 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class ShapeRepresentationRelationship from StepRepr inherits RepresentationRelationship from StepRepr
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ShapeRepresentationRelationship;
|
||||
|
||||
end ShapeRepresentationRelationship;
|
3
src/StepRepr/StepRepr_ShapeRepresentationRelationship.cxx
Executable file
3
src/StepRepr/StepRepr_ShapeRepresentationRelationship.cxx
Executable file
@@ -0,0 +1,3 @@
|
||||
#include <StepRepr_ShapeRepresentationRelationship.ixx>
|
||||
|
||||
StepRepr_ShapeRepresentationRelationship::StepRepr_ShapeRepresentationRelationship () { }
|
18
src/StepRepr/StepRepr_ShapeRepresentationRelationshipWithTransformation.cdl
Executable file
18
src/StepRepr/StepRepr_ShapeRepresentationRelationshipWithTransformation.cdl
Executable file
@@ -0,0 +1,18 @@
|
||||
-- File: StepRepr_ShapeRepresentationRelationshipWithTransformation.cdl
|
||||
-- Created: Tue Jun 30 18:15:14 1998
|
||||
-- Author: Christian CAILLET
|
||||
-- <cky@heliox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 1998
|
||||
|
||||
|
||||
class ShapeRepresentationRelationshipWithTransformation from StepRepr
|
||||
inherits RepresentationRelationshipWithTransformation from StepRepr
|
||||
|
||||
uses
|
||||
HAsciiString from TCollection
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable ShapeRepresentationRelationshipWithTransformation;
|
||||
|
||||
end ShapeRepresentationRelationshipWithTransformation;
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user