Names of class fields and method parameters are fixed according to coding standard.
Standard_Integer nbElements = data->NbParams(nbSub);
aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements);
for (Standard_Integer i = 1; i <= nbElements; i++) {
- Interface_ParamType aType = data->ParamType (nbSub, i);
+ aType = data->ParamType (nbSub, i);
if (aType == Interface_ParamIdent) {
Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV;
data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV);
Standard_Integer nbElements = data->NbParams(nbSub);
aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements);
for (Standard_Integer i = 1; i <= nbElements; i++) {
- Interface_ParamType aType = data->ParamType (nbSub, i);
+ aType = data->ParamType (nbSub, i);
if (aType == Interface_ParamIdent) {
Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV;
data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV);
Standard_Integer nbElements = data->NbParams(nbSub);
aModifiers = new StepDimTol_HArray1OfDatumReferenceModifier (1, nbElements);
for (Standard_Integer i = 1; i <= nbElements; i++) {
- Interface_ParamType aType = data->ParamType (nbSub, i);
+ aType = data->ParamType (nbSub, i);
if (aType == Interface_ParamIdent) {
Handle(StepDimTol_DatumReferenceModifierWithValue) aDRMWV;
data->ReadEntity(nbSub, i,"datum_reference_modifier_with_value", ach, STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), aDRMWV);
//purpose :
//=======================================================================
-void StepDimTol_CommonDatum::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)
+void StepDimTol_CommonDatum::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)
{
- StepRepr_CompositeShapeAspect::Init(aShapeAspect_Name,
- aShapeAspect_Description,
- aShapeAspect_OfShape,
- aShapeAspect_ProductDefinitional);
- theDatum->Init(aDatum_Name,
- aDatum_Description,
- aDatum_OfShape,
- aDatum_ProductDefinitional,
- aDatum_Identification);
+ StepRepr_CompositeShapeAspect::Init(theShapeAspect_Name,
+ theShapeAspect_Description,
+ theShapeAspect_OfShape,
+ theShapeAspect_ProductDefinitional);
+ myDatum->Init(theDatum_Name,
+ theDatum_Description,
+ theDatum_OfShape,
+ theDatum_ProductDefinitional,
+ theDatum_Identification);
}
//=======================================================================
Handle(StepDimTol_Datum) StepDimTol_CommonDatum::Datum () const
{
- return theDatum;
+ return myDatum;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_CommonDatum::SetDatum (const Handle(StepDimTol_Datum) &aDatum)
+void StepDimTol_CommonDatum::SetDatum (const Handle(StepDimTol_Datum) &theDatum)
{
- theDatum = aDatum;
+ myDatum = theDatum;
}
Standard_EXPORT StepDimTol_CommonDatum();
//! 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
Standard_EXPORT Handle(StepDimTol_Datum) Datum() const;
//! Set data for supertype Datum
- Standard_EXPORT void SetDatum (const Handle(StepDimTol_Datum)& Datum);
+ Standard_EXPORT void SetDatum (const Handle(StepDimTol_Datum)& theDatum);
private:
- Handle(StepDimTol_Datum) theDatum;
+ Handle(StepDimTol_Datum) myDatum;
};
//purpose :
//=======================================================================
-void StepDimTol_Datum::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)
+void StepDimTol_Datum::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)
{
- StepRepr_ShapeAspect::Init(aShapeAspect_Name,
- aShapeAspect_Description,
- aShapeAspect_OfShape,
- aShapeAspect_ProductDefinitional);
- theIdentification = aIdentification;
+ StepRepr_ShapeAspect::Init(theShapeAspect_Name,
+ theShapeAspect_Description,
+ theShapeAspect_OfShape,
+ theShapeAspect_ProductDefinitional);
+ myIdentification = theIdentification;
}
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_Datum::Identification () const
{
- return theIdentification;
+ return myIdentification;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_Datum::SetIdentification (const Handle(TCollection_HAsciiString) &aIdentification)
+void StepDimTol_Datum::SetIdentification (const Handle(TCollection_HAsciiString) &theIdentification)
{
- theIdentification = aIdentification;
+ myIdentification = theIdentification;
}
Standard_EXPORT StepDimTol_Datum();
//! 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
Standard_EXPORT Handle(TCollection_HAsciiString) Identification() const;
//! Set field Identification
- Standard_EXPORT void SetIdentification (const Handle(TCollection_HAsciiString)& Identification);
+ Standard_EXPORT void SetIdentification (const Handle(TCollection_HAsciiString)& theIdentification);
private:
- Handle(TCollection_HAsciiString) theIdentification;
+ Handle(TCollection_HAsciiString) myIdentification;
};
//purpose :
//=======================================================================
-void StepDimTol_DatumReference::Init (const Standard_Integer aPrecedence,
- const Handle(StepDimTol_Datum) &aReferencedDatum)
+void StepDimTol_DatumReference::Init (const Standard_Integer thePrecedence,
+ const Handle(StepDimTol_Datum) &theReferencedDatum)
{
- thePrecedence = aPrecedence;
+ myPrecedence = thePrecedence;
- theReferencedDatum = aReferencedDatum;
+ myReferencedDatum = theReferencedDatum;
}
//=======================================================================
Standard_Integer StepDimTol_DatumReference::Precedence () const
{
- return thePrecedence;
+ return myPrecedence;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_DatumReference::SetPrecedence (const Standard_Integer aPrecedence)
+void StepDimTol_DatumReference::SetPrecedence (const Standard_Integer thePrecedence)
{
- thePrecedence = aPrecedence;
+ myPrecedence = thePrecedence;
}
//=======================================================================
Handle(StepDimTol_Datum) StepDimTol_DatumReference::ReferencedDatum () const
{
- return theReferencedDatum;
+ return myReferencedDatum;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_DatumReference::SetReferencedDatum (const Handle(StepDimTol_Datum) &aReferencedDatum)
+void StepDimTol_DatumReference::SetReferencedDatum (const Handle(StepDimTol_Datum) &theReferencedDatum)
{
- theReferencedDatum = aReferencedDatum;
+ myReferencedDatum = theReferencedDatum;
}
Standard_EXPORT StepDimTol_DatumReference();
//! 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
Standard_EXPORT Standard_Integer Precedence() const;
//! Set field Precedence
- Standard_EXPORT void SetPrecedence (const Standard_Integer Precedence);
+ Standard_EXPORT void SetPrecedence (const Standard_Integer thePrecedence);
//! Returns field ReferencedDatum
Standard_EXPORT Handle(StepDimTol_Datum) ReferencedDatum() const;
//! Set field ReferencedDatum
- Standard_EXPORT void SetReferencedDatum (const Handle(StepDimTol_Datum)& ReferencedDatum);
+ Standard_EXPORT void SetReferencedDatum (const Handle(StepDimTol_Datum)& theReferencedDatum);
private:
- Standard_Integer thePrecedence;
- Handle(StepDimTol_Datum) theReferencedDatum;
+ Standard_Integer myPrecedence;
+ Handle(StepDimTol_Datum) myReferencedDatum;
};
void StepDimTol_DatumReferenceModifierWithValue::Init (const StepDimTol_DatumReferenceModifierType& theModifierType,
const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue)
{
- modifierType = theModifierType;
- modifierValue = theModifierValue;
+ myModifierType = theModifierType;
+ myModifierValue = theModifierValue;
}
\ No newline at end of file
//! Returns field ModifierType
inline StepDimTol_DatumReferenceModifierType ModifierType () const
{
- return modifierType;
+ return myModifierType;
}
//! Set field ModifierType
inline void SetModifierType (const StepDimTol_DatumReferenceModifierType &theModifierType)
{
- modifierType = theModifierType;
+ myModifierType = theModifierType;
}
//! Returns field ModifierValue
inline Handle(StepBasic_LengthMeasureWithUnit) ModifierValue()
{
- return modifierValue;
+ return myModifierValue;
}
//! Set field ModifierValue
inline void SetModifierValue(const Handle(StepBasic_LengthMeasureWithUnit)& theModifierValue)
{
- modifierValue = theModifierValue;
+ myModifierValue = theModifierValue;
}
DEFINE_STANDARD_RTTI(StepDimTol_DatumReferenceModifierWithValue, MMgt_TShared)
private:
- StepDimTol_DatumReferenceModifierType modifierType;
- Handle(StepBasic_LengthMeasureWithUnit) modifierValue;
+ StepDimTol_DatumReferenceModifierType myModifierType;
+ Handle(StepBasic_LengthMeasureWithUnit) myModifierValue;
};
#endif // _StepDimTol_DatumReferenceModifierWithValue_HeaderFile
const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents)
{
StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional);
- constituents = theConstituents;
+ myConstituents = theConstituents;
}
\ No newline at end of file
//! Returns field Constituents
inline Handle(StepDimTol_HArray1OfDatumReferenceCompartment) Constituents()
{
- return constituents;
+ return myConstituents;
}
//! Set field Constituents
inline void SetConstituents(const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents)
{
- constituents = theConstituents;
+ myConstituents = theConstituents;
}
//! Returns number of Constituents
inline Standard_Integer NbConstituents () const
{
- return (constituents.IsNull() ? 0 : constituents->Length());
+ return (myConstituents.IsNull() ? 0 : myConstituents->Length());
}
//! Returns Constituents with the given number
inline Handle(StepDimTol_DatumReferenceCompartment) ConstituentsValue(const Standard_Integer num) const
{
- return constituents->Value(num);
+ return myConstituents->Value(num);
}
//! Sets Constituents with given number
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)
private:
- Handle(StepDimTol_HArray1OfDatumReferenceCompartment) constituents;
+ Handle(StepDimTol_HArray1OfDatumReferenceCompartment) myConstituents;
};
#endif // _StepDimTol_DatumSystem_HeaderFile
//purpose :
//=======================================================================
-void StepDimTol_DatumTarget::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)
+void StepDimTol_DatumTarget::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)
{
- StepRepr_ShapeAspect::Init(aShapeAspect_Name,
- aShapeAspect_Description,
- aShapeAspect_OfShape,
- aShapeAspect_ProductDefinitional);
- theTargetId = aTargetId;
+ StepRepr_ShapeAspect::Init(theShapeAspect_Name,
+ theShapeAspect_Description,
+ theShapeAspect_OfShape,
+ theShapeAspect_ProductDefinitional);
+ myTargetId = theTargetId;
}
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_DatumTarget::TargetId () const
{
- return theTargetId;
+ return myTargetId;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_DatumTarget::SetTargetId (const Handle(TCollection_HAsciiString) &aTargetId)
+void StepDimTol_DatumTarget::SetTargetId (const Handle(TCollection_HAsciiString) &theTargetId)
{
- theTargetId = aTargetId;
+ myTargetId = theTargetId;
}
Standard_EXPORT StepDimTol_DatumTarget();
//! 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
Standard_EXPORT Handle(TCollection_HAsciiString) TargetId() const;
//! Set field TargetId
- Standard_EXPORT void SetTargetId (const Handle(TCollection_HAsciiString)& TargetId);
+ Standard_EXPORT void SetTargetId (const Handle(TCollection_HAsciiString)& theTargetId);
private:
- Handle(TCollection_HAsciiString) theTargetId;
+ Handle(TCollection_HAsciiString) myTargetId;
};
const Handle(StepRepr_ProductDefinitionShape)& theOfShape,
const StepData_Logical theProductDefinitional,
const StepDimTol_DatumOrCommonDatum& theBase,
- const Standard_Boolean hasModifiers,
+ const Standard_Boolean theHasModifiers,
const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers)
{
StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional);
- base = theBase;
- if (hasModifiers)
- modifiers = theModifiers;
+ myBase = theBase;
+ if (theHasModifiers)
+ myModifiers = theModifiers;
else
- modifiers.Nullify();
+ myModifiers.Nullify();
}
\ No newline at end of file
const Handle(StepRepr_ProductDefinitionShape)& theOfShape,
const StepData_Logical theProductDefinitional,
const StepDimTol_DatumOrCommonDatum& theBase,
- const Standard_Boolean hasModifiers,
+ const Standard_Boolean theHasModifiers,
const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers);
//! Returns field Base
inline StepDimTol_DatumOrCommonDatum Base()
{
- return base;
+ return myBase;
}
//! Set field Base
inline void SetBase(const StepDimTol_DatumOrCommonDatum& theBase)
{
- base = theBase;
+ myBase = theBase;
}
//! Indicates is field Modifiers exist
inline Standard_Boolean HasModifiers() const
{
- return modifiers.IsNull();
+ return myModifiers.IsNull();
}
//! Returns field Modifiers
inline Handle(StepDimTol_HArray1OfDatumReferenceModifier) Modifiers()
{
- return modifiers;
+ return myModifiers;
}
//! Set field Modifiers
inline void SetModifiers(const Handle(StepDimTol_HArray1OfDatumReferenceModifier)& theModifiers)
{
- modifiers = theModifiers;
+ myModifiers = theModifiers;
}
//! Returns number of Modifiers
inline Standard_Integer NbModifiers () const
{
- return (modifiers.IsNull() ? 0 : modifiers->Length());
+ return (myModifiers.IsNull() ? 0 : myModifiers->Length());
}
//! 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
- 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)
private:
- StepDimTol_DatumOrCommonDatum base;
- Handle(StepDimTol_HArray1OfDatumReferenceModifier) modifiers;
+ StepDimTol_DatumOrCommonDatum myBase;
+ Handle(StepDimTol_HArray1OfDatumReferenceModifier) myModifiers;
};
#endif // _StepDimTol_GeneralDatumReference_HeaderFile
//purpose :
//=======================================================================
-void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aName,
- const Handle(TCollection_HAsciiString) &aDescription,
- const Handle(StepBasic_MeasureWithUnit) &aMagnitude,
- const StepDimTol_GeometricToleranceTarget &aTolerancedShapeAspect)
+void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
+ const Handle(TCollection_HAsciiString) &theDescription,
+ const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect)
{
- theName = aName;
+ myName = theName;
- theDescription = aDescription;
+ myDescription = theDescription;
- theMagnitude = aMagnitude;
+ myMagnitude = theMagnitude;
- theTolerancedShapeAspect = aTolerancedShapeAspect;
+ myTolerancedShapeAspect = theTolerancedShapeAspect;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &aName,
- const Handle(TCollection_HAsciiString) &aDescription,
- const Handle(StepBasic_MeasureWithUnit) &aMagnitude,
- const Handle(StepRepr_ShapeAspect) &aTolerancedShapeAspect)
+void StepDimTol_GeometricTolerance::Init (const Handle(TCollection_HAsciiString) &theName,
+ const Handle(TCollection_HAsciiString) &theDescription,
+ const Handle(StepBasic_MeasureWithUnit) &theMagnitude,
+ const Handle(StepRepr_ShapeAspect) &theTolerancedShapeAspect)
{
- theName = aName;
+ myName = theName;
- theDescription = aDescription;
+ myDescription = theDescription;
- theMagnitude = aMagnitude;
+ myMagnitude = theMagnitude;
- theTolerancedShapeAspect.SetValue(aTolerancedShapeAspect);
+ myTolerancedShapeAspect.SetValue(theTolerancedShapeAspect);
}
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Name () const
{
- return theName;
+ return myName;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricTolerance::SetName (const Handle(TCollection_HAsciiString) &aName)
+void StepDimTol_GeometricTolerance::SetName (const Handle(TCollection_HAsciiString) &theName)
{
- theName = aName;
+ myName = theName;
}
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_GeometricTolerance::Description () const
{
- return theDescription;
+ return myDescription;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricTolerance::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
+void StepDimTol_GeometricTolerance::SetDescription (const Handle(TCollection_HAsciiString) &theDescription)
{
- theDescription = aDescription;
+ myDescription = theDescription;
}
//=======================================================================
Handle(StepBasic_MeasureWithUnit) StepDimTol_GeometricTolerance::Magnitude () const
{
- return theMagnitude;
+ return myMagnitude;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_MeasureWithUnit) &aMagnitude)
+void StepDimTol_GeometricTolerance::SetMagnitude (const Handle(StepBasic_MeasureWithUnit) &theMagnitude)
{
- theMagnitude = aMagnitude;
+ myMagnitude = theMagnitude;
}
//=======================================================================
StepDimTol_GeometricToleranceTarget StepDimTol_GeometricTolerance::TolerancedShapeAspect () const
{
- return theTolerancedShapeAspect;
+ return myTolerancedShapeAspect;
}
//=======================================================================
//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);
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget &aTolerancedShapeAspect)
+void StepDimTol_GeometricTolerance::SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect)
{
- theTolerancedShapeAspect = aTolerancedShapeAspect;
+ myTolerancedShapeAspect = theTolerancedShapeAspect;
}
Standard_EXPORT StepDimTol_GeometricTolerance();
//! 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
- 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
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
//! Set field Name
- Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& Name);
+ Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& theName);
//! Returns field Description
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
//! Set field Description
- Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& Description);
+ Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
//! Returns field Magnitude
Standard_EXPORT Handle(StepBasic_MeasureWithUnit) Magnitude() const;
//! Set field Magnitude
- Standard_EXPORT void SetMagnitude (const Handle(StepBasic_MeasureWithUnit)& Magnitude);
+ Standard_EXPORT void SetMagnitude (const Handle(StepBasic_MeasureWithUnit)& theMagnitude);
//! Returns field TolerancedShapeAspect
//! Note: in AP214(203) type of this attribute can be only StepRepr_ShapeAspect
Standard_EXPORT StepDimTol_GeometricToleranceTarget TolerancedShapeAspect() const;
//! 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
- Standard_EXPORT void SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget& TolerancedShapeAspect);
+ Standard_EXPORT void SetTolerancedShapeAspect (const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect);
private:
- Handle(TCollection_HAsciiString) theName;
- Handle(TCollection_HAsciiString) theDescription;
- Handle(StepBasic_MeasureWithUnit) theMagnitude;
- StepDimTol_GeometricToleranceTarget theTolerancedShapeAspect;
+ Handle(TCollection_HAsciiString) myName;
+ Handle(TCollection_HAsciiString) myDescription;
+ Handle(StepBasic_MeasureWithUnit) myMagnitude;
+ StepDimTol_GeometricToleranceTarget myTolerancedShapeAspect;
};
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceRelationship::Init (const Handle(TCollection_HAsciiString) &aName,
- const Handle(TCollection_HAsciiString) &aDescription,
- const Handle(StepDimTol_GeometricTolerance) &aRelatingGeometricTolerance,
- const Handle(StepDimTol_GeometricTolerance) &aRelatedGeometricTolerance)
+void StepDimTol_GeometricToleranceRelationship::Init (const Handle(TCollection_HAsciiString) &theName,
+ const Handle(TCollection_HAsciiString) &theDescription,
+ const Handle(StepDimTol_GeometricTolerance) &theRelatingGeometricTolerance,
+ const Handle(StepDimTol_GeometricTolerance) &theRelatedGeometricTolerance)
{
- theName = aName;
+ myName = theName;
- theDescription = aDescription;
+ myDescription = theDescription;
- theRelatingGeometricTolerance = aRelatingGeometricTolerance;
+ myRelatingGeometricTolerance = theRelatingGeometricTolerance;
- theRelatedGeometricTolerance = aRelatedGeometricTolerance;
+ myRelatedGeometricTolerance = theRelatedGeometricTolerance;
}
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Name () const
{
- return theName;
+ return myName;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceRelationship::SetName (const Handle(TCollection_HAsciiString) &aName)
+void StepDimTol_GeometricToleranceRelationship::SetName (const Handle(TCollection_HAsciiString) &theName)
{
- theName = aName;
+ myName = theName;
}
//=======================================================================
Handle(TCollection_HAsciiString) StepDimTol_GeometricToleranceRelationship::Description () const
{
- return theDescription;
+ return myDescription;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceRelationship::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
+void StepDimTol_GeometricToleranceRelationship::SetDescription (const Handle(TCollection_HAsciiString) &theDescription)
{
- theDescription = aDescription;
+ myDescription = theDescription;
}
//=======================================================================
Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship::RelatingGeometricTolerance () const
{
- return theRelatingGeometricTolerance;
+ return myRelatingGeometricTolerance;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceRelationship::SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &aRelatingGeometricTolerance)
+void StepDimTol_GeometricToleranceRelationship::SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &theRelatingGeometricTolerance)
{
- theRelatingGeometricTolerance = aRelatingGeometricTolerance;
+ myRelatingGeometricTolerance = theRelatingGeometricTolerance;
}
//=======================================================================
Handle(StepDimTol_GeometricTolerance) StepDimTol_GeometricToleranceRelationship::RelatedGeometricTolerance () const
{
- return theRelatedGeometricTolerance;
+ return myRelatedGeometricTolerance;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceRelationship::SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &aRelatedGeometricTolerance)
+void StepDimTol_GeometricToleranceRelationship::SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance) &theRelatedGeometricTolerance)
{
- theRelatedGeometricTolerance = aRelatedGeometricTolerance;
+ myRelatedGeometricTolerance = theRelatedGeometricTolerance;
}
Standard_EXPORT StepDimTol_GeometricToleranceRelationship();
//! 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
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
//! Set field Name
- Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& Name);
+ Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& theName);
//! Returns field Description
Standard_EXPORT Handle(TCollection_HAsciiString) Description() const;
//! Set field Description
- Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& Description);
+ Standard_EXPORT void SetDescription (const Handle(TCollection_HAsciiString)& theDescription);
//! Returns field RelatingGeometricTolerance
Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatingGeometricTolerance() const;
//! Set field RelatingGeometricTolerance
- Standard_EXPORT void SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& RelatingGeometricTolerance);
+ Standard_EXPORT void SetRelatingGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& theRelatingGeometricTolerance);
//! Returns field RelatedGeometricTolerance
Standard_EXPORT Handle(StepDimTol_GeometricTolerance) RelatedGeometricTolerance() const;
//! Set field RelatedGeometricTolerance
- Standard_EXPORT void SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& RelatedGeometricTolerance);
+ Standard_EXPORT void SetRelatedGeometricTolerance (const Handle(StepDimTol_GeometricTolerance)& theRelatedGeometricTolerance);
private:
- Handle(TCollection_HAsciiString) theName;
- Handle(TCollection_HAsciiString) theDescription;
- Handle(StepDimTol_GeometricTolerance) theRelatingGeometricTolerance;
- Handle(StepDimTol_GeometricTolerance) theRelatedGeometricTolerance;
+ Handle(TCollection_HAsciiString) myName;
+ Handle(TCollection_HAsciiString) myDescription;
+ Handle(StepDimTol_GeometricTolerance) myRelatingGeometricTolerance;
+ Handle(StepDimTol_GeometricTolerance) myRelatedGeometricTolerance;
};
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceWithDatumReference::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)
+void StepDimTol_GeometricToleranceWithDatumReference::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)
{
- StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name,
- aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
- aGeometricTolerance_TolerancedShapeAspect);
+ StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
+ theGeometricTolerance_Description,
+ theGeometricTolerance_Magnitude,
+ theGeometricTolerance_TolerancedShapeAspect);
- theDatumSystem = new StepDimTol_HArray1OfDatumSystemOrReference(aDatumSystem->Lower(), aDatumSystem->Upper());
+ myDatumSystem = new StepDimTol_HArray1OfDatumSystemOrReference(theDatumSystem->Lower(), theDatumSystem->Upper());
StepDimTol_DatumSystemOrReference anAux;
- for (Standard_Integer i = aDatumSystem->Lower(); i <= aDatumSystem->Upper(); i++) {
- anAux.SetValue(aDatumSystem->Value(i));
- theDatumSystem->SetValue(i, anAux);
+ for (Standard_Integer i = theDatumSystem->Lower(); i <= theDatumSystem->Upper(); i++) {
+ anAux.SetValue(theDatumSystem->Value(i));
+ myDatumSystem->SetValue(i, anAux);
}
}
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceWithDatumReference::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)
+void StepDimTol_GeometricToleranceWithDatumReference::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)
{
- StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name,
- aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
- aGeometricTolerance_TolerancedShapeAspect);
+ StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
+ theGeometricTolerance_Description,
+ theGeometricTolerance_Magnitude,
+ theGeometricTolerance_TolerancedShapeAspect);
- theDatumSystem = aDatumSystem;
+ myDatumSystem = theDatumSystem;
}
//=======================================================================
Handle(StepDimTol_HArray1OfDatumReference) StepDimTol_GeometricToleranceWithDatumReference::DatumSystem () const
{
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++) {
- aDatumSystem->SetValue(i, theDatumSystem->Value(i).DatumReference());
+ aDatumSystem->SetValue(i, myDatumSystem->Value(i).DatumReference());
}
return aDatumSystem;
}
Handle(StepDimTol_HArray1OfDatumSystemOrReference) StepDimTol_GeometricToleranceWithDatumReference::DatumSystemAP242 () const
{
- return theDatumSystem;
+ return myDatumSystem;
}
//=======================================================================
//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;
- for (Standard_Integer i = aDatumSystem->Lower(); i <= aDatumSystem->Upper(); i++) {
- anAux.SetValue(aDatumSystem->Value(i));
- theDatumSystem->SetValue(i, anAux);
+ for (Standard_Integer i = theDatumSystem->Lower(); i <= theDatumSystem->Upper(); i++) {
+ anAux.SetValue(theDatumSystem->Value(i));
+ myDatumSystem->SetValue(i, anAux);
}
}
//purpose :
//=======================================================================
-void StepDimTol_GeometricToleranceWithDatumReference::SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &aDatumSystem)
+void StepDimTol_GeometricToleranceWithDatumReference::SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference) &theDatumSystem)
{
- theDatumSystem = aDatumSystem;
+ myDatumSystem = theDatumSystem;
}
Standard_EXPORT StepDimTol_GeometricToleranceWithDatumReference();
//! 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
- 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
Standard_EXPORT Handle(StepDimTol_HArray1OfDatumReference) DatumSystem() const;
Standard_EXPORT Handle(StepDimTol_HArray1OfDatumSystemOrReference) DatumSystemAP242() const;
//! 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
- Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& DatumSystem);
+ Standard_EXPORT void SetDatumSystem (const Handle(StepDimTol_HArray1OfDatumSystemOrReference)& theDatumSystem);
private:
- Handle(StepDimTol_HArray1OfDatumSystemOrReference) theDatumSystem;
+ Handle(StepDimTol_HArray1OfDatumSystemOrReference) myDatumSystem;
};
const StepDimTol_GeometricToleranceTarget &theTolerancedShapeAspect,
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize,
const StepDimTol_AreaUnitType theUnitType,
- const Standard_Boolean hasSecondUnitSize,
+ const Standard_Boolean theHasSecondUnitSize,
const Handle(StepBasic_LengthMeasureWithUnit) &theSecondUnitSize)
{
StepDimTol_GeometricToleranceWithDefinedUnit::
Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect, theUnitSize);
- areaType = theUnitType;
- if (hasSecondUnitSize)
- secondUnitSize = theSecondUnitSize;
+ myAreaType = theUnitType;
+ if (theHasSecondUnitSize)
+ mySecondUnitSize = theSecondUnitSize;
else
- secondUnitSize.Nullify();
+ mySecondUnitSize.Nullify();
}
Standard_EXPORT StepDimTol_GeometricToleranceWithDefinedAreaUnit();
//! 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
inline StepDimTol_AreaUnitType AreaType () const
{
- return areaType;
+ return myAreaType;
}
//! Set field AreaType
inline void SetAreaType (const StepDimTol_AreaUnitType theAreaType)
{
- areaType = theAreaType;
+ myAreaType = theAreaType;
}
//! Returns field SecondUnitSize
inline Handle(StepBasic_LengthMeasureWithUnit) SecondUnitSize () const
{
- return secondUnitSize;
+ return mySecondUnitSize;
}
//! Set field SecondUnitSize
inline void SetSecondUnitSize (const Handle(StepBasic_LengthMeasureWithUnit) &theSecondUnitSize)
{
- secondUnitSize = theSecondUnitSize;
+ mySecondUnitSize = theSecondUnitSize;
}
//! Indicates if SecondUnitSize field exist
inline Standard_Boolean HasSecondUnitSize () const
{
- return secondUnitSize.IsNull();
+ return mySecondUnitSize.IsNull();
}
DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDefinedAreaUnit, StepDimTol_GeometricToleranceWithDefinedUnit)
private:
- StepDimTol_AreaUnitType areaType;
- Handle(StepBasic_LengthMeasureWithUnit) secondUnitSize;
+ StepDimTol_AreaUnitType myAreaType;
+ Handle(StepBasic_LengthMeasureWithUnit) mySecondUnitSize;
};
#endif // _StepDimTol_GeometricToleranceWithDefinedAreaUnit_HeaderFile
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{
StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect);
- unitSize = theUnitSize;
+ myUnitSize = theUnitSize;
}
//=======================================================================
const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{
StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect);
- unitSize = theUnitSize;
+ myUnitSize = theUnitSize;
}
//! Returns field UnitSize
inline Handle(StepBasic_LengthMeasureWithUnit) UnitSize () const
{
- return unitSize;
+ return myUnitSize;
}
//! Set field UnitSize
inline void SetUnitSize (const Handle(StepBasic_LengthMeasureWithUnit) &theUnitSize)
{
- unitSize = theUnitSize;
+ myUnitSize = theUnitSize;
}
DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithDefinedUnit, StepDimTol_GeometricTolerance)
private:
- Handle(StepBasic_LengthMeasureWithUnit) unitSize;
+ Handle(StepBasic_LengthMeasureWithUnit) myUnitSize;
};
#endif // _StepDimTol_GeometricToleranceWithDefinedUnit_HeaderFile
const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance)
{
StepDimTol_GeometricToleranceWithModifiers::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect, theModifiers);
- maximumUpperTolerance = theMaximumUpperTolerance;
+ myMaximumUpperTolerance = theMaximumUpperTolerance;
}
//! Returns field MaximumUpperTolerance
inline Handle(StepBasic_LengthMeasureWithUnit) MaximumUpperTolerance () const
{
- return maximumUpperTolerance;
+ return myMaximumUpperTolerance;
}
//! Set field MaximumUpperTolerance
inline void SetMaximumUpperTolerance (const Handle(StepBasic_LengthMeasureWithUnit) &theMaximumUpperTolerance)
{
- maximumUpperTolerance = theMaximumUpperTolerance;
+ myMaximumUpperTolerance = theMaximumUpperTolerance;
}
DEFINE_STANDARD_RTTI(StepDimTol_GeometricToleranceWithMaximumTolerance, StepDimTol_GeometricToleranceWithModifiers)
private:
- Handle(StepBasic_LengthMeasureWithUnit) maximumUpperTolerance;
+ Handle(StepBasic_LengthMeasureWithUnit) myMaximumUpperTolerance;
};
#endif // _StepDimTol_GeometricToleranceWithMaximumTolerance_HeaderFile
const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers)
{
StepDimTol_GeometricTolerance::Init(theName, theDescription, theMagnitude, theTolerancedShapeAspect);
- modifiers = theModifiers;
+ myModifiers = theModifiers;
}
//! Returns field Modifiers
inline Handle(StepDimTol_HArray1OfGeometricToleranceModifier) Modifiers () const
{
- return modifiers;
+ return myModifiers;
}
//! Set field Modifiers
inline void SetModifiers (const Handle(StepDimTol_HArray1OfGeometricToleranceModifier) &theModifiers)
{
- modifiers = theModifiers;
+ myModifiers = theModifiers;
}
//! Returns number of modifiers
inline Standard_Integer NbModifiers () const
{
- return (modifiers.IsNull() ? 0 : modifiers->Length());
+ return (myModifiers.IsNull() ? 0 : myModifiers->Length());
}
//! 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
- 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)
private:
- Handle(StepDimTol_HArray1OfGeometricToleranceModifier) modifiers;
+ Handle(StepDimTol_HArray1OfGeometricToleranceModifier) myModifiers;
};
#endif // _StepDimTol_GeometricToleranceWithModifiers_HeaderFile
//purpose :
//=======================================================================
-void StepDimTol_ModifiedGeometricTolerance::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)
+void StepDimTol_ModifiedGeometricTolerance::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)
{
- StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name,
- aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
- aGeometricTolerance_TolerancedShapeAspect);
+ StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
+ theGeometricTolerance_Description,
+ theGeometricTolerance_Magnitude,
+ theGeometricTolerance_TolerancedShapeAspect);
- theModifier = aModifier;
+ myModifier = theModifier;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_ModifiedGeometricTolerance::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)
+void StepDimTol_ModifiedGeometricTolerance::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)
{
- StepDimTol_GeometricTolerance::Init(aGeometricTolerance_Name,
- aGeometricTolerance_Description,
- aGeometricTolerance_Magnitude,
- aGeometricTolerance_TolerancedShapeAspect);
+ StepDimTol_GeometricTolerance::Init(theGeometricTolerance_Name,
+ theGeometricTolerance_Description,
+ theGeometricTolerance_Magnitude,
+ theGeometricTolerance_TolerancedShapeAspect);
- theModifier = aModifier;
+ myModifier = theModifier;
}
//=======================================================================
StepDimTol_LimitCondition StepDimTol_ModifiedGeometricTolerance::Modifier () const
{
- return theModifier;
+ return myModifier;
}
//=======================================================================
//purpose :
//=======================================================================
-void StepDimTol_ModifiedGeometricTolerance::SetModifier (const StepDimTol_LimitCondition aModifier)
+void StepDimTol_ModifiedGeometricTolerance::SetModifier (const StepDimTol_LimitCondition theModifier)
{
- theModifier = aModifier;
+ myModifier = theModifier;
}
Standard_EXPORT StepDimTol_ModifiedGeometricTolerance();
//! 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
- 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
Standard_EXPORT StepDimTol_LimitCondition Modifier() const;
//! Set field Modifier
- Standard_EXPORT void SetModifier (const StepDimTol_LimitCondition Modifier);
+ Standard_EXPORT void SetModifier (const StepDimTol_LimitCondition theModifier);
private:
- StepDimTol_LimitCondition theModifier;
+ StepDimTol_LimitCondition myModifier;
};
const Handle(StepBasic_LengthMeasureWithUnit)& theProjectionLength)
{
StepDimTol_ToleranceZoneDefinition::Init(theZone, theBoundaries);
- projectionEnd = theProjectionEnd;
- projectionLength = theProjectionLength;
+ myProjectionEnd = theProjectionEnd;
+ myProjectionLength = theProjectionLength;
}
//! Returns field ProjectionEnd
inline Handle(StepRepr_ShapeAspect) ProjectionEnd () const
{
- return projectionEnd;
+ return myProjectionEnd;
}
//! Set field ProjectionEnd
inline void SetProjectionEnd (const Handle(StepRepr_ShapeAspect) &theProjectionEnd)
{
- projectionEnd = theProjectionEnd;
+ myProjectionEnd = theProjectionEnd;
}
//! Returns field ProjectionLength
inline Handle(StepBasic_LengthMeasureWithUnit) ProjectionLength()
{
- return projectionLength;
+ return myProjectionLength;
}
//! Set field ProjectionLength
inline void SetProjectionLength(const Handle(StepBasic_LengthMeasureWithUnit)& theProjectionLength)
{
- projectionLength = theProjectionLength;
+ myProjectionLength = theProjectionLength;
}
DEFINE_STANDARD_RTTI(StepDimTol_ProjectedZoneDefinition, StepDimTol_ToleranceZoneDefinition)
private:
- Handle(StepRepr_ShapeAspect) projectionEnd;
- Handle(StepBasic_LengthMeasureWithUnit) projectionLength;
+ Handle(StepRepr_ShapeAspect) myProjectionEnd;
+ Handle(StepBasic_LengthMeasureWithUnit) myProjectionLength;
};
#endif // _StepDimTol_ProjectionZoneDefinition_HeaderFile
const Handle(StepDimTol_RunoutZoneOrientation)& theOrientation)
{
StepDimTol_ToleranceZoneDefinition::Init(theZone, theBoundaries);
- orientation = theOrientation;
+ myOrientation = theOrientation;
}
//! Returns field Orientation
inline Handle(StepDimTol_RunoutZoneOrientation) Orientation () const
{
- return orientation;
+ return myOrientation;
}
//! Set field Orientation
inline void SetOrientation (const Handle(StepDimTol_RunoutZoneOrientation) &theOrientation)
{
- orientation = theOrientation;
+ myOrientation = theOrientation;
}
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneDefinition, StepDimTol_ToleranceZoneDefinition)
private:
- Handle(StepDimTol_RunoutZoneOrientation) orientation;
+ Handle(StepDimTol_RunoutZoneOrientation) myOrientation;
};
#endif // _StepDimTol_RunoutToleranceZone_HeaderFile
const Handle(StepBasic_PlaneAngleMeasureWithUnit)& theAngle)
{
// --- class own fields ---
- angle = theAngle;
+ myAngle = theAngle;
}
//! Returns field Angle
inline Handle(StepBasic_PlaneAngleMeasureWithUnit) Angle()
{
- return angle;
+ return myAngle;
}
//! Set field Angle
inline void SetAngle(const Handle(StepBasic_PlaneAngleMeasureWithUnit) &theAngle)
{
- angle = theAngle;
+ myAngle = theAngle;
}
DEFINE_STANDARD_RTTI(StepDimTol_RunoutZoneOrientation, MMgt_TShared)
private:
- Handle(StepBasic_PlaneAngleMeasureWithUnit) angle;
+ Handle(StepBasic_PlaneAngleMeasureWithUnit) myAngle;
};
#endif // _StepDimTol_RunoutZoneOrientation_HeaderFile
const Handle(StepDimTol_ToleranceZoneForm)& theForm)
{
StepRepr_ShapeAspect::Init(theName, theDescription, theOfShape, theProductDefinitional);
- definingTolerance = theDefiningTolerance;
- form = theForm;
+ myDefiningTolerance = theDefiningTolerance;
+ myForm = theForm;
}
\ No newline at end of file
//! Returns field DefiningTolerance
inline Handle(StepDimTol_HArray1OfToleranceZoneTarget) DefiningTolerance () const
{
- return definingTolerance;
+ return myDefiningTolerance;
}
//! Set field DefiningTolerance
inline void SetModifiers (const Handle(StepDimTol_HArray1OfToleranceZoneTarget) &theDefiningTolerance)
{
- definingTolerance = theDefiningTolerance;
+ myDefiningTolerance = theDefiningTolerance;
}
//! Returns number of Defining Tolerances
inline Standard_Integer NbDefiningTolerances () const
{
- return (definingTolerance.IsNull() ? 0 : definingTolerance->Length());
+ return (myDefiningTolerance.IsNull() ? 0 : myDefiningTolerance->Length());
}
//! 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
- 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
inline Handle(StepDimTol_ToleranceZoneForm) Form()
{
- return form;
+ return myForm;
}
//! Set field Form
inline void SetForm(const Handle(StepDimTol_ToleranceZoneForm)& theForm)
{
- form = theForm;
+ myForm = theForm;
}
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZone, StepRepr_ShapeAspect)
private:
- Handle(StepDimTol_HArray1OfToleranceZoneTarget) definingTolerance;
- Handle(StepDimTol_ToleranceZoneForm) form;
+ Handle(StepDimTol_HArray1OfToleranceZoneTarget) myDefiningTolerance;
+ Handle(StepDimTol_ToleranceZoneForm) myForm;
};
#endif // _StepDimTol_ToleranceZone_HeaderFile
void StepDimTol_ToleranceZoneDefinition::Init (const Handle(StepDimTol_ToleranceZone)& theZone,
const Handle(StepRepr_HArray1OfShapeAspect)& theBoundaries)
{
- boundaries = theBoundaries;
- zone = theZone;
+ myBoundaries = theBoundaries;
+ myZone = theZone;
}
//! Returns field Boundaries
inline Handle(StepRepr_HArray1OfShapeAspect) Boundaries () const
{
- return boundaries;
+ return myBoundaries;
}
//! Set field Boundaries
inline void SetBoundaries (const Handle(StepRepr_HArray1OfShapeAspect) &theBoundaries)
{
- boundaries = theBoundaries;
+ myBoundaries = theBoundaries;
}
//! Returns number of Boundaries
inline Standard_Integer NbBoundaries () const
{
- return (boundaries.IsNull() ? 0 : boundaries->Length());
+ return (myBoundaries.IsNull() ? 0 : myBoundaries->Length());
}
//! 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
- 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
inline Handle(StepDimTol_ToleranceZone) Zone()
{
- return zone;
+ return myZone;
}
//! Set field Zone
inline void SetZone(const Handle(StepDimTol_ToleranceZone)& theZone)
{
- zone = theZone;
+ myZone = theZone;
}
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneDefinition, MMgt_TShared)
private:
- Handle(StepRepr_HArray1OfShapeAspect) boundaries;
- Handle(StepDimTol_ToleranceZone) zone;
+ Handle(StepRepr_HArray1OfShapeAspect) myBoundaries;
+ Handle(StepDimTol_ToleranceZone) myZone;
};
#endif // _StepDimTol_ToleranceZoneDefinition_HeaderFile
const Handle(TCollection_HAsciiString)& theName)
{
// --- classe own fields ---
- name = theName;
+ myName = theName;
}
//! Returns field Name
inline Handle(TCollection_HAsciiString) Name()
{
- return name;
+ return myName;
}
//! Set field Name
inline void SetName(const Handle(TCollection_HAsciiString) &theName)
{
- name = theName;
+ myName = theName;
}
DEFINE_STANDARD_RTTI(StepDimTol_ToleranceZoneForm, MMgt_TShared)
private:
- Handle(TCollection_HAsciiString) name;
+ Handle(TCollection_HAsciiString) myName;
};
#endif // _StepDimTol_ToleranceZoneForm_HeaderFile
const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
{
StepDimTol_GeometricTolerance::Init( theName, theDescription, theMagnitude, theTolerancedShapeAspect);
- displacement = theDisplacement;
+ myDisplacement = theDisplacement;
}
//! Returns field Displacement
inline Handle(StepBasic_LengthMeasureWithUnit) Displacement () const
{
- return displacement;
+ return myDisplacement;
}
//! Set field Displacement
inline void SetDisplacement (const Handle(StepBasic_LengthMeasureWithUnit) &theDisplacement)
{
- displacement = theDisplacement;
+ myDisplacement = theDisplacement;
}
DEFINE_STANDARD_RTTI(StepDimTol_UnequallyDisposedGeometricTolerance, StepDimTol_GeometricTolerance)
private:
- Handle(StepBasic_LengthMeasureWithUnit) displacement;
+ Handle(StepBasic_LengthMeasureWithUnit) myDisplacement;
};
#endif // _StepDimTol_UnequallyDisposedGeometricTolerance_HeaderFile