1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-06 18:26:22 +03:00

0026720: Coding, STEP - non-conformant names of class fields

Names of class fields and method parameters are fixed according to coding standard.
This commit is contained in:
rkv 2015-10-08 10:06:55 +03:00 committed by bugmaster
parent 980d161f03
commit 2f220b97b7
47 changed files with 371 additions and 324 deletions

View File

@ -101,7 +101,7 @@ void RWStepDimTol_RWDatumReferenceCompartment::ReadStep (const Handle(StepData_S
Standard_Integer nbElements = data->NbParams(nbSub); Standard_Integer nbElements = data->NbParams(nbSub);
aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements); aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements);
for (Standard_Integer i = 1; i <= nbElements; i++) { for (Standard_Integer i = 1; i <= nbElements; i++) {
Interface_ParamType aType = data->ParamType (nbSub, i); aType = data->ParamType (nbSub, i);
if (aType == Interface_ParamIdent) { if (aType == Interface_ParamIdent) {
Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV; Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV;
data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV); data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV);

View File

@ -103,7 +103,7 @@ void RWStepDimTol_RWDatumReferenceElement::ReadStep (const Handle(StepData_StepR
Standard_Integer nbElements = data->NbParams(nbSub); Standard_Integer nbElements = data->NbParams(nbSub);
aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements); aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements);
for (Standard_Integer i = 1; i <= nbElements; i++) { for (Standard_Integer i = 1; i <= nbElements; i++) {
Interface_ParamType aType = data->ParamType (nbSub, i); aType = data->ParamType (nbSub, i);
if (aType == Interface_ParamIdent) { if (aType == Interface_ParamIdent) {
Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV; Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV;
data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV); data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV);

View File

@ -101,7 +101,7 @@ void RWStepDimTol_RWGeneralDatumReference::ReadStep (const Handle(StepData_StepR
Standard_Integer nbElements = data->NbParams(nbSub); Standard_Integer nbElements = data->NbParams(nbSub);
aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements); aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements);
for (Standard_Integer i = 1; i <= nbElements; i++) { for (Standard_Integer i = 1; i <= nbElements; i++) {
Interface_ParamType aType = data->ParamType (nbSub, i); aType = data->ParamType (nbSub, i);
if (aType == Interface_ParamIdent) { if (aType == Interface_ParamIdent) {
Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV; Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV;
data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV); data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV);

View File

@ -34,25 +34,25 @@ StepDimTol_CommonDatum::StepDimTol_CommonDatum ()
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_CommonDatum::Init (const Handle(TCollection_HAsciiString) &aShapeAspect_Name, void StepDimTol_CommonDatum::Init (const Handle(TCollection_HAsciiString) &theShapeAspect_Name,
const Handle(TCollection_HAsciiString) &aShapeAspect_Description, const Handle(TCollection_HAsciiString) &theShapeAspect_Description,
const Handle(StepRepr_ProductDefinitionShape) &aShapeAspect_OfShape, const Handle(StepRepr_ProductDefinitionShape) &theShapeAspect_OfShape,
const StepData_Logical aShapeAspect_ProductDefinitional, const StepData_Logical theShapeAspect_ProductDefinitional,
const Handle(TCollection_HAsciiString) &aDatum_Name, const Handle(TCollection_HAsciiString) &theDatum_Name,
const Handle(TCollection_HAsciiString) &aDatum_Description, const Handle(TCollection_HAsciiString) &theDatum_Description,
const Handle(StepRepr_ProductDefinitionShape) &aDatum_OfShape, const Handle(StepRepr_ProductDefinitionShape) &theDatum_OfShape,
const StepData_Logical aDatum_ProductDefinitional, const StepData_Logical theDatum_ProductDefinitional,
const Handle(TCollection_HAsciiString) &aDatum_Identification) const Handle(TCollection_HAsciiString) &theDatum_Identification)
{ {
StepRepr_CompositeShapeAspect::Init(aShapeAspect_Name, StepRepr_CompositeShapeAspect::Init(theShapeAspect_Name,
aShapeAspect_Description, theShapeAspect_Description,
aShapeAspect_OfShape, theShapeAspect_OfShape,
aShapeAspect_ProductDefinitional); theShapeAspect_ProductDefinitional);
theDatum->Init(aDatum_Name, myDatum->Init(theDatum_Name,
aDatum_Description, theDatum_Description,
aDatum_OfShape, theDatum_OfShape,
aDatum_ProductDefinitional, theDatum_ProductDefinitional,
aDatum_Identification); theDatum_Identification);
} }
//======================================================================= //=======================================================================
@ -62,7 +62,7 @@ void StepDimTol_CommonDatum::Init (const Handle(TCollection_HAsciiString) &aShap
Handle(StepDimTol_Datum) StepDimTol_CommonDatum::Datum () const Handle(StepDimTol_Datum) StepDimTol_CommonDatum::Datum () const
{ {
return theDatum; return myDatum;
} }
//======================================================================= //=======================================================================
@ -70,7 +70,7 @@ Handle(StepDimTol_Datum) StepDimTol_CommonDatum::Datum () const
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_CommonDatum::SetDatum (const Handle(StepDimTol_Datum) &aDatum) void StepDimTol_CommonDatum::SetDatum (const Handle(StepDimTol_Datum) &theDatum)
{ {
theDatum = aDatum; myDatum = theDatum;
} }

View File

@ -40,13 +40,21 @@ public:
Standard_EXPORT StepDimTol_CommonDatum(); Standard_EXPORT StepDimTol_CommonDatum();
//! Initialize all fields (own and inherited) //! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aShapeAspect_Name, const Handle(TCollection_HAsciiString)& aShapeAspect_Description, const Handle(StepRepr_ProductDefinitionShape)& aShapeAspect_OfShape, const StepData_Logical aShapeAspect_ProductDefinitional, const Handle(TCollection_HAsciiString)& aDatum_Name, const Handle(TCollection_HAsciiString)& aDatum_Description, const Handle(StepRepr_ProductDefinitionShape)& aDatum_OfShape, const StepData_Logical aDatum_ProductDefinitional, const Handle(TCollection_HAsciiString)& aDatum_Identification); Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theShapeAspect_Name,
const Handle(TCollection_HAsciiString)& theShapeAspect_Description,
const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape,
const StepData_Logical theShapeAspect_ProductDefinitional,
const Handle(TCollection_HAsciiString)& theDatum_Name,
const Handle(TCollection_HAsciiString)& theDatum_Description,
const Handle(StepRepr_ProductDefinitionShape)& theDatum_OfShape,
const StepData_Logical theDatum_ProductDefinitional,
const Handle(TCollection_HAsciiString)& theDatum_Identification);
//! Returns data for supertype Datum //! Returns data for supertype Datum
Standard_EXPORT Handle(StepDimTol_Datum) Datum() const; Standard_EXPORT Handle(StepDimTol_Datum) Datum() const;
//! Set data for supertype Datum //! Set data for supertype Datum
Standard_EXPORT void SetDatum (const Handle(StepDimTol_Datum)& Datum); Standard_EXPORT void SetDatum (const Handle(StepDimTol_Datum)& theDatum);
@ -61,7 +69,7 @@ protected:
private: private:
Handle(StepDimTol_Datum) theDatum; Handle(StepDimTol_Datum) myDatum;
}; };

View File

@ -33,17 +33,17 @@ StepDimTol_Datum::StepDimTol_Datum ()
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_Datum::Init (const Handle(TCollection_HAsciiString)& aShapeAspect_Name, void StepDimTol_Datum::Init (const Handle(TCollection_HAsciiString)& theShapeAspect_Name,
const Handle(TCollection_HAsciiString)& aShapeAspect_Description, const Handle(TCollection_HAsciiString)& theShapeAspect_Description,
const Handle(StepRepr_ProductDefinitionShape)& aShapeAspect_OfShape, const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape,
const StepData_Logical aShapeAspect_ProductDefinitional, const StepData_Logical theShapeAspect_ProductDefinitional,
const Handle(TCollection_HAsciiString)& aIdentification) const Handle(TCollection_HAsciiString)& theIdentification)
{ {
StepRepr_ShapeAspect::Init(aShapeAspect_Name, StepRepr_ShapeAspect::Init(theShapeAspect_Name,
aShapeAspect_Description, theShapeAspect_Description,
aShapeAspect_OfShape, theShapeAspect_OfShape,
aShapeAspect_ProductDefinitional); theShapeAspect_ProductDefinitional);
theIdentification = aIdentification; myIdentification = theIdentification;
} }
//======================================================================= //=======================================================================
@ -53,7 +53,7 @@ void StepDimTol_Datum::Init (const Handle(TCollection_HAsciiString)& aShapeAspec
Handle(TCollection_HAsciiString) StepDimTol_Datum::Identification () const Handle(TCollection_HAsciiString) StepDimTol_Datum::Identification () const
{ {
return theIdentification; return myIdentification;
} }
//======================================================================= //=======================================================================
@ -61,7 +61,7 @@ Handle(TCollection_HAsciiString) StepDimTol_Datum::Identification () const
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_Datum::SetIdentification (const Handle(TCollection_HAsciiString) &aIdentification) void StepDimTol_Datum::SetIdentification (const Handle(TCollection_HAsciiString) &theIdentification)
{ {
theIdentification = aIdentification; myIdentification = theIdentification;
} }

View File

@ -39,13 +39,17 @@ public:
Standard_EXPORT StepDimTol_Datum(); Standard_EXPORT StepDimTol_Datum();
//! Initialize all fields (own and inherited) //! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aShapeAspect_Name, const Handle(TCollection_HAsciiString)& aShapeAspect_Description, const Handle(StepRepr_ProductDefinitionShape)& aShapeAspect_OfShape, const StepData_Logical aShapeAspect_ProductDefinitional, const Handle(TCollection_HAsciiString)& aIdentification); Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theShapeAspect_Name,
const Handle(TCollection_HAsciiString)& theShapeAspect_Description,
const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape,
const StepData_Logical theShapeAspect_ProductDefinitional,
const Handle(TCollection_HAsciiString)& theIdentification);
//! Returns field Identification //! Returns field Identification
Standard_EXPORT Handle(TCollection_HAsciiString) Identification() const; Standard_EXPORT Handle(TCollection_HAsciiString) Identification() const;
//! Set field Identification //! Set field Identification
Standard_EXPORT void SetIdentification (const Handle(TCollection_HAsciiString)& Identification); Standard_EXPORT void SetIdentification (const Handle(TCollection_HAsciiString)& theIdentification);
@ -60,7 +64,7 @@ protected:
private: private:
Handle(TCollection_HAsciiString) theIdentification; Handle(TCollection_HAsciiString) myIdentification;
}; };

View File

@ -32,13 +32,13 @@ StepDimTol_DatumReference::StepDimTol_DatumReference ()
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_DatumReference::Init (const Standard_Integer aPrecedence, void StepDimTol_DatumReference::Init (const Standard_Integer thePrecedence,
const Handle(StepDimTol_Datum) &aReferencedDatum) const Handle(StepDimTol_Datum) &theReferencedDatum)
{ {
thePrecedence = aPrecedence; myPrecedence = thePrecedence;
theReferencedDatum = aReferencedDatum; myReferencedDatum = theReferencedDatum;
} }
//======================================================================= //=======================================================================
@ -48,7 +48,7 @@ void StepDimTol_DatumReference::Init (const Standard_Integer aPrecedence,
Standard_Integer StepDimTol_DatumReference::Precedence () const Standard_Integer StepDimTol_DatumReference::Precedence () const
{ {
return thePrecedence; return myPrecedence;
} }
//======================================================================= //=======================================================================
@ -56,9 +56,9 @@ Standard_Integer StepDimTol_DatumReference::Precedence () const
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_DatumReference::SetPrecedence (const Standard_Integer aPrecedence) void StepDimTol_DatumReference::SetPrecedence (const Standard_Integer thePrecedence)
{ {
thePrecedence = aPrecedence; myPrecedence = thePrecedence;
} }
//======================================================================= //=======================================================================
@ -68,7 +68,7 @@ void StepDimTol_DatumReference::SetPrecedence (const Standard_Integer aPrecedenc
Handle(StepDimTol_Datum) StepDimTol_DatumReference::ReferencedDatum () const Handle(StepDimTol_Datum) StepDimTol_DatumReference::ReferencedDatum () const
{ {
return theReferencedDatum; return myReferencedDatum;
} }
//======================================================================= //=======================================================================
@ -76,7 +76,7 @@ Handle(StepDimTol_Datum) StepDimTol_DatumReference::ReferencedDatum () const
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_DatumReference::SetReferencedDatum (const Handle(StepDimTol_Datum) &aReferencedDatum) void StepDimTol_DatumReference::SetReferencedDatum (const Handle(StepDimTol_Datum) &theReferencedDatum)
{ {
theReferencedDatum = aReferencedDatum; myReferencedDatum = theReferencedDatum;
} }

View File

@ -38,19 +38,19 @@ public:
Standard_EXPORT StepDimTol_DatumReference(); Standard_EXPORT StepDimTol_DatumReference();
//! Initialize all fields (own and inherited) //! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Standard_Integer aPrecedence, const Handle(StepDimTol_Datum)& aReferencedDatum); Standard_EXPORT void Init (const Standard_Integer thePrecedence, const Handle(StepDimTol_Datum)& theReferencedDatum);
//! Returns field Precedence //! Returns field Precedence
Standard_EXPORT Standard_Integer Precedence() const; Standard_EXPORT Standard_Integer Precedence() const;
//! Set field Precedence //! Set field Precedence
Standard_EXPORT void SetPrecedence (const Standard_Integer Precedence); Standard_EXPORT void SetPrecedence (const Standard_Integer thePrecedence);
//! Returns field ReferencedDatum //! Returns field ReferencedDatum
Standard_EXPORT Handle(StepDimTol_Datum) ReferencedDatum() const; Standard_EXPORT Handle(StepDimTol_Datum) ReferencedDatum() const;
//! Set field ReferencedDatum //! Set field ReferencedDatum
Standard_EXPORT void SetReferencedDatum (const Handle(StepDimTol_Datum)& ReferencedDatum); Standard_EXPORT void SetReferencedDatum (const Handle(StepDimTol_Datum)& theReferencedDatum);
@ -65,8 +65,8 @@ protected:
private: private:
Standard_Integer thePrecedence; Standard_Integer myPrecedence;
Handle(StepDimTol_Datum) theReferencedDatum; Handle(StepDimTol_Datum) myReferencedDatum;
}; };

View File

@ -32,7 +32,7 @@ StepDimTol_DatumReferenceModifierWithValue::StepDimTol_DatumReferenceModifierWit
void StepDimTol_DatumReferenceModifierWithValue::Init (const StepDimTol_DatumReferenceModifierType& theModifierType, void StepDimTol_DatumReferenceModifierWithValue::Init (const StepDimTol_DatumReferenceModifierType& theModifierType,
const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue) const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue)
{ {
modifierType = theModifierType; myModifierType = theModifierType;
modifierValue = theModifierValue; myModifierValue = theModifierValue;
} }

View File

@ -43,31 +43,31 @@ public:
//! Returns field ModifierType //! Returns field ModifierType
inline StepDimTol_DatumReferenceModifierType ModifierType () const inline StepDimTol_DatumReferenceModifierType ModifierType () const
{ {
return modifierType; return myModifierType;
} }
//! Set field ModifierType //! Set field ModifierType
inline void SetModifierType (const StepDimTol_DatumReferenceModifierType &theModifierType) inline void SetModifierType (const StepDimTol_DatumReferenceModifierType &theModifierType)
{ {
modifierType = theModifierType; myModifierType = theModifierType;
} }
//! Returns field ModifierValue //! Returns field ModifierValue
inline Handle(StepBasic_LengthMeasureWithUnit) ModifierValue() inline Handle(StepBasic_LengthMeasureWithUnit) ModifierValue()
{ {
return modifierValue; return myModifierValue;
} }
//! Set field ModifierValue //! Set field ModifierValue
inline void SetModifierValue(const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue) inline void SetModifierValue(const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue)
{ {
modifierValue = theModifierValue; myModifierValue = theModifierValue;
} }
DEFINE_STANDARD_RTTI(StepDimTol_DatumReferenceModifierWithValue, MMgt_TShared) DEFINE_STANDARD_RTTI(StepDimTol_DatumReferenceModifierWithValue, MMgt_TShared)
private: private:
StepDimTol_DatumReferenceModifierType modifierType; StepDimTol_DatumReferenceModifierType myModifierType;
Handle(StepBasic_LengthMeasureWithUnit) modifierValue; Handle(StepBasic_LengthMeasureWithUnit) myModifierValue;
}; };
#endif // _StepDimTol_DatumReferenceModifierWithValue_HeaderFile #endif // _StepDimTol_DatumReferenceModifierWithValue_HeaderFile

