File indexing completed on 2025-01-18 10:05:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepDimTol_DatumSystem_HeaderFile
0017 #define _StepDimTol_DatumSystem_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <Standard_Integer.hxx>
0022 #include <StepDimTol_HArray1OfDatumReferenceCompartment.hxx>
0023
0024 class StepDimTol_DatumSystem;
0025 DEFINE_STANDARD_HANDLE(StepDimTol_DatumSystem, StepRepr_ShapeAspect)
0026
0027 class StepDimTol_DatumSystem : public StepRepr_ShapeAspect
0028 {
0029
0030 public:
0031
0032
0033 Standard_EXPORT StepDimTol_DatumSystem();
0034
0035
0036 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
0037 const Handle(TCollection_HAsciiString)& theDescription,
0038 const Handle(StepRepr_ProductDefinitionShape)& theOfShape,
0039 const StepData_Logical theProductDefinitional,
0040 const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents);
0041
0042
0043 inline Handle(StepDimTol_HArray1OfDatumReferenceCompartment) Constituents()
0044 {
0045 return myConstituents;
0046 }
0047
0048
0049 inline void SetConstituents(const Handle(StepDimTol_HArray1OfDatumReferenceCompartment)& theConstituents)
0050 {
0051 myConstituents = theConstituents;
0052 }
0053
0054
0055 inline Standard_Integer NbConstituents () const
0056 {
0057 return (myConstituents.IsNull() ? 0 : myConstituents->Length());
0058 }
0059
0060
0061 inline Handle(StepDimTol_DatumReferenceCompartment) ConstituentsValue(const Standard_Integer num) const
0062 {
0063 return myConstituents->Value(num);
0064 }
0065
0066
0067 inline void ConstituentsValue(const Standard_Integer num, const Handle(StepDimTol_DatumReferenceCompartment)& theItem)
0068 {
0069 myConstituents->SetValue (num, theItem);
0070 }
0071
0072 DEFINE_STANDARD_RTTIEXT(StepDimTol_DatumSystem,StepRepr_ShapeAspect)
0073
0074 private:
0075 Handle(StepDimTol_HArray1OfDatumReferenceCompartment) myConstituents;
0076 };
0077 #endif