SNAP Library , Developer Reference  2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TGnuPlot::TGpSeries Class Reference
Collaboration diagram for TGnuPlot::TGpSeries:

List of all members.

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 21 of file gnuplot.h.


Constructor & Destructor Documentation

Definition at line 29 of file gnuplot.h.

: SeriesTy(gpwLines), XYValV(), ZValV(), Label(), WithStyle(), DataFNm(), XCol(0), YCol(0), ZCol(0) { }

Definition at line 62 of file gnuplot.cpp.

                                                         :
  SeriesTy(Gps.SeriesTy), XYValV(Gps.XYValV), ZValV(Gps.ZValV),
  Label(Gps.Label), WithStyle(Gps.WithStyle), DataFNm(Gps.DataFNm),
  XCol(Gps.XCol), YCol(Gps.YCol), ZCol(Gps.ZCol) {
}

Member Function Documentation

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

Definition at line 80 of file gnuplot.cpp.

References Label, and XYValV.

                                                              {
  return (XYValV < Gps.XYValV) || ((XYValV == Gps.XYValV) && (Label < Gps.Label));
}
TGnuPlot::TGpSeries & TGnuPlot::TGpSeries::operator= ( const TGpSeries Gps)

Definition at line 68 of file gnuplot.cpp.

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

                                                                              {
  if(this != &Gps) {
    SeriesTy = Gps.SeriesTy;
    XYValV = Gps.XYValV;  ZValV = Gps.ZValV;
    Label = Gps.Label;
    DataFNm = Gps.DataFNm;
    WithStyle = Gps.WithStyle;
    XCol = Gps.XCol;  YCol = Gps.YCol;  ZCol = Gps.ZCol;
  }
  return *this;
}
bool TGnuPlot::TGpSeries::SaveXVals ( ) const [inline]

Definition at line 33 of file gnuplot.h.

References XCol, and YCol.

Referenced by TGnuPlot::CreatePlotFile().

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

Here is the caller graph for this function:


Member Data Documentation

Definition at line 25 of file gnuplot.h.

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


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