View File

@ -38,6 +38,6 @@ void StepDimTol_DatumSystem::Init (const Handle(TCollection_HAsciiString)& theNa
const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents) const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents)
{ {
StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional); StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional);
constituents = theConstituents; myConstituents = theConstituents;
} }

View File

@ -44,36 +44,36 @@ public:
//! Returns field Constituents //! Returns field Constituents
inline Handle(StepDimTol_HArray1OfDatumReferenceCompartment) Constituents() inline Handle(StepDimTol_HArray1OfDatumReferenceCompartment) Constituents()
{ {
return constituents; return myConstituents;
} }
//! Set field Constituents //! Set field Constituents
inline void SetConstituents(const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents) inline void SetConstituents(const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents)
{ {
constituents = theConstituents; myConstituents = theConstituents;
} }
//! Returns number of Constituents //! Returns number of Constituents
inline Standard_Integer NbConstituents () const inline Standard_Integer NbConstituents () const
{ {
return (constituents.IsNull() ? 0 : constituents->Length()); return (myConstituents.IsNull() ? 0 : myConstituents->Length());
} }
//! Returns Constituents with the given number //! Returns Constituents with the given number
inline Handle(StepDimTol_DatumReferenceCompartment) ConstituentsValue(const Standard_Integer num) const inline Handle(StepDimTol_DatumReferenceCompartment) ConstituentsValue(const Standard_Integer num) const
{ {
return constituents->Value(num); return myConstituents->Value(num);
} }
//! Sets Constituents with given number //! Sets Constituents with given number
inline void ConstituentsValue(const Standard_Integer num, const Handle(StepDimTol_DatumReferenceCompartment)& theItem) inline void ConstituentsValue(const Standard_Integer num, const Handle(StepDimTol_DatumReferenceCompartment)& theItem)
{ {
constituents->SetValue (num, theItem); myConstituents->SetValue (num, theItem);
} }
DEFINE_STANDARD_RTTI(StepDimTol_DatumSystem, StepRepr_ShapeAspect) DEFINE_STANDARD_RTTI(StepDimTol_DatumSystem, StepRepr_ShapeAspect)
private: private:
Handle(StepDimTol_HArray1OfDatumReferenceCompartment) constituents; Handle(StepDimTol_HArray1OfDatumReferenceCompartment) myConstituents;
}; };
#endif // _StepDimTol_DatumSystem_HeaderFile #endif // _StepDimTol_DatumSystem_HeaderFile

View File

@ -33,17 +33,17 @@ StepDimTol_DatumTarget::StepDimTol_DatumTarget ()
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_DatumTarget::Init (const Handle(TCollection_HAsciiString) &aShapeAspect_Name, void StepDimTol_DatumTarget::Init (const Handle(TCollection_HAsciiString) &theShapeAspect_Name,
const Handle(TCollection_HAsciiString) &aShapeAspect_Description, const Handle(TCollection_HAsciiString) &theShapeAspect_Description,
const Handle(StepRepr_ProductDefinitionShape) &aShapeAspect_OfShape, const Handle(StepRepr_ProductDefinitionShape) &theShapeAspect_OfShape,
const StepData_Logical aShapeAspect_ProductDefinitional, const StepData_Logical theShapeAspect_ProductDefinitional,
const Handle(TCollection_HAsciiString) &aTargetId) const Handle(TCollection_HAsciiString) &theTargetId)
{ {
StepRepr_ShapeAspect::Init(aShapeAspect_Name, StepRepr_ShapeAspect::Init(theShapeAspect_Name,
aShapeAspect_Description, theShapeAspect_Description,
aShapeAspect_OfShape, theShapeAspect_OfShape,
aShapeAspect_ProductDefinitional); theShapeAspect_ProductDefinitional);
theTargetId = aTargetId; myTargetId = theTargetId;
} }
//======================================================================= //=======================================================================
@ -53,7 +53,7 @@ void StepDimTol_DatumTarget::Init (const Handle(TCollection_HAsciiString) &aShap
Handle(TCollection_HAsciiString) StepDimTol_DatumTarget::TargetId () const Handle(TCollection_HAsciiString) StepDimTol_DatumTarget::TargetId () const
{ {
return theTargetId; return myTargetId;
} }
//======================================================================= //=======================================================================
@ -61,7 +61,7 @@ Handle(TCollection_HAsciiString) StepDimTol_DatumTarget::TargetId () const
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_DatumTarget::SetTargetId (const Handle(TCollection_HAsciiString) &aTargetId) void StepDimTol_DatumTarget::SetTargetId (const Handle(TCollection_HAsciiString) &theTargetId)
{ {
theTargetId = aTargetId; myTargetId = theTargetId;
} }

View File

@ -39,13 +39,17 @@ public:
Standard_EXPORT StepDimTol_DatumTarget(); Standard_EXPORT StepDimTol_DatumTarget();
//! Initialize all fields (own and inherited) //! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aShapeAspect_Name, const Handle(TCollection_HAsciiString)& aShapeAspect_Description, const Handle(StepRepr_ProductDefinitionShape)& aShapeAspect_OfShape, const StepData_Logical aShapeAspect_ProductDefinitional, const Handle(TCollection_HAsciiString)& aTargetId); Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theShapeAspect_Name,
const Handle(TCollection_HAsciiString)& theShapeAspect_Description,
const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape,
const StepData_Logical theShapeAspect_ProductDefinitional,
const Handle(TCollection_HAsciiString)& theTargetId);
//! Returns field TargetId //! Returns field TargetId
Standard_EXPORT Handle(TCollection_HAsciiString) TargetId() const; Standard_EXPORT Handle(TCollection_HAsciiString) TargetId() const;
//! Set field TargetId //! Set field TargetId
Standard_EXPORT void SetTargetId (const Handle(TCollection_HAsciiString)& TargetId); Standard_EXPORT void SetTargetId (const Handle(TCollection_HAsciiString)& theTargetId);
@ -60,7 +64,7 @@ protected:
private: private:
Handle(TCollection_HAsciiString) theTargetId; Handle(TCollection_HAsciiString) myTargetId;
}; };

View File

@ -36,14 +36,14 @@ void StepDimTol_GeneralDatumReference::Init (const Handle(TCollection_HAsciiStri
const Handle(StepRepr_ProductDefinitionShape)& theOfShape, const Handle(StepRepr_ProductDefinitionShape)& theOfShape,
const StepData_Logical theProductDefinitional, const StepData_Logical theProductDefinitional,
const StepDimTol_DatumOrCommonDatum& theBase, const StepDimTol_DatumOrCommonDatum& theBase,
const Standard_Boolean hasModifiers, const Standard_Boolean theHasModifiers,
const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers) const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers)
{ {
StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional); StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional);
base = theBase; myBase = theBase;
if (hasModifiers) if (theHasModifiers)
modifiers = theModifiers; myModifiers = theModifiers;
else else
modifiers.Nullify(); myModifiers.Nullify();
} }

View File

@ -41,61 +41,61 @@ public:
const Handle(StepRepr_ProductDefinitionShape)& theOfShape, const Handle(StepRepr_ProductDefinitionShape)& theOfShape,
const StepData_Logical theProductDefinitional, const StepData_Logical theProductDefinitional,
const StepDimTol_DatumOrCommonDatum& theBase, const StepDimTol_DatumOrCommonDatum& theBase,
const Standard_Boolean hasModifiers, const Standard_Boolean theHasModifiers,
const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers); const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers);
//! Returns field Base //! Returns field Base
inline StepDimTol_DatumOrCommonDatum Base() inline StepDimTol_DatumOrCommonDatum Base()
{ {
return base; return myBase;
} }
//! Set field Base //! Set field Base
inline void SetBase(const StepDimTol_DatumOrCommonDatum& theBase) inline void SetBase(const StepDimTol_DatumOrCommonDatum& theBase)
{ {
base = theBase; myBase = theBase;
} }
//! Indicates is field Modifiers exist //! Indicates is field Modifiers exist
inline Standard_Boolean HasModifiers() const inline Standard_Boolean HasModifiers() const
{ {
return modifiers.IsNull(); return myModifiers.IsNull();
} }
//! Returns field Modifiers //! Returns field Modifiers
inline Handle(StepDimTol_HArray1OfDatumReferenceModifier) Modifiers() inline Handle(StepDimTol_HArray1OfDatumReferenceModifier) Modifiers()
{ {
return modifiers; return myModifiers;
} }
//! Set field Modifiers //! Set field Modifiers
inline void SetModifiers(const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers) inline void SetModifiers(const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers)
{ {
modifiers = theModifiers; myModifiers = theModifiers;
} }
//! Returns number of Modifiers //! Returns number of Modifiers
inline Standard_Integer NbModifiers () const inline Standard_Integer NbModifiers () const
{ {
return (modifiers.IsNull() ? 0 : modifiers->Length()); return (myModifiers.IsNull() ? 0 : myModifiers->Length());
} }
//! Returns Modifiers with the given number //! Returns Modifiers with the given number
inline StepDimTol_DatumReferenceModifier ModifiersValue(const Standard_Integer num) const inline StepDimTol_DatumReferenceModifier ModifiersValue(const Standard_Integer theNum) const
{ {
return modifiers->Value(num); return myModifiers->Value(theNum);
} }
//! Sets Modifiers with given number //! Sets Modifiers with given number
inline void ModifiersValue(const Standard_Integer num, const StepDimTol_DatumReferenceModifier& theItem) inline void ModifiersValue(const Standard_Integer theNum, const StepDimTol_DatumReferenceModifier& theItem)
{ {
modifiers->SetValue (num, theItem); myModifiers->SetValue (theNum, theItem);
} }
DEFINE_STANDARD_RTTI(StepDimTol_GeneralDatumReference, StepRepr_ShapeAspect) DEFINE_STANDARD_RTTI(StepDimTol_GeneralDatumReference, StepRepr_ShapeAspect)
private: private:
StepDimTol_DatumOrCommonDatum base; StepDimTol_DatumOrCommonDatum myBase;
Handle(StepDimTol_HArray1OfDatumReferenceModifier) modifiers; Handle(StepDimTol_HArray1OfDatumReferenceModifier) myModifiers;
}; };
#endif // _StepDimTol_GeneralDatumReference_HeaderFile #endif // _StepDimTol_GeneralDatumReference_HeaderFile

View File

@ -35,19 +35,19 @@ StepDimTol_GeometricTolerance::StepDimTol_GeometricTolerance ()
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aName, void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &aDescription, const Handle(TCollection_HAsciiString) &theDescription,
const Handle(StepBasic_MeasureWithUnit) &aMagnitude, const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
const StepDimTol_GeometricToleranceTarget &aTolerancedShapeAspect) const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect)
{ {
theName = aName; myName = theName;
theDescription = aDescription; myDescription = theDescription;
theMagnitude = aMagnitude; myMagnitude = theMagnitude;
theTolerancedShapeAspect = aTolerancedShapeAspect; myTolerancedShapeAspect = theTolerancedShapeAspect;
} }
//======================================================================= //=======================================================================
@ -55,19 +55,19 @@ void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString)
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aName, void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &aDescription, const Handle(TCollection_HAsciiString) &theDescription,
const Handle(StepBasic_MeasureWithUnit) &aMagnitude, const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
const Handle(StepRepr_ShapeAspect) &aTolerancedShapeAspect) const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect)
{ {
theName = aName; myName = theName;
theDescription = aDescription; myDescription = theDescription;
theMagnitude = aMagnitude; myMagnitude = theMagnitude;
theTolerancedShapeAspect.SetValue(aTolerancedShapeAspect); myTolerancedShapeAspect.SetValue(theTolerancedShapeAspect);
} }
//======================================================================= //=======================================================================
@ -77,7 +77,7 @@ void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString)
Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Name () const Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Name () const
{ {
return theName; return myName;
} }
//======================================================================= //=======================================================================
@ -85,9 +85,9 @@ Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Name () const
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricTolerance::SetName (const Handle(TCollection_HAsciiString) &aName) void StepDimTol_GeometricTolerance::SetName (const Handle(TCollection_HAsciiString) &theName)
{ {
theName = aName; myName = theName;
} }
//======================================================================= //=======================================================================
@ -97,7 +97,7 @@ void StepDimTol_GeometricTolerance::SetName (const Handle(TCollection_HAsciiStri
Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Description () const Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Description () const
{ {
return theDescription; return myDescription;
} }
//======================================================================= //=======================================================================
@ -105,9 +105,9 @@ Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Description () c
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricTolerance::SetDescription (const Handle(TCollection_HAsciiString) &aDescription) void StepDimTol_GeometricTolerance::SetDescription (const Handle(TCollection_HAsciiString) &theDescription)
{ {
theDescription = aDescription; myDescription = theDescription;
} }
//======================================================================= //=======================================================================
@ -117,7 +117,7 @@ void StepDimTol_GeometricTolerance::SetDescription (const Handle(TCollection_HAs
Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () const Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () const
{ {
return theMagnitude; return myMagnitude;
} }
//======================================================================= //=======================================================================
@ -125,9 +125,9 @@ Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () co
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_MeasureWithUnit) &aMagnitude) void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_MeasureWithUnit) &theMagnitude)
{ {
theMagnitude = aMagnitude; myMagnitude = theMagnitude;
} }
//======================================================================= //=======================================================================
@ -137,7 +137,7 @@ void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_Measure
StepDimTol_GeometricToleranceTarget StepDimTol_GeometricTolerance::TolerancedShapeAspect () const StepDimTol_GeometricToleranceTarget StepDimTol_GeometricTolerance::TolerancedShapeAspect () const
{ {
return theTolerancedShapeAspect; return myTolerancedShapeAspect;
} }
//======================================================================= //=======================================================================
@ -145,9 +145,9 @@ StepDimTol_GeometricToleranceTarget StepDimTol_GeometricTolerance::TolerancedSha
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const Handle(StepRepr_ShapeAspect) &aTolerancedShapeAspect) void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect)
{ {
theTolerancedShapeAspect.SetValue(aTolerancedShapeAspect); myTolerancedShapeAspect.SetValue(theTolerancedShapeAspect);
} }
//======================================================================= //=======================================================================
@ -155,7 +155,7 @@ void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const Handle(StepR
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget &aTolerancedShapeAspect) void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect)
{ {
theTolerancedShapeAspect = aTolerancedShapeAspect; myTolerancedShapeAspect = theTolerancedShapeAspect;
} }

