Open CASCADE Technology 7.8.2.dev
StepDimTol_GeneralDatumReference Class Reference

Representation of STEP entity GeneralDatumReference. More...

#include <StepDimTol_GeneralDatumReference.hxx>

Inheritance diagram for StepDimTol_GeneralDatumReference:

Public Member Functions

 StepDimTol_GeneralDatumReference ()
 Empty constructor.
 
void Init (const Handle< TCollection_HAsciiString > &theName, const Handle< TCollection_HAsciiString > &theDescription, const Handle< StepRepr_ProductDefinitionShape > &theOfShape, const StepData_Logical theProductDefinitional, const StepDimTol_DatumOrCommonDatum &theBase, const Standard_Boolean theHasModifiers, const Handle< StepDimTol_HArray1OfDatumReferenceModifier > &theModifiers)
 Initialize all fields (own and inherited)
 
StepDimTol_DatumOrCommonDatum Base ()
 Returns field Base.
 
void SetBase (const StepDimTol_DatumOrCommonDatum &theBase)
 Set field Base.
 
Standard_Boolean HasModifiers () const
 Indicates is field Modifiers exist.
 
Handle< StepDimTol_HArray1OfDatumReferenceModifier > Modifiers ()
 Returns field Modifiers.
 
void SetModifiers (const Handle< StepDimTol_HArray1OfDatumReferenceModifier > &theModifiers)
 Set field Modifiers.
 
Standard_Integer NbModifiers () const
 Returns number of Modifiers.
 
StepDimTol_DatumReferenceModifier ModifiersValue (const Standard_Integer theNum) const
 Returns Modifiers with the given number.
 
void ModifiersValue (const Standard_Integer theNum, const StepDimTol_DatumReferenceModifier &theItem)
 Sets Modifiers with given number.
 
- Public Member Functions inherited from StepRepr_ShapeAspect
 StepRepr_ShapeAspect ()
 Returns a ShapeAspect.
 
void Init (const Handle< TCollection_HAsciiString > &aName, const Handle< TCollection_HAsciiString > &aDescription, const Handle< StepRepr_ProductDefinitionShape > &aOfShape, const StepData_Logical aProductDefinitional)
 
void SetName (const Handle< TCollection_HAsciiString > &aName)
 
Handle< TCollection_HAsciiStringName () const
 
void SetDescription (const Handle< TCollection_HAsciiString > &aDescription)
 
Handle< TCollection_HAsciiStringDescription () const
 
void SetOfShape (const Handle< StepRepr_ProductDefinitionShape > &aOfShape)
 
Handle< StepRepr_ProductDefinitionShapeOfShape () const
 
void SetProductDefinitional (const StepData_Logical aProductDefinitional)
 
StepData_Logical ProductDefinitional () const
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const char * get_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Detailed Description

Representation of STEP entity GeneralDatumReference.

Constructor & Destructor Documentation

◆ StepDimTol_GeneralDatumReference()

StepDimTol_GeneralDatumReference::StepDimTol_GeneralDatumReference ( )

Empty constructor.

Member Function Documentation

◆ Base()

StepDimTol_DatumOrCommonDatum StepDimTol_GeneralDatumReference::Base ( )
inline

Returns field Base.

◆ HasModifiers()

Standard_Boolean StepDimTol_GeneralDatumReference::HasModifiers ( ) const
inline

Indicates is field Modifiers exist.

◆ Init()

void StepDimTol_GeneralDatumReference::Init ( const Handle< TCollection_HAsciiString > & theName,
const Handle< TCollection_HAsciiString > & theDescription,
const Handle< StepRepr_ProductDefinitionShape > & theOfShape,
const StepData_Logical theProductDefinitional,
const StepDimTol_DatumOrCommonDatum & theBase,
const Standard_Boolean theHasModifiers,
const Handle< StepDimTol_HArray1OfDatumReferenceModifier > & theModifiers )

Initialize all fields (own and inherited)

◆ Modifiers()

Handle< StepDimTol_HArray1OfDatumReferenceModifier > StepDimTol_GeneralDatumReference::Modifiers ( )
inline

Returns field Modifiers.

◆ ModifiersValue() [1/2]

StepDimTol_DatumReferenceModifier StepDimTol_GeneralDatumReference::ModifiersValue ( const Standard_Integer theNum) const
inline

Returns Modifiers with the given number.

◆ ModifiersValue() [2/2]

void StepDimTol_GeneralDatumReference::ModifiersValue ( const Standard_Integer theNum,
const StepDimTol_DatumReferenceModifier & theItem )
inline

Sets Modifiers with given number.

◆ NbModifiers()

Standard_Integer StepDimTol_GeneralDatumReference::NbModifiers ( ) const
inline

Returns number of Modifiers.

◆ SetBase()

void StepDimTol_GeneralDatumReference::SetBase ( const StepDimTol_DatumOrCommonDatum & theBase)
inline

Set field Base.

◆ SetModifiers()

void StepDimTol_GeneralDatumReference::SetModifiers ( const Handle< StepDimTol_HArray1OfDatumReferenceModifier > & theModifiers)
inline

Set field Modifiers.


The documentation for this class was generated from the following file: