]> SALOME platform Git repositories - modules/gui.git/blob - src/SPlot2d/SPlot2d_Prs.h
Salome HOME
Change version name to 3.2.0a2
[modules/gui.git] / src / SPlot2d / SPlot2d_Prs.h
1 // Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
2 // 
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either 
6 // version 2.1 of the License.
7 // 
8 // This library is distributed in the hope that it will be useful 
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public  
14 // License along with this library; if not, write to the Free Software 
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/
18 //
19 //  File   : SPlot2d_Prs.h
20 //  Author : Sergey RUIN
21 //  Module : SUIT
22
23 #ifndef SPLOT2D_PRS_H
24 #define SPLOT2D_PRS_H
25
26 #include "SPlot2d.h"
27 #include "SALOME_Prs.h"
28 #include "Plot2d_Prs.h"
29
30 #include <qptrlist.h>
31
32 class Plot2d_Curve;
33
34 class SPLOT2D_EXPORT SPlot2d_Prs : public SALOME_Prs2d, public Plot2d_Prs
35 {
36 public:
37
38   // Default constructor 
39   SPlot2d_Prs();
40
41   // Standard constructor    
42   SPlot2d_Prs( const Plot2d_Curve* obj );
43
44   SPlot2d_Prs( const Plot2d_Prs* prs );
45
46   // Destructor
47   ~SPlot2d_Prs();
48
49   virtual bool IsNull() const { return Plot2d_Prs::IsNull(); }
50
51   // Get curves list
52   // Note: Depricated method, use method getCurves     
53   curveList GetObjects() const { return getCurves(); }
54
55 };
56
57 #endif