View File

@ -41,38 +41,44 @@ public:
Standard_EXPORT StepDimTol_GeometricTolerance(); Standard_EXPORT StepDimTol_GeometricTolerance();
//! Initialize all fields (own and inherited) AP214 //! Initialize all fields (own and inherited) AP214
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_MeasureWithUnit)& aMagnitude, const Handle(StepRepr_ShapeAspect)& aTolerancedShapeAspect); Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect);
//! Initialize all fields (own and inherited) AP242 //! Initialize all fields (own and inherited) AP242
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepBasic_MeasureWithUnit)& aMagnitude, const StepDimTol_GeometricToleranceTarget& aTolerancedShapeAspect); Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
//! Returns field Name //! Returns field Name
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
//! Set field Name //! Set field Name
Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& Name); Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& theName);
//! Returns field Description //! Returns field Description
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
//! Set field Description //! Set field Description
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& Description); Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
//! Returns field Magnitude //! Returns field Magnitude
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) Magnitude() const; Standard_EXPORT Handle(StepBasic_MeasureWithUnit) Magnitude() const;
//! Set field Magnitude //! Set field Magnitude
Standard_EXPORT void SetMagnitude (const Handle(StepBasic_MeasureWithUnit)& Magnitude); Standard_EXPORT void SetMagnitude (const Handle(StepBasic_MeasureWithUnit)& theMagnitude);
//! Returns field TolerancedShapeAspect //! Returns field TolerancedShapeAspect
//! Note: in AP214(203) type of this attribute can be only StepRepr_ShapeAspect //! Note: in AP214(203) type of this attribute can be only StepRepr_ShapeAspect
Standard_EXPORT StepDimTol_GeometricToleranceTarget TolerancedShapeAspect() const; Standard_EXPORT StepDimTol_GeometricToleranceTarget TolerancedShapeAspect() const;
//! Set field TolerancedShapeAspect AP214 //! Set field TolerancedShapeAspect AP214
Standard_EXPORT void SetTolerancedShapeAspect (const Handle(StepRepr_ShapeAspect)& TolerancedShapeAspect); Standard_EXPORT void SetTolerancedShapeAspect (const Handle(StepRepr_ShapeAspect)& theTolerancedShapeAspect);
//! Set field TolerancedShapeAspect AP242 //! Set field TolerancedShapeAspect AP242
Standard_EXPORT void SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget& TolerancedShapeAspect); Standard_EXPORT void SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
@ -87,10 +93,10 @@ protected:
private: private:
Handle(TCollection_HAsciiString) theName; Handle(TCollection_HAsciiString) myName;
Handle(TCollection_HAsciiString) theDescription; Handle(TCollection_HAsciiString) myDescription;
Handle(StepBasic_MeasureWithUnit) theMagnitude; Handle(StepBasic_MeasureWithUnit) myMagnitude;
StepDimTol_GeometricToleranceTarget theTolerancedShapeAspect; StepDimTol_GeometricToleranceTarget myTolerancedShapeAspect;
}; };

View File

@ -33,19 +33,19 @@ StepDimTol_GeometricToleranceRelationship::StepDimTol_GeometricToleranceRelation
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceRelationship::Init (const Handle(TCollection_HAsciiString) &aName, void StepDimTol_GeometricToleranceRelationship::Init (const Handle(TCollection_HAsciiString) &theName,
const Handle(TCollection_HAsciiString) &aDescription, const Handle(TCollection_HAsciiString) &theDescription,
const Handle(StepDimTol_GeometricTolerance) &aRelatingGeometricTolerance, const Handle(StepDimTol_GeometricTolerance) &theRelatingGeometricTolerance,
const Handle(StepDimTol_GeometricTolerance) &aRelatedGeometricTolerance) const Handle(StepDimTol_GeometricTolerance) &theRelatedGeometricTolerance)
{ {
theName = aName; myName = theName;
theDescription = aDescription; myDescription = theDescription;
theRelatingGeometricTolerance = aRelatingGeometricTolerance; myRelatingGeometricTolerance = theRelatingGeometricTolerance;
theRelatedGeometricTolerance = aRelatedGeometricTolerance; myRelatedGeometricTolerance = theRelatedGeometricTolerance;
} }
//======================================================================= //=======================================================================
@ -55,7 +55,7 @@ void StepDimTol_GeometricToleranceRelationship::Init (const Handle(TCollection_H
Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Name () const Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Name () const
{ {
return theName; return myName;
} }
//======================================================================= //=======================================================================
@ -63,9 +63,9 @@ Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Name
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceRelationship::SetName (const Handle(TCollection_HAsciiString) &aName) void StepDimTol_GeometricToleranceRelationship::SetName (const Handle(TCollection_HAsciiString) &theName)
{ {
theName = aName; myName = theName;
} }
//======================================================================= //=======================================================================
@ -75,7 +75,7 @@ void StepDimTol_GeometricToleranceRelationship::SetName (const Handle(TCollectio
Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Description () const Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Description () const
{ {
return theDescription; return myDescription;
} }
//======================================================================= //=======================================================================
@ -83,9 +83,9 @@ Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Desc
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceRelationship::SetDescription (const Handle(TCollection_HAsciiString) &aDescription) void StepDimTol_GeometricToleranceRelationship::SetDescription (const Handle(TCollection_HAsciiString) &theDescription)
{ {
theDescription = aDescription; myDescription = theDescription;
} }
//======================================================================= //=======================================================================
@ -95,7 +95,7 @@ void StepDimTol_GeometricToleranceRelationship::SetDescription (const Handle(TCo
Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship::RelatingGeometricTolerance () const Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship::RelatingGeometricTolerance () const
{ {
return theRelatingGeometricTolerance; return myRelatingGeometricTolerance;
} }
//======================================================================= //=======================================================================
@ -103,9 +103,9 @@ Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship:
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceRelationship::SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &aRelatingGeometricTolerance) void StepDimTol_GeometricToleranceRelationship::SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &theRelatingGeometricTolerance)
{ {
theRelatingGeometricTolerance = aRelatingGeometricTolerance; myRelatingGeometricTolerance = theRelatingGeometricTolerance;
} }
//======================================================================= //=======================================================================
@ -115,7 +115,7 @@ void StepDimTol_GeometricToleranceRelationship::SetRelatingGeometricTolerance (c
Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship::RelatedGeometricTolerance () const Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship::RelatedGeometricTolerance () const
{ {
return theRelatedGeometricTolerance; return myRelatedGeometricTolerance;
} }
//======================================================================= //=======================================================================
@ -123,7 +123,7 @@ Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship:
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceRelationship::SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &aRelatedGeometricTolerance) void StepDimTol_GeometricToleranceRelationship::SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &theRelatedGeometricTolerance)
{ {
theRelatedGeometricTolerance = aRelatedGeometricTolerance; myRelatedGeometricTolerance = theRelatedGeometricTolerance;
} }

View File

@ -38,31 +38,34 @@ public:
Standard_EXPORT StepDimTol_GeometricToleranceRelationship(); Standard_EXPORT StepDimTol_GeometricToleranceRelationship();
//! Initialize all fields (own and inherited) //! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Handle(TCollection_HAsciiString)& aDescription, const Handle(StepDimTol_GeometricTolerance)& aRelatingGeometricTolerance, const Handle(StepDimTol_GeometricTolerance)& aRelatedGeometricTolerance); Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
const Handle(StepDimTol_GeometricTolerance)& theRelatingGeometricTolerance,
const Handle(StepDimTol_GeometricTolerance)& theRelatedGeometricTolerance);
//! Returns field Name //! Returns field Name
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
//! Set field Name //! Set field Name
Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& Name); Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& theName);
//! Returns field Description //! Returns field Description
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
//! Set field Description //! Set field Description
Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& Description); Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
//! Returns field RelatingGeometricTolerance //! Returns field RelatingGeometricTolerance
Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatingGeometricTolerance() const; Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatingGeometricTolerance() const;
//! Set field RelatingGeometricTolerance //! Set field RelatingGeometricTolerance
Standard_EXPORT void SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& RelatingGeometricTolerance); Standard_EXPORT void SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& theRelatingGeometricTolerance);
//! Returns field RelatedGeometricTolerance //! Returns field RelatedGeometricTolerance
Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatedGeometricTolerance() const; Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatedGeometricTolerance() const;
//! Set field RelatedGeometricTolerance //! Set field RelatedGeometricTolerance
Standard_EXPORT void SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& RelatedGeometricTolerance); Standard_EXPORT void SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& theRelatedGeometricTolerance);
@ -77,10 +80,10 @@ protected:
private: private:
Handle(TCollection_HAsciiString) theName; Handle(TCollection_HAsciiString) myName;
Handle(TCollection_HAsciiString) theDescription; Handle(TCollection_HAsciiString) myDescription;
Handle(StepDimTol_GeometricTolerance) theRelatingGeometricTolerance; Handle(StepDimTol_GeometricTolerance) myRelatingGeometricTolerance;
Handle(StepDimTol_GeometricTolerance) theRelatedGeometricTolerance; Handle(StepDimTol_GeometricTolerance) myRelatedGeometricTolerance;
}; };

