Salome HOME
NRI : Merge from V1_2.
[modules/kernel.git] / src / Plot2d / Plot2d_CurveContainer.h
1 //  Copyright (C) 2003  CEA/DEN, EDF R&D
2 //
3 //
4 //
5 //  File   : Plot2d_CurveContainer.h
6 //  Author : Vadim SANDLER
7 //  Module : SALOME
8 //  $Header$
9
10 #ifndef Plot2d_CurveContainer_h
11 #define Plot2d_CurveContainer_h
12
13 #include "Plot2d_Curve.h"
14 #include <qlist.h>
15
16 class Plot2d_CurveContainer 
17 {
18 public:
19   Plot2d_CurveContainer();
20   ~Plot2d_CurveContainer();
21
22   void                addCurve( Plot2d_Curve* curve );
23   void                removeCurve( const int index, bool alsoDelete = false ) ;
24   void                clear( bool alsoDelete = false );
25   int                 count();
26   bool                isEmpty();
27   Plot2d_Curve*       curve( const int index );
28
29 private:
30   QList<Plot2d_Curve>  myCurves;
31 };
32
33 #endif // Plot2d_CurveContainer_h
34
35