36 explicit PyNTuple (
const std::vector < std::string > & labels );
60 virtual int addColumn (
const std::string & label,
61 const std::vector < float > &
column );
63 virtual int addColumn (
const std::string & label,
64 const std::vector < double > & column );
67 const std::vector < double > & column );
70 const std::vector < double > & column );
72 virtual void addRow (
const std::vector < double > & row );
74 virtual void clear ();
82 #endif // _PyNTuple_H_
virtual int addColumn(const std::string &label, const std::vector< float > &column)
virtual void append(const DataSource *source)
Appends the data from the source.
column
The column indices for 2 dimension data point tuple.
const std::string & title() const
Returns a const reference to the title of the data source.
hippodraw::NTuple class interface.
virtual void setTitle(const std::string &title)
Sets the title of the DataSource.
A DataSource class implemented with std::vector<double> to store the column data. ...
virtual void clear()
Clears the NTuple.
virtual void addRow(const std::vector< double > &row)
Adds a row to the end of the ntuple.
virtual void replaceColumn(unsigned int i, const std::vector< double > &column)
Replaces the data in column col.
A wrapper for NTuple, so that when NTuple is used in Qt based application, the application object can...
PyNTuple()
The default constructor.
Base class for DataSource.