SNAP Library 6.0, User Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
TGnuPlot::TGpSeries Class Reference

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.

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.

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.

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

Member Data Documentation

TStr TGnuPlot::TGpSeries::DataFNm

Definition at line 30 of file gnuplot.h.

TStr TGnuPlot::TGpSeries::Label

Definition at line 30 of file gnuplot.h.

TGpSeriesTy TGnuPlot::TGpSeries::SeriesTy

Definition at line 27 of file gnuplot.h.

TStr TGnuPlot::TGpSeries::WithStyle

Definition at line 30 of file gnuplot.h.

int TGnuPlot::TGpSeries::XCol

Definition at line 31 of file gnuplot.h.

TFltKdV TGnuPlot::TGpSeries::XYValV

Definition at line 28 of file gnuplot.h.

int TGnuPlot::TGpSeries::YCol

Definition at line 31 of file gnuplot.h.

int TGnuPlot::TGpSeries::ZCol

Definition at line 31 of file gnuplot.h.

TFltV TGnuPlot::TGpSeries::ZValV

Definition at line 29 of file gnuplot.h.


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