View File

@ -35,22 +35,22 @@ StepDimTol_GeometricToleranceWithDatumReference::StepDimTol_GeometricToleranceWi
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &aGeometricTolerance_Name, void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &aGeometricTolerance_Description, const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit) &aGeometricTolerance_Magnitude, const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect) &aGeometricTolerance_TolerancedShapeAspect, const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumReference) &aDatumSystem) const Handle(StepDimTol_HArray1OfDatumReference) &theDatumSystem)
{ {
StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name, StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
aGeometricTolerance_Description, theGeometricTolerance_Description,
aGeometricTolerance_Magnitude, theGeometricTolerance_Magnitude,
aGeometricTolerance_TolerancedShapeAspect); theGeometricTolerance_TolerancedShapeAspect);
theDatumSystem = new StepDimTol_HArray1OfDatumSystemOrReference(aDatumSystem->Lower(), aDatumSystem->Upper()); myDatumSystem = new StepDimTol_HArray1OfDatumSystemOrReference(theDatumSystem->Lower(), theDatumSystem->Upper());
StepDimTol_DatumSystemOrReference anAux; StepDimTol_DatumSystemOrReference anAux;
for (Standard_Integer i = aDatumSystem->Lower(); i <= aDatumSystem->Upper(); i++) { for (Standard_Integer i = theDatumSystem->Lower(); i <= theDatumSystem->Upper(); i++) {
anAux.SetValue(aDatumSystem->Value(i)); anAux.SetValue(theDatumSystem->Value(i));
theDatumSystem->SetValue(i, anAux); myDatumSystem->SetValue(i, anAux);
} }
} }
@ -59,18 +59,18 @@ void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollec
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &aGeometricTolerance_Name, void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &aGeometricTolerance_Description, const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit) &aGeometricTolerance_Magnitude, const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget &aGeometricTolerance_TolerancedShapeAspect, const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &aDatumSystem) const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &theDatumSystem)
{ {
StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name, StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
aGeometricTolerance_Description, theGeometricTolerance_Description,
aGeometricTolerance_Magnitude, theGeometricTolerance_Magnitude,
aGeometricTolerance_TolerancedShapeAspect); theGeometricTolerance_TolerancedShapeAspect);
theDatumSystem = aDatumSystem; myDatumSystem = theDatumSystem;
} }
//======================================================================= //=======================================================================
@ -81,9 +81,9 @@ void StepDimTol_GeometricToleranceWithDatumReference::Init (const Handle(TCollec
Handle(StepDimTol_HArray1OfDatumReference) StepDimTol_GeometricToleranceWithDatumReference::DatumSystem () const Handle(StepDimTol_HArray1OfDatumReference) StepDimTol_GeometricToleranceWithDatumReference::DatumSystem () const
{ {
Handle(StepDimTol_HArray1OfDatumReference) aDatumSystem; Handle(StepDimTol_HArray1OfDatumReference) aDatumSystem;
aDatumSystem = new StepDimTol_HArray1OfDatumReference(theDatumSystem->Lower(), theDatumSystem->Upper()); aDatumSystem = new StepDimTol_HArray1OfDatumReference(myDatumSystem->Lower(), myDatumSystem->Upper());
for (Standard_Integer i = aDatumSystem->Lower(); i <= aDatumSystem->Upper(); i++) { for (Standard_Integer i = aDatumSystem->Lower(); i <= aDatumSystem->Upper(); i++) {
aDatumSystem->SetValue(i, theDatumSystem->Value(i).DatumReference()); aDatumSystem->SetValue(i, myDatumSystem->Value(i).DatumReference());
} }
return aDatumSystem; return aDatumSystem;
} }
@ -95,7 +95,7 @@ Handle(StepDimTol_HArray1OfDatumReference) StepDimTol_GeometricToleranceWithDatu
Handle(StepDimTol_HArray1OfDatumSystemOrReference) StepDimTol_GeometricToleranceWithDatumReference::DatumSystemAP242 () const Handle(StepDimTol_HArray1OfDatumSystemOrReference) StepDimTol_GeometricToleranceWithDatumReference::DatumSystemAP242 () const
{ {
return theDatumSystem; return myDatumSystem;
} }
//======================================================================= //=======================================================================
@ -103,13 +103,13 @@ Handle(StepDimTol_HArray1OfDatumSystemOrReference) StepDimTol_GeometricTolerance
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceWithDatumReference::SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumReference) &aDatumSystem) void StepDimTol_GeometricToleranceWithDatumReference::SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumReference) &theDatumSystem)
{ {
theDatumSystem = new StepDimTol_HArray1OfDatumSystemOrReference(aDatumSystem->Lower(), aDatumSystem->Upper()); myDatumSystem = new StepDimTol_HArray1OfDatumSystemOrReference(theDatumSystem->Lower(), theDatumSystem->Upper());
StepDimTol_DatumSystemOrReference anAux; StepDimTol_DatumSystemOrReference anAux;
for (Standard_Integer i = aDatumSystem->Lower(); i <= aDatumSystem->Upper(); i++) { for (Standard_Integer i = theDatumSystem->Lower(); i <= theDatumSystem->Upper(); i++) {
anAux.SetValue(aDatumSystem->Value(i)); anAux.SetValue(theDatumSystem->Value(i));
theDatumSystem->SetValue(i, anAux); myDatumSystem->SetValue(i, anAux);
} }
} }
@ -118,7 +118,7 @@ void StepDimTol_GeometricToleranceWithDatumReference::SetDatumSystem (const Hand
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_GeometricToleranceWithDatumReference::SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &aDatumSystem) void StepDimTol_GeometricToleranceWithDatumReference::SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &theDatumSystem)
{ {
theDatumSystem = aDatumSystem; myDatumSystem = theDatumSystem;
} }

View File

@ -42,10 +42,18 @@ public:
Standard_EXPORT StepDimTol_GeometricToleranceWithDatumReference(); Standard_EXPORT StepDimTol_GeometricToleranceWithDatumReference();
//! Initialize all fields (own and inherited) AP214 //! Initialize all fields (own and inherited) AP214
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aGeometricTolerance_Name, const Handle(TCollection_HAsciiString)& aGeometricTolerance_Description, const Handle(StepBasic_MeasureWithUnit)& aGeometricTolerance_Magnitude, const Handle(StepRepr_ShapeAspect)& aGeometricTolerance_TolerancedShapeAspect, const Handle(StepDimTol_HArray1OfDatumReference)& aDatumSystem); Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
//! Initialize all fields (own and inherited) AP242 //! Initialize all fields (own and inherited) AP242
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aGeometricTolerance_Name, const Handle(TCollection_HAsciiString)& aGeometricTolerance_Description, const Handle(StepBasic_MeasureWithUnit)& aGeometricTolerance_Magnitude, const StepDimTol_GeometricToleranceTarget& aGeometricTolerance_TolerancedShapeAspect, const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& aDatumSystem); Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
//! Returns field DatumSystem AP214 //! Returns field DatumSystem AP214
Standard_EXPORT Handle(StepDimTol_HArray1OfDatumReference) DatumSystem() const; Standard_EXPORT Handle(StepDimTol_HArray1OfDatumReference) DatumSystem() const;
@ -54,10 +62,10 @@ public:
Standard_EXPORT Handle(StepDimTol_HArray1OfDatumSystemOrReference) DatumSystemAP242() const; Standard_EXPORT Handle(StepDimTol_HArray1OfDatumSystemOrReference) DatumSystemAP242() const;
//! Set field DatumSystem AP214 //! Set field DatumSystem AP214
Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumReference)& DatumSystem); Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumReference)& theDatumSystem);
//! Set field DatumSystem AP242 //! Set field DatumSystem AP242
Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& DatumSystem); Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
@ -72,7 +80,7 @@ protected:
private: private:
Handle(StepDimTol_HArray1OfDatumSystemOrReference) theDatumSystem; Handle(StepDimTol_HArray1OfDatumSystemOrReference) myDatumSystem;
}; };

View File

@ -36,14 +36,14 @@ void StepDimTol_GeometricToleranceWithDefinedAreaUnit::
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect, const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize, const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize,
const StepDimTol_AreaUnitType theUnitType, const StepDimTol_AreaUnitType theUnitType,
const Standard_Boolean hasSecondUnitSize, const Standard_Boolean theHasSecondUnitSize,
const Handle(StepBasic_LengthMeasureWithUnit) &theSecondUnitSize) const Handle(StepBasic_LengthMeasureWithUnit) &theSecondUnitSize)
{ {
StepDimTol_GeometricToleranceWithDefinedUnit:: StepDimTol_GeometricToleranceWithDefinedUnit::
Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect, theUnitSize); Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect, theUnitSize);
areaType = theUnitType; myAreaType = theUnitType;
if (hasSecondUnitSize) if (theHasSecondUnitSize)
secondUnitSize = theSecondUnitSize; mySecondUnitSize = theSecondUnitSize;
else else
secondUnitSize.Nullify(); mySecondUnitSize.Nullify();
} }

View File

@ -41,42 +41,48 @@ public:
Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedAreaUnit(); Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedAreaUnit();
//! Initialize all fields (own and inherited) //! Initialize all fields (own and inherited)
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName, const Handle(TCollection_HAsciiString)& theDescription, const Handle(StepBasic_MeasureWithUnit)& theMagnitude, const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize, const StepDimTol_AreaUnitType theAreaType, const Standard_Boolean hasSecondUnitSize, const Handle(StepBasic_LengthMeasureWithUnit)& theSecondUnitSize) ; Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName,
const Handle(TCollection_HAsciiString)& theDescription,
const Handle(StepBasic_MeasureWithUnit)& theMagnitude,
const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit)& theUnitSize,
const StepDimTol_AreaUnitType theAreaType, const Standard_Boolean theHasSecondUnitSize,
const Handle(StepBasic_LengthMeasureWithUnit)& theSecondUnitSize) ;
//! Returns field AreaType //! Returns field AreaType
inline StepDimTol_AreaUnitType AreaType () const inline StepDimTol_AreaUnitType AreaType () const
{ {
return areaType; return myAreaType;
} }
//! Set field AreaType //! Set field AreaType
inline void SetAreaType (const StepDimTol_AreaUnitType theAreaType) inline void SetAreaType (const StepDimTol_AreaUnitType theAreaType)
{ {
areaType = theAreaType; myAreaType = theAreaType;
} }
//! Returns field SecondUnitSize //! Returns field SecondUnitSize
inline Handle(StepBasic_LengthMeasureWithUnit) SecondUnitSize () const inline Handle(StepBasic_LengthMeasureWithUnit) SecondUnitSize () const
{ {
return secondUnitSize; return mySecondUnitSize;
} }
//! Set field SecondUnitSize //! Set field SecondUnitSize
inline void SetSecondUnitSize (const Handle(StepBasic_LengthMeasureWithUnit) &theSecondUnitSize) inline void SetSecondUnitSize (const Handle(StepBasic_LengthMeasureWithUnit) &theSecondUnitSize)
{ {
secondUnitSize = theSecondUnitSize; mySecondUnitSize = theSecondUnitSize;
} }
//! Indicates if SecondUnitSize field exist //! Indicates if SecondUnitSize field exist
inline Standard_Boolean HasSecondUnitSize () const inline Standard_Boolean HasSecondUnitSize () const
{ {
return secondUnitSize.IsNull(); return mySecondUnitSize.IsNull();
} }
DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDefinedAreaUnit, StepDimTol_GeometricToleranceWithDefinedUnit) DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDefinedAreaUnit, StepDimTol_GeometricToleranceWithDefinedUnit)
private: private:
StepDimTol_AreaUnitType areaType; StepDimTol_AreaUnitType myAreaType;
Handle(StepBasic_LengthMeasureWithUnit) secondUnitSize; Handle(StepBasic_LengthMeasureWithUnit) mySecondUnitSize;
}; };
#endif // _StepDimTol_GeometricToleranceWithDefinedAreaUnit_HeaderFile #endif // _StepDimTol_GeometricToleranceWithDefinedAreaUnit_HeaderFile

View File

@ -39,7 +39,7 @@ void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollectio
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize) const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{ {
StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect); StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect);
unitSize = theUnitSize; myUnitSize = theUnitSize;
} }
//======================================================================= //=======================================================================
@ -54,5 +54,5 @@ void StepDimTol_GeometricToleranceWithDefinedUnit::Init (const Handle(TCollectio
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize) const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{ {
StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect); StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect);
unitSize = theUnitSize; myUnitSize = theUnitSize;
} }

View File

@ -47,18 +47,18 @@ public:
//! Returns field UnitSize //! Returns field UnitSize
inline Handle(StepBasic_LengthMeasureWithUnit) UnitSize () const inline Handle(StepBasic_LengthMeasureWithUnit) UnitSize () const
{ {
return unitSize; return myUnitSize;
} }
//! Set field UnitSize //! Set field UnitSize
inline void SetUnitSize (const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize) inline void SetUnitSize (const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{ {
unitSize = theUnitSize; myUnitSize = theUnitSize;
} }
DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDefinedUnit, StepDimTol_GeometricTolerance) DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDefinedUnit, StepDimTol_GeometricTolerance)
private: private:
Handle(StepBasic_LengthMeasureWithUnit) unitSize; Handle(StepBasic_LengthMeasureWithUnit) myUnitSize;
}; };
#endif // _StepDimTol_GeometricToleranceWithDefinedUnit_HeaderFile #endif // _StepDimTol_GeometricToleranceWithDefinedUnit_HeaderFile

View File

@ -41,5 +41,5 @@ void StepDimTol_GeometricToleranceWithMaximumTolerance::
const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance) const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance)
{ {
StepDimTol_GeometricToleranceWithModifiers::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect, theModifiers); StepDimTol_GeometricToleranceWithModifiers::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect, theModifiers);
maximumUpperTolerance = theMaximumUpperTolerance; myMaximumUpperTolerance = theMaximumUpperTolerance;
} }

View File

@ -44,18 +44,18 @@ public:
//! Returns field MaximumUpperTolerance //! Returns field MaximumUpperTolerance
inline Handle(StepBasic_LengthMeasureWithUnit) MaximumUpperTolerance () const inline Handle(StepBasic_LengthMeasureWithUnit) MaximumUpperTolerance () const
{ {
return maximumUpperTolerance; return myMaximumUpperTolerance;
} }
//! Set field MaximumUpperTolerance //! Set field MaximumUpperTolerance
inline void SetMaximumUpperTolerance (const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance) inline void SetMaximumUpperTolerance (const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance)
{ {
maximumUpperTolerance = theMaximumUpperTolerance; myMaximumUpperTolerance = theMaximumUpperTolerance;
} }
DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithMaximumTolerance, StepDimTol_GeometricToleranceWithModifiers) DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithMaximumTolerance, StepDimTol_GeometricToleranceWithModifiers)
private: private:
Handle(StepBasic_LengthMeasureWithUnit) maximumUpperTolerance; Handle(StepBasic_LengthMeasureWithUnit) myMaximumUpperTolerance;
}; };
#endif // _StepDimTol_GeometricToleranceWithMaximumTolerance_HeaderFile #endif // _StepDimTol_GeometricToleranceWithMaximumTolerance_HeaderFile

View File

@ -39,5 +39,5 @@ void StepDimTol_GeometricToleranceWithModifiers::Init (const Handle(TCollection_
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers) const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers)
{ {
StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect); StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect);
modifiers = theModifiers; myModifiers = theModifiers;
} }

View File

@ -50,35 +50,35 @@ public:
//! Returns field Modifiers //! Returns field Modifiers
inline Handle(StepDimTol_HArray1OfGeometricToleranceModifier) Modifiers () const inline Handle(StepDimTol_HArray1OfGeometricToleranceModifier) Modifiers () const
{ {
return modifiers; return myModifiers;
} }
//! Set field Modifiers //! Set field Modifiers
inline void SetModifiers (const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers) inline void SetModifiers (const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers)
{ {
modifiers = theModifiers; myModifiers = theModifiers;
} }
//! Returns number of modifiers //! Returns number of modifiers
inline Standard_Integer NbModifiers () const inline Standard_Integer NbModifiers () const
{ {
return (modifiers.IsNull() ? 0 : modifiers->Length()); return (myModifiers.IsNull() ? 0 : myModifiers->Length());
} }
//! Returns modifier with the given number //! Returns modifier with the given number
inline StepDimTol_GeometricToleranceModifier ModifierValue(const Standard_Integer num) const inline StepDimTol_GeometricToleranceModifier ModifierValue(const Standard_Integer theNum) const
{ {
return modifiers->Value(num); return myModifiers->Value(theNum);
} }
//! Sets modifier with given number //! Sets modifier with given number
inline void SetModifierValue(const Standard_Integer num, const StepDimTol_GeometricToleranceModifier theItem) inline void SetModifierValue(const Standard_Integer theNum, const StepDimTol_GeometricToleranceModifier theItem)
{ {
modifiers->SetValue (num, theItem); myModifiers->SetValue (theNum, theItem);
} }
DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithModifiers, StepDimTol_GeometricTolerance) DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithModifiers, StepDimTol_GeometricTolerance)
private: private:
Handle(StepDimTol_HArray1OfGeometricToleranceModifier) modifiers; Handle(StepDimTol_HArray1OfGeometricToleranceModifier) myModifiers;
}; };
#endif // _StepDimTol_GeometricToleranceWithModifiers_HeaderFile #endif // _StepDimTol_GeometricToleranceWithModifiers_HeaderFile

View File

@ -35,18 +35,18 @@ StepDimTol_ModifiedGeometricTolerance::StepDimTol_ModifiedGeometricTolerance ()
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aGeometricTolerance_Name, void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &aGeometricTolerance_Description, const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit) &aGeometricTolerance_Magnitude, const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect) &aGeometricTolerance_TolerancedShapeAspect, const Handle(StepRepr_ShapeAspect) &theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition aModifier) const StepDimTol_LimitCondition theModifier)
{ {
StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name, StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
aGeometricTolerance_Description, theGeometricTolerance_Description,
aGeometricTolerance_Magnitude, theGeometricTolerance_Magnitude,
aGeometricTolerance_TolerancedShapeAspect); theGeometricTolerance_TolerancedShapeAspect);
theModifier = aModifier; myModifier = theModifier;
} }
//======================================================================= //=======================================================================
@ -54,18 +54,18 @@ void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsci
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aGeometricTolerance_Name, void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString) &aGeometricTolerance_Description, const Handle(TCollection_HAsciiString) &theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit) &aGeometricTolerance_Magnitude, const Handle(StepBasic_MeasureWithUnit) &theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget &aGeometricTolerance_TolerancedShapeAspect, const StepDimTol_GeometricToleranceTarget &theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition aModifier) const StepDimTol_LimitCondition theModifier)
{ {
StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name, StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
aGeometricTolerance_Description, theGeometricTolerance_Description,
aGeometricTolerance_Magnitude, theGeometricTolerance_Magnitude,
aGeometricTolerance_TolerancedShapeAspect); theGeometricTolerance_TolerancedShapeAspect);
theModifier = aModifier; myModifier = theModifier;
} }
//======================================================================= //=======================================================================
@ -75,7 +75,7 @@ void StepDimTol_ModifiedGeometricTolerance::Init (const Handle(TCollection_HAsci
StepDimTol_LimitCondition StepDimTol_ModifiedGeometricTolerance::Modifier () const StepDimTol_LimitCondition StepDimTol_ModifiedGeometricTolerance::Modifier () const
{ {
return theModifier; return myModifier;
} }
//======================================================================= //=======================================================================
@ -83,7 +83,7 @@ StepDimTol_LimitCondition StepDimTol_ModifiedGeometricTolerance::Modifier () con
//purpose : //purpose :
//======================================================================= //=======================================================================
void StepDimTol_ModifiedGeometricTolerance::SetModifier (const StepDimTol_LimitCondition aModifier) void StepDimTol_ModifiedGeometricTolerance::SetModifier (const StepDimTol_LimitCondition theModifier)
{ {
theModifier = aModifier; myModifier = theModifier;
} }

View File

@ -41,16 +41,24 @@ public:
Standard_EXPORT StepDimTol_ModifiedGeometricTolerance(); Standard_EXPORT StepDimTol_ModifiedGeometricTolerance();
//! Initialize all fields (own and inherited) AP214 //! Initialize all fields (own and inherited) AP214
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aGeometricTolerance_Name, const Handle(TCollection_HAsciiString)& aGeometricTolerance_Description, const Handle(StepBasic_MeasureWithUnit)& aGeometricTolerance_Magnitude, const Handle(StepRepr_ShapeAspect)& aGeometricTolerance_TolerancedShapeAspect, const StepDimTol_LimitCondition aModifier); Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
const Handle(StepRepr_ShapeAspect)& theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition theModifier);
//! Initialize all fields (own and inherited) AP242 //! Initialize all fields (own and inherited) AP242
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aGeometricTolerance_Name, const Handle(TCollection_HAsciiString)& aGeometricTolerance_Description, const Handle(StepBasic_MeasureWithUnit)& aGeometricTolerance_Magnitude, const StepDimTol_GeometricToleranceTarget& aGeometricTolerance_TolerancedShapeAspect, const StepDimTol_LimitCondition aModifier); Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theGeometricTolerance_Name,
const Handle(TCollection_HAsciiString)& theGeometricTolerance_Description,
const Handle(StepBasic_MeasureWithUnit)& theGeometricTolerance_Magnitude,
const StepDimTol_GeometricToleranceTarget& theGeometricTolerance_TolerancedShapeAspect,
const StepDimTol_LimitCondition theModifier);
//! Returns field Modifier //! Returns field Modifier
Standard_EXPORT StepDimTol_LimitCondition Modifier() const; Standard_EXPORT StepDimTol_LimitCondition Modifier() const;
//! Set field Modifier //! Set field Modifier
Standard_EXPORT void SetModifier (const StepDimTol_LimitCondition Modifier); Standard_EXPORT void SetModifier (const StepDimTol_LimitCondition theModifier);
@ -65,7 +73,7 @@ protected:
private: private:
StepDimTol_LimitCondition theModifier; StepDimTol_LimitCondition myModifier;
}; };

View File

@ -35,6 +35,6 @@ void StepDimTol_ProjectedZoneDefinition::Init (const Handle(StepDimTol_Tolerance
const Handle(StepBasic_LengthMeasureWithUnit)& theProjectionLength) const Handle(StepBasic_LengthMeasureWithUnit)& theProjectionLength)
{ {
StepDimTol_ToleranceZoneDefinition::Init(theZone, theBoundaries); StepDimTol_ToleranceZoneDefinition::Init(theZone, theBoundaries);
projectionEnd = theProjectionEnd; myProjectionEnd = theProjectionEnd;
projectionLength = theProjectionLength; myProjectionLength = theProjectionLength;
} }

View File

@ -44,31 +44,31 @@ public:
//! Returns field ProjectionEnd //! Returns field ProjectionEnd
inline Handle(StepRepr_ShapeAspect) ProjectionEnd () const inline Handle(StepRepr_ShapeAspect) ProjectionEnd () const
{ {
return projectionEnd; return myProjectionEnd;
} }
//! Set field ProjectionEnd //! Set field ProjectionEnd
inline void SetProjectionEnd (const Handle(StepRepr_ShapeAspect) &theProjectionEnd) inline void SetProjectionEnd (const Handle(StepRepr_ShapeAspect) &theProjectionEnd)
{ {
projectionEnd = theProjectionEnd; myProjectionEnd = theProjectionEnd;
} }
//! Returns field ProjectionLength //! Returns field ProjectionLength
inline Handle(StepBasic_LengthMeasureWithUnit) ProjectionLength() inline Handle(StepBasic_LengthMeasureWithUnit) ProjectionLength()
{ {
return projectionLength; return myProjectionLength;
} }
//! Set field ProjectionLength //! Set field ProjectionLength
inline void SetProjectionLength(const Handle(StepBasic_LengthMeasureWithUnit)& theProjectionLength) inline void SetProjectionLength(const Handle(StepBasic_LengthMeasureWithUnit)& theProjectionLength)
{ {
projectionLength = theProjectionLength; myProjectionLength = theProjectionLength;
} }
DEFINE_STANDARD_RTTI(StepDimTol_ProjectedZoneDefinition, StepDimTol_ToleranceZoneDefinition) DEFINE_STANDARD_RTTI(StepDimTol_ProjectedZoneDefinition, StepDimTol_ToleranceZoneDefinition)
private: private:
Handle(StepRepr_ShapeAspect) projectionEnd; Handle(StepRepr_ShapeAspect) myProjectionEnd;
Handle(StepBasic_LengthMeasureWithUnit) projectionLength; Handle(StepBasic_LengthMeasureWithUnit) myProjectionLength;
}; };
#endif // _StepDimTol_ProjectionZoneDefinition_HeaderFile #endif // _StepDimTol_ProjectionZoneDefinition_HeaderFile

View File

@ -37,5 +37,5 @@ void StepDimTol_RunoutZoneDefinition:: Init (const Handle(StepDimTol_ToleranceZo
const Handle(StepDimTol_RunoutZoneOrientation)& theOrientation) const Handle(StepDimTol_RunoutZoneOrientation)& theOrientation)
{ {
StepDimTol_ToleranceZoneDefinition::Init(theZone, theBoundaries); StepDimTol_ToleranceZoneDefinition::Init(theZone, theBoundaries);
orientation = theOrientation; myOrientation = theOrientation;
} }

View File

@ -44,18 +44,18 @@ public:
//! Returns field Orientation //! Returns field Orientation
inline Handle(StepDimTol_RunoutZoneOrientation) Orientation () const inline Handle(StepDimTol_RunoutZoneOrientation) Orientation () const
{ {
return orientation; return myOrientation;
} }
//! Set field Orientation //! Set field Orientation
inline void SetOrientation (const Handle(StepDimTol_RunoutZoneOrientation) &theOrientation) inline void SetOrientation (const Handle(StepDimTol_RunoutZoneOrientation) &theOrientation)
{ {
orientation = theOrientation; myOrientation = theOrientation;
} }
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneDefinition, StepDimTol_ToleranceZoneDefinition) DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneDefinition, StepDimTol_ToleranceZoneDefinition)
private: private:
Handle(StepDimTol_RunoutZoneOrientation) orientation; Handle(StepDimTol_RunoutZoneOrientation) myOrientation;
}; };
#endif // _StepDimTol_RunoutToleranceZone_HeaderFile #endif // _StepDimTol_RunoutToleranceZone_HeaderFile

View File

@ -31,5 +31,5 @@ void StepDimTol_RunoutZoneOrientation::Init(
const Handle(StepBasic_PlaneAngleMeasureWithUnit)& theAngle) const Handle(StepBasic_PlaneAngleMeasureWithUnit)& theAngle)
{ {
// --- class own fields --- // --- class own fields ---
angle = theAngle; myAngle = theAngle;
} }

View File

@ -39,19 +39,19 @@ public:
//! Returns field Angle //! Returns field Angle
inline Handle(StepBasic_PlaneAngleMeasureWithUnit) Angle() inline Handle(StepBasic_PlaneAngleMeasureWithUnit) Angle()
{ {
return angle; return myAngle;
} }
//! Set field Angle //! Set field Angle
inline void SetAngle(const Handle(StepBasic_PlaneAngleMeasureWithUnit) &theAngle) inline void SetAngle(const Handle(StepBasic_PlaneAngleMeasureWithUnit) &theAngle)
{ {
angle = theAngle; myAngle = theAngle;
} }
DEFINE_STANDARD_RTTI(StepDimTol_RunoutZoneOrientation, MMgt_TShared) DEFINE_STANDARD_RTTI(StepDimTol_RunoutZoneOrientation, MMgt_TShared)
private: private:
Handle(StepBasic_PlaneAngleMeasureWithUnit) angle; Handle(StepBasic_PlaneAngleMeasureWithUnit) myAngle;
}; };
#endif // _StepDimTol_RunoutZoneOrientation_HeaderFile #endif // _StepDimTol_RunoutZoneOrientation_HeaderFile

