|
iLand
|
SVDStateOut saves state changes for SVD. More...
#include <svdout.h>
Public Member Functions | |
| SVDStateOut () | |
| virtual void | exec () |
| main function that executes the output More... | |
| virtual void | setup () |
| setup() is called during project setup and can be ovveridden for specific setup More... | |
Public Member Functions inherited from Output | |
| Output () | |
| ctor. Override in derived class to craete columns, etc. More... | |
| virtual | ~Output () |
| void | setMode (OutputMode mode) |
| void | open () |
| open output connection (create actual db connection, ...) More... | |
| bool | isOpen () const |
| returns true if output is open, i.e. has a open database connection More... | |
| void | close () |
| shut down the connection. More... | |
| bool | isEnabled () const |
| returns true if output is enabled, i.e. is "turned on" More... | |
| void | setEnabled (const bool enabled) |
| bool | isRowEmpty () const |
| returns true if the buffer of the current row is empty More... | |
| const QList< OutputColumn > | getColumns () const |
| const QString | name () const |
| descriptive name of the ouptut More... | |
| const QString | description () const |
| description of output More... | |
| const QString | tableName () const |
| internal output name (no spaces allowed) More... | |
| QString | wikiFormat () const |
| return output description in a (tiki)-wiki format More... | |
| Output & | operator<< (const double &value) |
| Output & | operator<< (const int value) |
| Output & | operator<< (const QString &value) |
Additional Inherited Members | |
Protected Member Functions inherited from Output | |
| void | setName (const QString &name, const QString tableName) |
| void | setDescription (const QString &description) |
| QList< OutputColumn > & | columns () |
| int | currentYear () const |
| const XmlHelper & | settings () const |
| access XML settings (see class description) More... | |
| void | writeRow () |
| saves the current row/line of data to database/file. Must be called for each row. More... | |
| void | singleThreadedWriteRow () |
| writeRow() protected by a mutex (if there is a chance that two outputs write at the same time) More... | |
| void | add (const double &value) |
| void | add (const double &value1, const double &value2) |
| void | add (const double &value1, const double &value2, const double &value3) |
| void | add (const double &value1, const double &value2, const double &value3, const double &value4) |
| void | add (const double &value1, const double &value2, const double &value3, const double &value4, const double value5) |
| void | add (const int intValue) |
| void | add (const QString &stringValue) |
| bool | clearColumnsAfter (QString find_name) |
| delete all columns after the column 'find_name'. Return true if columns were removed. More... | |
| void | truncateTable () |
| delete all data from the table More... | |
SVDStateOut saves state changes for SVD.
The output includes also info about the neighborhood of each resource unit (i.e. species composition)
| SVDStateOut::SVDStateOut | ( | ) |
|
virtual |
main function that executes the output
Reimplemented from Output.
|
virtual |