{
}
-//==========================================================
-/*!
- * SPlot2d_Prs::GetObjects
- * Get curves list
- */
-//==========================================================
-SPlot2d_CurveContainer SPlot2d_Prs::GetObjects() const
-{
- SPlot2d_CurveContainer anObjects;
- int aLen = getCurves().count();
- for ( int i = 0; i < aLen; i++ ) {
- anObjects.addCurve(getCurves().at( i ));
- }
- return anObjects;
-}
-
#include "SPlot2d.h"
#include "SALOME_Prs.h"
-#include "SPlot2d_CurveContainer.h"
#include "Plot2d_Prs.h"
+#include <qptrlist.h>
+
class Plot2d_Curve;
class SPLOT2D_EXPORT SPlot2d_Prs : public SALOME_Prs2d, public Plot2d_Prs
// Get curves list
// Note: Depricated method, use method getCurves
- SPlot2d_CurveContainer GetObjects() const;
+ curveList GetObjects() const { return getCurves(); }
};