File indexing completed on 2026-07-16 08:30:19
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 class StepVisual_DraughtingCallout;
0025 DEFINE_STANDARD_HANDLE(StepVisual_DraughtingCallout, StepGeom_GeometricRepresentationItem)
0026
0027 class StepVisual_DraughtingCallout : public StepGeom_GeometricRepresentationItem
0028 {
0029 public:
0030
0031 Standard_EXPORT StepVisual_DraughtingCallout();
0032
0033
0034 Standard_EXPORT void Init(
0035 const Handle(TCollection_HAsciiString)& theName,
0036 const Handle(StepVisual_HArray1OfDraughtingCalloutElement)& theContents);
0037
0038
0039 inline Handle(StepVisual_HArray1OfDraughtingCalloutElement) Contents() const
0040 {
0041 return myContents;
0042 }
0043
0044
0045 inline void SetContents(const Handle(StepVisual_HArray1OfDraughtingCalloutElement)& theContents)
0046 {
0047 myContents = theContents;
0048 }
0049
0050
0051 inline Standard_Integer NbContents() const
0052 {
0053 return (myContents.IsNull() ? 0 : myContents->Length());
0054 }
0055
0056
0057 inline StepVisual_DraughtingCalloutElement ContentsValue(const Standard_Integer theNum) const
0058 {
0059 return myContents->Value(theNum);
0060 }
0061
0062
0063 inline void SetContentsValue(const Standard_Integer theNum,
0064 const StepVisual_DraughtingCalloutElement& theItem)
0065 {
0066 myContents->SetValue(theNum, theItem);
0067 }
0068
0069 DEFINE_STANDARD_RTTIEXT(StepVisual_DraughtingCallout, StepGeom_GeometricRepresentationItem)
0070
0071 private:
0072 Handle(StepVisual_HArray1OfDraughtingCalloutElement) myContents;
0073 };
0074 #endif