View File

@ -39,7 +39,7 @@ void StepDimTol_ToleranceZone::Init (const Handle(TCollection_HAsciiString)& the
const Handle(StepDimTol_ToleranceZoneForm)& theForm) const Handle(StepDimTol_ToleranceZoneForm)& theForm)
{ {
StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional); StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional);
definingTolerance = theDefiningTolerance; myDefiningTolerance = theDefiningTolerance;
form = theForm; myForm = theForm;
} }

View File

@ -51,49 +51,49 @@ public:
//! Returns field DefiningTolerance //! Returns field DefiningTolerance
inline Handle(StepDimTol_HArray1OfToleranceZoneTarget) DefiningTolerance () const inline Handle(StepDimTol_HArray1OfToleranceZoneTarget) DefiningTolerance () const
{ {
return definingTolerance; return myDefiningTolerance;
} }
//! Set field DefiningTolerance //! Set field DefiningTolerance
inline void SetModifiers (const Handle(StepDimTol_HArray1OfToleranceZoneTarget) &theDefiningTolerance) inline void SetModifiers (const Handle(StepDimTol_HArray1OfToleranceZoneTarget) &theDefiningTolerance)
{ {
definingTolerance = theDefiningTolerance; myDefiningTolerance = theDefiningTolerance;
} }
//! Returns number of Defining Tolerances //! Returns number of Defining Tolerances
inline Standard_Integer NbDefiningTolerances () const inline Standard_Integer NbDefiningTolerances () const
{ {
return (definingTolerance.IsNull() ? 0 : definingTolerance->Length()); return (myDefiningTolerance.IsNull() ? 0 : myDefiningTolerance->Length());
} }
//! Returns Defining Tolerance with the given number //! Returns Defining Tolerance with the given number
inline StepDimTol_ToleranceZoneTarget DefiningToleranceValue(const Standard_Integer num) const inline StepDimTol_ToleranceZoneTarget DefiningToleranceValue(const Standard_Integer theNum) const
{ {
return definingTolerance->Value(num); return myDefiningTolerance->Value(theNum);
} }
//! Sets Defining Tolerance with given number //! Sets Defining Tolerance with given number
inline void SetDefiningToleranceValue(const Standard_Integer num, const StepDimTol_ToleranceZoneTarget& theItem) inline void SetDefiningToleranceValue(const Standard_Integer theNum, const StepDimTol_ToleranceZoneTarget& theItem)
{ {
definingTolerance->SetValue (num, theItem); myDefiningTolerance->SetValue (theNum, theItem);
} }
//! Returns field Form //! Returns field Form
inline Handle(StepDimTol_ToleranceZoneForm) Form() inline Handle(StepDimTol_ToleranceZoneForm) Form()
{ {
return form; return myForm;
} }
//! Set field Form //! Set field Form
inline void SetForm(const Handle(StepDimTol_ToleranceZoneForm)& theForm) inline void SetForm(const Handle(StepDimTol_ToleranceZoneForm)& theForm)
{ {
form = theForm; myForm = theForm;
} }
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZone, StepRepr_ShapeAspect) DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZone, StepRepr_ShapeAspect)
private: private:
Handle(StepDimTol_HArray1OfToleranceZoneTarget) definingTolerance; Handle(StepDimTol_HArray1OfToleranceZoneTarget) myDefiningTolerance;
Handle(StepDimTol_ToleranceZoneForm) form; Handle(StepDimTol_ToleranceZoneForm) myForm;
}; };
#endif // _StepDimTol_ToleranceZone_HeaderFile #endif // _StepDimTol_ToleranceZone_HeaderFile

View File

@ -34,6 +34,6 @@ StepDimTol_ToleranceZoneDefinition::StepDimTol_ToleranceZoneDefinition ()
void StepDimTol_ToleranceZoneDefinition::Init (const Handle(StepDimTol_ToleranceZone)& theZone, void StepDimTol_ToleranceZoneDefinition::Init (const Handle(StepDimTol_ToleranceZone)& theZone,
const Handle(StepRepr_HArray1OfShapeAspect)& theBoundaries) const Handle(StepRepr_HArray1OfShapeAspect)& theBoundaries)
{ {
boundaries = theBoundaries; myBoundaries = theBoundaries;
zone = theZone; myZone = theZone;
} }

View File

@ -45,49 +45,49 @@ public:
//! Returns field Boundaries //! Returns field Boundaries
inline Handle(StepRepr_HArray1OfShapeAspect) Boundaries () const inline Handle(StepRepr_HArray1OfShapeAspect) Boundaries () const
{ {
return boundaries; return myBoundaries;
} }
//! Set field Boundaries //! Set field Boundaries
inline void SetBoundaries (const Handle(StepRepr_HArray1OfShapeAspect) &theBoundaries) inline void SetBoundaries (const Handle(StepRepr_HArray1OfShapeAspect) &theBoundaries)
{ {
boundaries = theBoundaries; myBoundaries = theBoundaries;
} }
//! Returns number of Boundaries //! Returns number of Boundaries
inline Standard_Integer NbBoundaries () const inline Standard_Integer NbBoundaries () const
{ {
return (boundaries.IsNull() ? 0 : boundaries->Length()); return (myBoundaries.IsNull() ? 0 : myBoundaries->Length());
} }
//! Returns Boundaries with the given number //! Returns Boundaries with the given number
inline Handle(StepRepr_ShapeAspect) BoundariesValue(const Standard_Integer num) const inline Handle(StepRepr_ShapeAspect) BoundariesValue(const Standard_Integer theNum) const
{ {
return boundaries->Value(num); return myBoundaries->Value(theNum);
} }
//! Sets Boundaries with given number //! Sets Boundaries with given number
inline void SetBoundariesValue(const Standard_Integer num, const Handle(StepRepr_ShapeAspect)& theItem) inline void SetBoundariesValue(const Standard_Integer theNum, const Handle(StepRepr_ShapeAspect)& theItem)
{ {
boundaries->SetValue (num, theItem); myBoundaries->SetValue (theNum, theItem);
} }
//! Returns field Zone //! Returns field Zone
inline Handle(StepDimTol_ToleranceZone) Zone() inline Handle(StepDimTol_ToleranceZone) Zone()
{ {
return zone; return myZone;
} }
//! Set field Zone //! Set field Zone
inline void SetZone(const Handle(StepDimTol_ToleranceZone)& theZone) inline void SetZone(const Handle(StepDimTol_ToleranceZone)& theZone)
{ {
zone = theZone; myZone = theZone;
} }
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneDefinition, MMgt_TShared) DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneDefinition, MMgt_TShared)
private: private:
Handle(StepRepr_HArray1OfShapeAspect) boundaries; Handle(StepRepr_HArray1OfShapeAspect) myBoundaries;
Handle(StepDimTol_ToleranceZone) zone; Handle(StepDimTol_ToleranceZone) myZone;
}; };
#endif // _StepDimTol_ToleranceZoneDefinition_HeaderFile #endif // _StepDimTol_ToleranceZoneDefinition_HeaderFile

View File

@ -31,5 +31,5 @@ void StepDimTol_ToleranceZoneForm::Init(
const Handle(TCollection_HAsciiString)& theName) const Handle(TCollection_HAsciiString)& theName)
{ {
// --- classe own fields --- // --- classe own fields ---
name = theName; myName = theName;
} }

View File

@ -41,19 +41,19 @@ public:
//! Returns field Name //! Returns field Name
inline Handle(TCollection_HAsciiString) Name() inline Handle(TCollection_HAsciiString) Name()
{ {
return name; return myName;
} }
//! Set field Name //! Set field Name
inline void SetName(const Handle(TCollection_HAsciiString) &theName) inline void SetName(const Handle(TCollection_HAsciiString) &theName)
{ {
name = theName; myName = theName;
} }
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneForm, MMgt_TShared) DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneForm, MMgt_TShared)
private: private:
Handle(TCollection_HAsciiString) name; Handle(TCollection_HAsciiString) myName;
}; };
#endif // _StepDimTol_ToleranceZoneForm_HeaderFile #endif // _StepDimTol_ToleranceZoneForm_HeaderFile

View File

@ -39,5 +39,5 @@ void StepDimTol_UnequallyDisposedGeometricTolerance::Init (const Handle(TCollect
const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement) const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
{ {
StepDimTol_GeometricTolerance::Init( theName, theDescription, theMagnitude, theTolerancedShapeAspect); StepDimTol_GeometricTolerance::Init( theName, theDescription, theMagnitude, theTolerancedShapeAspect);
displacement = theDisplacement; myDisplacement = theDisplacement;
} }

View File

@ -43,18 +43,18 @@ public:
//! Returns field Displacement //! Returns field Displacement
inline Handle(StepBasic_LengthMeasureWithUnit) Displacement () const inline Handle(StepBasic_LengthMeasureWithUnit) Displacement () const
{ {
return displacement; return myDisplacement;
} }
//! Set field Displacement //! Set field Displacement
inline void SetDisplacement (const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement) inline void SetDisplacement (const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
{ {
displacement = theDisplacement; myDisplacement = theDisplacement;
} }
DEFINE_STANDARD_RTTI(StepDimTol_UnequallyDisposedGeometricTolerance, StepDimTol_GeometricTolerance) DEFINE_STANDARD_RTTI(StepDimTol_UnequallyDisposedGeometricTolerance, StepDimTol_GeometricTolerance)
private: private:
Handle(StepBasic_LengthMeasureWithUnit) displacement; Handle(StepBasic_LengthMeasureWithUnit) myDisplacement;
}; };
#endif // _StepDimTol_UnequallyDisposedGeometricTolerance_HeaderFile #endif // _StepDimTol_UnequallyDisposedGeometricTolerance_HeaderFile