SNAP Library 2.4, Developer Reference  2015-05-11 19:40:56
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGnuPlot::TGpSeries Class Reference
Collaboration diagram for TGnuPlot::TGpSeries:

Public Member Functions

 TGpSeries ()
 
 TGpSeries (const TGpSeries &Gps)
 
TGpSeriesoperator= (const TGpSeries &Gps)
 
bool operator< (const TGpSeries &Gps) const
 
bool SaveXVals () const
 

Public Attributes

TGpSeriesTy SeriesTy
 
TFltKdV XYValV
 
TFltV ZValV
 
TStr Label
 
TStr WithStyle
 
TStr DataFNm
 
int XCol
 
int YCol
 
int ZCol
 

Detailed Description

Definition at line 25 of file gnuplot.h.

Constructor & Destructor Documentation

TGnuPlot::TGpSeries::TGpSeries ( )
inline

Definition at line 33 of file gnuplot.h.

TGnuPlot::TGpSeries::TGpSeries ( const TGpSeries Gps)

Definition at line 64 of file gnuplot.cpp.

64  :
65  SeriesTy(Gps.SeriesTy), XYValV(Gps.XYValV), ZValV(Gps.ZValV),
66  Label(Gps.Label), WithStyle(Gps.WithStyle), DataFNm(Gps.DataFNm),
67  XCol(Gps.XCol), YCol(Gps.YCol), ZCol(Gps.ZCol) {
68 }
TGpSeriesTy SeriesTy
Definition: gnuplot.h:27
TFltKdV XYValV
Definition: gnuplot.h:28

Member Function Documentation

bool TGnuPlot::TGpSeries::operator< ( const TGpSeries Gps) const

Definition at line 82 of file gnuplot.cpp.

References Label, and XYValV.

82  {
83  return (XYValV < Gps.XYValV) || ((XYValV == Gps.XYValV) && (Label < Gps.Label));
84 }
TFltKdV XYValV
Definition: gnuplot.h:28
TGnuPlot::TGpSeries & TGnuPlot::TGpSeries::operator= ( const TGpSeries Gps)

Definition at line 70 of file gnuplot.cpp.

References DataFNm, TGnuPlot::DataFNm, Label, SeriesTy, WithStyle, XCol, XYValV, YCol, ZCol, and ZValV.

70  {
71  if(this != &Gps) {
72  SeriesTy = Gps.SeriesTy;
73  XYValV = Gps.XYValV; ZValV = Gps.ZValV;
74  Label = Gps.Label;
75  DataFNm = Gps.DataFNm;
76  WithStyle = Gps.WithStyle;
77  XCol = Gps.XCol; YCol = Gps.YCol; ZCol = Gps.ZCol;
78  }
79  return *this;
80 }
TGpSeriesTy SeriesTy
Definition: gnuplot.h:27
TFltKdV XYValV
Definition: gnuplot.h:28
bool TGnuPlot::TGpSeries::SaveXVals ( ) const
inline

Definition at line 37 of file gnuplot.h.

References XCol, and YCol.

Referenced by TGnuPlot::CreatePlotFile().

37 { return (YCol-XCol)==1; }

Here is the caller graph for this function:

Member Data Documentation

TStr TGnuPlot::TGpSeries::DataFNm
TStr TGnuPlot::TGpSeries::Label
TGpSeriesTy TGnuPlot::TGpSeries::SeriesTy
TStr TGnuPlot::TGpSeries::WithStyle
int TGnuPlot::TGpSeries::XCol
int TGnuPlot::TGpSeries::YCol
int TGnuPlot::TGpSeries::ZCol
TFltV TGnuPlot::TGpSeries::ZValV

Definition at line 29 of file gnuplot.h.

Referenced by TGnuPlot::CreatePlotFile(), and operator=().


The documentation for this class was generated from the following files: