scidavis
2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot). Fossies Dox: scidavis-2.3.0.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file.
30 #ifndef COLUMNPRIVATE_H
31 #define COLUMNPRIVATE_H
92 bool copy(
const AbstractColumn * source,
int source_start,
int dest_start,
int num_rows);
111 bool copy(
const Private * source,
int source_start,
int dest_start,
int num_rows);
134 QString
name()
const;
193 void setInvalid(
int row,
bool invalid =
true);
201 void setMasked(
int row,
bool mask =
true);
235 QString
textAt(
int row)
const;
240 void setTextAt(
int row,
const QString& new_value);
245 void replaceTexts(
int first,
const QStringList& new_values);
250 QDate
dateAt(
int row)
const;
255 void setDateAt(
int row,
const QDate& new_value);
260 QTime
timeAt(
int row)
const;
265 void setTimeAt(
int row,
const QTime& new_value);
292 void replaceValues(
int first,
const QVector<qreal>& new_values);
void insertRows(int before, int count)
Insert some empty (or initialized with zero) rows.
AbstractSimpleFilter * outputFilter() const
Return the output filter (for data type -> string conversion)
QString name() const
Return the column name/label.
QString comment() const
Return the column comment.
void setTimeAt(int row, const QTime &new_value)
Set the content of row 'row'.
IntervalAttribute< bool > d_masking
void clearMasks()
Clear all masking information.
bool isMasked(int row) const
Return whether a certain row is masked
void replaceModeData(SciDAVis::ColumnMode mode, SciDAVis::ColumnDataType type, void *data, AbstractSimpleFilter *in_filter, AbstractSimpleFilter *out_filter, IntervalAttribute< bool > validity)
Replace all mode related members.
void setDateTimeAt(int row, const QDateTime &new_value)
Set the content of row 'row'.
void * dataPointer() const
Return the data pointer.
Base class for all analysis operations.
IntervalAttribute< bool > validityAttribute()
Return the validity interval attribute.
void setTextAt(int row, const QString &new_value)
Set the content of row 'row'.
ColumnDataType
Column data type.
bool isMasked(Interval< int > i) const
Return whether a certain interval of rows rows is fully masked
Aspect that manages a column.
A class representing an interval-based attribute (bool version)
void replaceTexts(int first, const QStringList &new_values)
Replace a range of values.
QDateTime dateTimeAt(int row) const
Return the QDateTime in row 'row'.
bool isReadOnly() const
Return whether the object is read-only.
SciDAVis::PlotDesignation plotDesignation() const
Return the column plot designation.
void setMasked(Interval< int > i, bool mask=true)
Set an interval masked.
QDate dateAt(int row) const
Return the date part of row 'row'.
void clear()
Clear the whole column.
void setDateAt(int row, const QDate &new_value)
Set the content of row 'row'.
AbstractSimpleFilter * inputFilter() const
Return the input filter (for string -> data type conversion)
double valueAt(int row) const
Return the double value in row 'row'.
bool isInvalid(int row) const
Return whether a certain row contains an invalid value
ColumnMode
The column mode (defines output and input filter for table columns)
bool isInvalid(Interval< int > i) const
Return whether a certain interval of rows contains only invalid values
IntervalAttribute< bool > maskingAttribute()
Return the masking interval attribute.
void setColumnMode(SciDAVis::ColumnMode mode, AbstractFilter *conversion_filter)
Set the column mode.
void resizeTo(int new_size)
Resize the vector to the specified number of rows.
SciDAVis::PlotDesignation d_plot_designation
The plot designation.
void setValueAt(int row, double new_value)
Set the content of row 'row'.
AbstractSimpleFilter * d_input_filter
The input filter (for string -> data type conversion)
IntervalAttribute< bool > d_validity
void clearValidity()
Clear all validity information.
void setInvalid(Interval< int > i, bool invalid=true)
Set an interval invalid or valid.
SciDAVis::ColumnMode d_column_mode
The column mode.
SciDAVis::ColumnDataType dataType() const
Return the data type of the column.
QList< Interval< int > > invalidIntervals() const
Return all intervals of invalid rows.
void replaceDateTimes(int first, const QList< QDateTime > &new_values)
Replace a range of values.
Private(Column *owner, SciDAVis::ColumnMode mode)
Ctor.
SciDAVis::ColumnDataType d_data_type
Data type string.
QString textAt(int row) const
Return the content of row 'row'.
IntervalAttribute< QString > formulaAttribute()
Return the interval attribute representing the formula strings.
QTime timeAt(int row) const
Return the time part of row 'row'.
IntervalAttribute< QString > d_formulas
Private data class of Column.
QList< Interval< int > > maskedIntervals() const
Return all intervals of masked rows.
void replaceMasking(IntervalAttribute< bool > masking)
Replace the list of intervals of masked rows.
void replaceFormulas(IntervalAttribute< QString > formulas)
Replace the interval attribute for the formula strings.
void replaceValues(int first, const QVector< qreal > &new_values)
Replace a range of values.
PlotDesignation
Types of plot designations.
QList< Interval< int > > intervals() const
QList< Interval< int > > intervals() const
void clearFormulas()
Clear all formulas.
Simplified filter interface for filters with only one output port.
void * d_data
Pointer to the data vector.
AbstractSimpleFilter * d_output_filter
The output filter (for data type -> string conversion)
void setFormula(Interval< int > i, QString formula)
Set a formula string for an interval of rows.
Column * d_owner
The owner column.
bool isSet(int row) const
QList< Interval< int > > formulaIntervals() const
Return the intervals that have associated formulas.
void removeRows(int first, int count)
Remove 'count' rows starting from row 'first'.
QString formula(int row) const
Return the formula associated with row 'row'
bool copy(const AbstractColumn *other)
Copy another column of the same type.
void setPlotDesignation(SciDAVis::PlotDesignation pd)
Set the column plot designation.
int rowCount() const
Return the data vector size.
SciDAVis::ColumnMode columnMode() const
Return the column mode.
Interface definition for data with column logic.
void replaceData(void *data, IntervalAttribute< bool > validity)
Replace data pointer and validity.