SciDAVis
1.D4
|
#include <AbstractSimpleFilter.h>
Public Member Functions | |
virtual void | clearMasks () |
Clear all masking information. | |
virtual SciDAVis::ColumnMode | columnMode () const |
Return the column mode. | |
virtual SciDAVis::ColumnDataType | dataType () const |
Return the data type of the column. | |
virtual QDate | dateAt (int row) const |
Return the date part of row 'row'. | |
virtual QDateTime | dateTimeAt (int row) const |
Set the content of row 'row'. | |
virtual QList< Interval< int > > | invalidIntervals () const |
Return all intervals of invalid rows. | |
virtual bool | isInvalid (int row) const |
Return whether a certain row contains an invalid value. | |
virtual bool | isInvalid (Interval< int > i) const |
Return whether a certain interval of rows contains only invalid values. | |
virtual bool | isMasked (int row) const |
Return whether a certain row is masked. | |
virtual bool | isMasked (Interval< int > i) const |
Return whether a certain interval of rows rows is fully masked. | |
virtual QList< Interval< int > > | maskedIntervals () const |
Return all intervals of masked rows. | |
virtual SciDAVis::PlotDesignation | plotDesignation () const |
Return the column plot designation. | |
virtual int | rowCount () const |
Return the data vector size. | |
SimpleFilterColumn (AbstractSimpleFilter *owner) | |
virtual QString | textAt (int row) const |
Return the content of row 'row'. | |
virtual QTime | timeAt (int row) const |
Set the content of row 'row'. | |
virtual double | valueAt (int row) const |
Return the double value in row 'row'. | |
Public Member Functions inherited from AbstractColumn | |
AbstractColumn (const QString &name) | |
Ctor. | |
virtual void | clear () |
Set the column plot designation. | |
virtual bool | copy (const AbstractColumn *other) |
Copy another column of the same type. | |
virtual bool | copy (const AbstractColumn *source, int source_start, int dest_start, int num_rows) |
Copies part of another column of the same type. | |
virtual void | insertRows (int before, int count) |
Insert some empty (or initialized with zero) rows. | |
virtual bool | isReadOnly () const |
Return whether the object is read-only. | |
virtual void | notifyReplacement (const AbstractColumn *replacement) |
This must be called before the column is replaced by another. | |
virtual void | removeRows (int first, int count) |
Remove 'count' rows starting from row 'first'. | |
virtual void | setColumnMode (SciDAVis::ColumnMode mode) |
Set the column mode. | |
virtual | ~AbstractColumn () |
Dtor. | |
virtual void | clearValidity () |
Clear all validity information. | |
virtual QString | formula (int row) const |
Return the formula associated with row 'row'. | |
virtual QList< Interval< int > > | formulaIntervals () const |
Return the intervals that have associated formulas. | |
virtual void | clearFormulas () |
Set a formula string for an interval of rows. | |
virtual void | replaceTexts (int first, const QStringList &new_values) |
Set the content of row 'row'. | |
virtual void | replaceDateTimes (int first, const QList< QDateTime > &new_values) |
Set the content of row 'row'. | |
virtual void | replaceValues (int first, const QVector< double > &new_values) |
Set the content of row 'row'. | |
Public Member Functions inherited from AbstractAspect | |
AbstractAspect (const QString &name) | |
void | addChild (AbstractAspect *child) |
Add the given Aspect to my list of children. | |
QString | caption () const |
QString | captionSpec () const |
Return the specification string used for constructing the caption(). | |
AbstractAspect * | child (int index) const |
Get a child by its position in my list of children. | |
int | childCount () const |
Return the number of child Aspects. | |
QString | comment () const |
virtual QMenu * | createContextMenu () const |
Return a new context menu. | |
QDateTime | creationTime () const |
QList< AbstractAspect * > | descendantsThatInherit (const char *class_name) |
Get all descendents that inherit the given class. | |
future::Folder * | folder () |
Return the folder the Aspect is contained in or 0 if not. | |
virtual QIcon | icon () const |
Return an icon to be used for decorating my views. | |
void | importV0x0001XXCreationTime (const QString &str) |
int | index () const |
Return my position in my parent's list of children. | |
int | indexOfChild (const AbstractAspect *child) const |
Return the position of child in my list of children. | |
void | insertChild (AbstractAspect *child, int index) |
Insert the given Aspect at a specific position in my list of children. | |
bool | isDescendantOf (AbstractAspect *other) |
Return whether the there is a path upwards to the given aspect. | |
void | moveChild (int from, int to) |
Change the positon of a child in my list of children. | |
QString | name () const |
AbstractAspect * | parentAspect () const |
Return my parent Aspect or 0 if I currently don't have one. | |
virtual QString | path () const |
Return the path that leads from the top-most Aspect (usually a Project) to me. | |
virtual const Project * | project () const |
Return the Project this Aspect belongs to, or 0 if it is currently not part of one. | |
virtual Project * | project () |
Return the Project this Aspect belongs to, or 0 if it is currently not part of one. | |
virtual void | removeAllChildAspects () |
Remove all child aspects. | |
void | removeChild (AbstractAspect *child, bool detach=false) |
Remove the given Aspect from my list of children. | |
void | removeChild (int index) |
Remove the Aspect at the given index from my list of children. | |
void | reparentChild (AbstractAspect *new_parent, AbstractAspect *child, int d_new_index) |
Move a child to another aspect and transfer ownership. | |
void | reparentChild (AbstractAspect *new_parent, AbstractAspect *child) |
Move a child to another aspect and transfer ownership. | |
virtual | ~AbstractAspect () |
virtual QUndoStack * | undoStack () const |
Return the undo stack of the Project, or 0 if this Aspect is not part of a Project. | |
void | exec (QUndoCommand *command) |
Execute the given command, pushing it on the undoStack() if available. | |
void | beginMacro (const QString &text) |
Begin an undo stack macro (series of commands) | |
void | endMacro () |
End the undo stack macro. | |
virtual void | save (QXmlStreamWriter *) const |
Save as XML. | |
virtual bool | load (XmlStreamReader *) |
Load from XML. |
Private Attributes | |
AbstractSimpleFilter * | d_owner |
Friends | |
class | AbstractSimpleFilter |
Additional Inherited Members | |
Signals inherited from AbstractColumn | |
void | aboutToBeDestroyed (const AbstractColumn *source) |
Emitted shortly before this data source is deleted. | |
void | aboutToBeReplaced (const AbstractColumn *source, const AbstractColumn *new_col) |
The column will be replaced. | |
void | dataAboutToChange (const AbstractColumn *source) |
Data (including validity) of the column will be changed. | |
void | dataChanged (const AbstractColumn *source) |
Data (including validity) of the column has changed. | |
void | maskingAboutToChange (const AbstractColumn *source) |
IntervalAttribute related signal. | |
void | maskingChanged (const AbstractColumn *source) |
IntervalAttribute related signal. | |
void | modeAboutToChange (const AbstractColumn *source) |
Column mode (possibly also the data type) will be changed. | |
void | modeChanged (const AbstractColumn *source) |
Column mode (possibly also the data type) changed. | |
void | plotDesignationAboutToChange (const AbstractColumn *source) |
Column plot designation will be changed. | |
void | plotDesignationChanged (const AbstractColumn *source) |
Column plot designation changed. | |
void | rowsAboutToBeInserted (const AbstractColumn *source, int before, int count) |
Rows will be inserted. | |
void | rowsAboutToBeRemoved (const AbstractColumn *source, int first, int count) |
Rows will be deleted. | |
void | rowsInserted (const AbstractColumn *source, int before, int count) |
Rows have been inserted. | |
void | rowsRemoved (const AbstractColumn *source, int first, int count) |
Rows have been deleted. | |
Signals inherited from AbstractAspect | |
void | aspectAboutToBeAdded (const AbstractAspect *parent, int index) |
Emit this when a parent aspect is about to get a new child inserted. | |
void | aspectAboutToBeRemoved (const AbstractAspect *aspect) |
Emit this from an aspect about to be removed from its parent's children. | |
void | aspectAboutToBeRemoved (const AbstractAspect *parent, int index) |
Emit this from a parent before removing its child. | |
void | aspectAdded (const AbstractAspect *aspect) |
Emit this from a newly added aspect. | |
void | aspectAdded (const AbstractAspect *parent, int index) |
Emit this from a parent after adding a new child to it. | |
void | aspectDescriptionAboutToChange (const AbstractAspect *aspect) |
Emit this before the name, comment or caption spec is changed. | |
void | aspectDescriptionChanged (const AbstractAspect *aspect) |
Emit this when the name, comment or caption spec changed. | |
void | aspectRemoved (const AbstractAspect *parent, int index) |
Emit this from the parent after removing a child. | |
void | statusInfo (const QString &text) |
Emit this to give status information to the user. |
|
inline |
|
inlinevirtual |
Clear all masking information.
Reimplemented from AbstractColumn.
References AbstractSimpleFilter::clearMasks(), and d_owner.
|
inlinevirtual |
Return the column mode.
Implements AbstractColumn.
References AbstractSimpleFilter::columnMode(), and d_owner.
|
inlinevirtual |
Return the data type of the column.
Implements AbstractColumn.
References d_owner, and AbstractSimpleFilter::dataType().
|
inlinevirtual |
Return the date part of row 'row'.
Use this only when dataType() is QDateTime
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::dateAt().
|
inlinevirtual |
Set the content of row 'row'.
Use this only when dataType() is QDateTime Return the QDateTime in row 'row' Use this only when dataType() is QDateTime
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::dateTimeAt().
|
inlinevirtual |
Return all intervals of invalid rows.
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::invalidIntervals().
|
inlinevirtual |
Return whether a certain row contains an invalid value.
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::isInvalid().
|
inlinevirtual |
Return whether a certain interval of rows contains only invalid values.
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::isInvalid().
|
inlinevirtual |
Return whether a certain row is masked.
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::isMasked().
|
inlinevirtual |
Return whether a certain interval of rows rows is fully masked.
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::isMasked().
|
inlinevirtual |
Return all intervals of masked rows.
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::maskedIntervals().
|
inlinevirtual |
Return the column plot designation.
Implements AbstractColumn.
References d_owner, and AbstractSimpleFilter::plotDesignation().
|
inlinevirtual |
Return the data vector size.
Implements AbstractColumn.
References d_owner, and AbstractSimpleFilter::rowCount().
|
inlinevirtual |
Return the content of row 'row'.
Use this only when dataType() is QString
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::textAt().
|
inlinevirtual |
Set the content of row 'row'.
Use this only when dataType() is QDateTime Return the time part of row 'row' Use this only when dataType() is QDateTime
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::timeAt().
|
inlinevirtual |
Return the double value in row 'row'.
Use this only when dataType() is double
Reimplemented from AbstractColumn.
References d_owner, and AbstractSimpleFilter::valueAt().
|
friend |
Reimplemented from AbstractColumn.
|
private |
Referenced by clearMasks(), columnMode(), dataType(), dateAt(), dateTimeAt(), invalidIntervals(), isInvalid(), isMasked(), maskedIntervals(), plotDesignation(), rowCount(), textAt(), timeAt(), and valueAt().