The input record maintains a list of all commands used in the creation of the model.
More...
#include <iinputrecord.h>
|
virtual uint64 | getTotalInputLines () const =0 |
| Return the total number of lines in the input record.
|
|
virtual StringList | getInputLines (uint64 start=0, uint64 len=limits< uint64 >::max()) const =0 |
|
virtual FileDataSet | getInputFiles () const =0 |
| Return a list of the files used in the input record.
|
|
virtual uint64 | getTimeToPlayback (uint64 marksToUndo) const =0 |
|
virtual bool | canSmartUndo (uint64 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 StringList | filterInputForDataFile (const StringList &input) const =0 |
| Filters out all non-command lines and interrupted lines, moves FISH CREATE commands to the front.
|
|
virtual void | addFile (const string &fullPath, const string &role)=0 |
| Add a file to the input record.
|
|
|
shared::Signal< const string & > | lineAdded |
|
shared::Signal< int64, const string & > | 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 StringList itasca::IInputRecord::getInputLines |
( |
uint64 | start = 0, |
|
|
uint64 | len = limits< uint64 >::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 uint64 itasca::IInputRecord::getTimeToPlayback |
( |
uint64 | 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: