Version: 9.16.0
SPlot2d_Curve.h
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5//
6// This library is free software; you can redistribute it and/or
7// modify it under the terms of the GNU Lesser General Public
8// License as published by the Free Software Foundation; either
9// version 2.1 of the License, or (at your option) any later version.
10//
11// This library is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14// Lesser General Public License for more details.
15//
16// You should have received a copy of the GNU Lesser General Public
17// License along with this library; if not, write to the Free Software
18// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19//
20// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21//
22// File : SPlot2d_Curve.h
23// Author : Sergey RUIN, Open CASCADE S.A.S. (sergey.ruin@opencascade.com)
24
25#ifndef SPlot2d_Curve_h
26#define SPlot2d_Curve_h
27
28#include "SPlot2d.h"
29#include "Plot2d_Curve.h"
31
32#include <QSet>
33
34typedef QSet<QString> OwnerSet;
35
37{
38public:
39
41 virtual ~SPlot2d_Curve();
42 SPlot2d_Curve( const SPlot2d_Curve& curve );
43 SPlot2d_Curve& operator= ( const SPlot2d_Curve& curve );
44
45 virtual QString getTableTitle() const;
46
47 virtual bool hasIO() const;
48 virtual Handle(SALOME_InteractiveObject) getIO() const;
49 virtual void setIO( const Handle(SALOME_InteractiveObject)& );
50
51 virtual bool hasTableIO() const;
52 virtual Handle(SALOME_InteractiveObject) getTableIO() const;
54
55 virtual void addOwner(const QString& owner);
56 virtual void removeOwner(const QString& owner);
57 virtual OwnerSet getOwners() const;
58 virtual void addOwners (OwnerSet& owners);
59
60private:
64};
65
66#endif // SPlot2d_Curve_h
Handle(TDocStd_Application) CAF_Application
Get OCAF application.
Definition: CAF_Application.cxx:97
#define SPLOT2D_EXPORT
Definition: SPlot2d.h:30
QSet< QString > OwnerSet
Definition: SPlot2d_Curve.h:34
Definition: Plot2d_Curve.h:34
Plot2d_Curve & operator=(const Plot2d_Curve &)
Definition: Plot2d_Curve.cxx:68
virtual QString getTableTitle() const
Definition: Plot2d_Object.cxx:123
Definition: SPlot2d_Curve.h:37
virtual Handle(SALOME_InteractiveObject) getIO() const
virtual void setTableIO(const Handle(SALOME_InteractiveObject)&)
Handle(SALOME_InteractiveObject) myIO
virtual void setIO(const Handle(SALOME_InteractiveObject)&)
virtual Handle(SALOME_InteractiveObject) getTableIO() const
OwnerSet myOwners
Definition: SPlot2d_Curve.h:63
Handle(SALOME_InteractiveObject) myTableIO