8 #define AIDA_ITUPLE_H 1
51 virtual std::string
title()
const = 0;
77 virtual bool fill(
int column,
double value) = 0;
86 virtual bool fill(
int column,
float value) = 0;
95 virtual bool fill(
int column,
int value) = 0;
104 virtual bool fill(
int column,
short value) = 0;
113 virtual bool fill(
int column,
long value) = 0;
122 virtual bool fill(
int column,
char value) = 0;
131 virtual bool fill(
int column,
bool value) = 0;
158 virtual bool fill(
const std::vector<double> & values) = 0;
167 virtual bool fill(
const std::vector<float> & values) = 0;
176 virtual bool addRow() = 0;
189 virtual void reset() = 0;
196 virtual int rows()
const = 0;
202 virtual void start() = 0;
218 virtual bool next() = 0;
227 virtual bool setRow(
int rowIndex) = 0;
235 virtual int findColumn(
const std::string & name)
const = 0;
243 virtual double getDouble(
int column)
const = 0;
251 virtual float getFloat(
int column)
const = 0;
259 virtual int getInt(
int column)
const = 0;
267 virtual short getShort(
int column)
const = 0;
275 virtual long getLong(
int column)
const = 0;
283 virtual char getChar(
int column)
const = 0;
291 virtual bool getBoolean(
int column)
const = 0;
325 virtual int columns()
const = 0;
333 virtual std::string
columnName(
int column)
const = 0;
340 virtual std::vector<std::string>
columnNames()
const = 0;
348 virtual std::string
columnType(
int column)
const = 0;
355 virtual std::vector<std::string>
columnTypes()
const = 0;
363 virtual double columnMin(
int column)
const = 0;
371 virtual double columnMax(
int column)
const = 0;
379 virtual double columnMean(
int column)
const = 0;
387 virtual double columnRms(
int column)
const = 0;
virtual bool next()=0
Positions the cursor at the next row.
User level interface to a 1D Cloud.
Definition: ICloud1D.h:30
virtual void resetRow()=0
Clear the current(not yet added) row.
User level interface to a 1-dimensional profile histogram.
Definition: IProfile1D.h:28
User's level interface of an IEvaluator.
Definition: IEvaluator.h:28
User level interface to a Tuple.
Definition: ITuple.h:40
virtual bool getBoolean(int column) const =0
Get the boolean stored in a given column at the current cursor's position.
User level interface to 1D Histogram.
Definition: IHistogram1D.h:28
virtual int columns() const =0
Get the string stored in a given column at the current cursor's position.
virtual std::string columnName(int column) const =0
Get the name of a column from its index.
User level interface to 3D Histogram.
Definition: IHistogram3D.h:28
virtual bool skip(int rows)=0
Skips a given number of rows.
virtual double getDouble(int column) const =0
Get the double stored in a given column at the current cursor's position.
virtual int findColumn(const std::string &name) const =0
Get the index within the ITuple of a given column.
virtual ~ITuple()
Destructor.
Definition: ITuple.h:44
virtual std::string columnType(int column) const =0
Get the type of a give column.
virtual double columnRms(int column) const =0
Get the RMS of a given column (if it can be converted to a double).
virtual std::string title() const =0
Get the title of this ITuple.
virtual bool addRow()=0
Add the current row to the ITuple.
virtual bool fill(int column, double value)=0
Get the IAnnotation corresponding to this ITuple.
User level interface to a 2D Cloud.
Definition: ICloud2D.h:30
virtual int rows() const =0
Get the number of rows currently filled in the ITuple.
virtual char getChar(int column) const =0
Get the character stored in a given column at the current cursor's position.
virtual std::vector< std::string > columnTypes() const =0
Get the types of all the columns.
virtual float getFloat(int column) const =0
Get the float stored in a given column at the current cursor's position.
virtual short getShort(int column) const =0
Get the short stored in a given column at the current cursor's position.
User level interface to a 2-dimensional profile histogram.
Definition: IProfile2D.h:28
virtual void start()=0
Positions the read cursor immediately before the first row.
virtual long getLong(int column) const =0
Get the long stored in a given column at the current cursor's position.
User level interface to 2D Histogram.
Definition: IHistogram2D.h:28
virtual std::vector< std::string > columnNames() const =0
Get the names of all the columns.
virtual int getInt(int column) const =0
Get the integer stored in a given column at the current cursor's position.
virtual double columnMax(int column) const =0
Get the maximum value of a given column (if it can be converted to a double).
virtual double columnMin(int column) const =0
Get the minimum value of a given column (if it can be converted to a double).
virtual bool setTitle(const std::string &title)=0
Set the title of the ITuple.
virtual void reset()=0
Reset the ITuple.
virtual bool project(IHistogram1D &histogram, IEvaluator &evaluatorX)=0
Fill an IHistogram1D from the tuple.
User's level interface of an IFilter.
Definition: IFilter.h:28
virtual double columnMean(int column) const =0
Get the mean value of a given column (if it can be converted to a double).
virtual bool setRow(int rowIndex)=0
Position the cursor at a give row.
User level interface to a 3D Cloud.
Definition: ICloud3D.h:30