File indexing completed on 2025-01-18 10:05:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepVisual_DraughtingCallout_HeaderFile
0017 #define _StepVisual_DraughtingCallout_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <StepGeom_GeometricRepresentationItem.hxx>
0022 #include <StepVisual_HArray1OfDraughtingCalloutElement.hxx>
0023
0024
0025 class StepVisual_DraughtingCallout;
0026 DEFINE_STANDARD_HANDLE(StepVisual_DraughtingCallout, StepGeom_GeometricRepresentationItem)
0027
0028
0029 class StepVisual_DraughtingCallout : public StepGeom_GeometricRepresentationItem
0030 {
0031 public:
0032
0033
0034 Standard_EXPORT StepVisual_DraughtingCallout();
0035
0036
0037 Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& theName,
0038 const Handle(StepVisual_HArray1OfDraughtingCalloutElement)& theContents);
0039
0040
0041 inline Handle(StepVisual_HArray1OfDraughtingCalloutElement) Contents () const
0042 {
0043 return myContents;
0044 }
0045
0046
0047 inline void SetContents (const Handle(StepVisual_HArray1OfDraughtingCalloutElement) &theContents)
0048 {
0049 myContents = theContents;
0050 }
0051
0052
0053 inline Standard_Integer NbContents () const
0054 {
0055 return (myContents.IsNull() ? 0 : myContents->Length());
0056 }
0057
0058
0059 inline StepVisual_DraughtingCalloutElement ContentsValue(const Standard_Integer theNum) const
0060 {
0061 return myContents->Value(theNum);
0062 }
0063
0064
0065 inline void SetContentsValue(const Standard_Integer theNum, const StepVisual_DraughtingCalloutElement& theItem)
0066 {
0067 myContents->SetValue (theNum, theItem);
0068 }
0069
0070
0071 DEFINE_STANDARD_RTTIEXT(StepVisual_DraughtingCallout,StepGeom_GeometricRepresentationItem)
0072
0073 private:
0074 Handle(StepVisual_HArray1OfDraughtingCalloutElement) myContents;
0075 };
0076 #endif