The input record maintains a list of all commands used in the creation of the model.
More...
#include <iinputrecord.h>
|
virtual quint64 | getTotalInputLines () const =0 |
| Return the total number of lines in the input record.
|
|
virtual QStringList | getInputLines (quint64 start=0, quint64 len=limits< quint64 >::max()) const =0 |
|
virtual FileDataSet | getInputFiles () const =0 |
| Return a list of the files used in the input record.
|
|
virtual quint64 | getTimeToPlayback (quint64 marksToUndo) const =0 |
|
virtual bool | canSmartUndo (quint64 marksToUndo) const =0 |
|
virtual bool | isPlaybackActive () const =0 |
| Return true if an undo operation is being performed or a call file is being executed.
|
|
virtual QStringList | filterInputForDataFile (const QStringList &input) const =0 |
| Filters out all non-command lines and interrupted lines, moves FISH CREATE commands to the front.
|
|
virtual void | addFile (const QString &fullPath, const QString &role)=0 |
| Add a file to the input record.
|
|
|
shared::Signal< const QString & > | lineAdded |
|
shared::Signal< int64, const QString & > | inputLineModified |
|
shared::Signal< int64 > | inputLineRemoved |
|
shared::Signal< const IInputRecord::FileData & > | fileAdded |
|
shared::Signal< int64 > | dataReset |
|
shared::Signal< bool > | undoAvailable |
|
shared::Signal< bool, double > | playbackActiveChanged |
|
The input record maintains a list of all commands used in the creation of the model.
◆ FileDataSet
This struct holds file information stored in FileDataSet. A list of files.
◆ getInputLines()
virtual QStringList itasca::IInputRecord::getInputLines |
( |
quint64 |
start = 0 , |
|
|
quint64 |
len = limits< quint64 >::max() |
|
) |
| const |
|
pure virtual |
Retrieve input lines stored in the input record. start is the line number of the first line to retrieve. len is the number of lines to retrieve.
◆ getTimeToPlayback()
virtual quint64 itasca::IInputRecord::getTimeToPlayback |
( |
quint64 |
marksToUndo | ) |
const |
|
pure virtual |
Return the estimated time (in milliseconds) required to perform an undo operation. marksToUndo is the number of actions to undo.
The documentation for this class was generated from the following file: