1 // File : SPlot2d_Curve.cxx
2 // Author : Sergey RUIN
5 #include "SPlot2d_Curve.h"
11 SPlot2d_Curve::SPlot2d_Curve()
19 SPlot2d_Curve::~SPlot2d_Curve()
24 Copy constructor. Makes deep copy of data.
26 SPlot2d_Curve::SPlot2d_Curve( const SPlot2d_Curve& curve )
28 myAutoAssign = curve.isAutoAssign();
29 myHorTitle = curve.getHorTitle();
30 myVerTitle = curve.getVerTitle();
31 myHorUnits = curve.getHorUnits();
32 myVerUnits = curve.getVerUnits();
33 myColor = curve.getColor();
34 myMarker = curve.getMarker();
35 myLine = curve.getLine();
36 myLineWidth = curve.getLineWidth();
37 myPoints = curve.getPointList();
39 myTableIO = curve.getTableIO();
43 operator=. Makes deep copy of data.
45 SPlot2d_Curve& SPlot2d_Curve::operator=( const SPlot2d_Curve& curve )
47 myAutoAssign = curve.isAutoAssign();
48 myHorTitle = curve.getHorTitle();
49 myVerTitle = curve.getVerTitle();
50 myHorUnits = curve.getHorUnits();
51 myVerUnits = curve.getVerUnits();
52 myColor = curve.getColor();
53 myMarker = curve.getMarker();
54 myLine = curve.getLine();
55 myLineWidth = curve.getLineWidth();
56 myPoints = curve.getPointList();
58 myTableIO = curve.getTableIO();