iLand
treeout.h
Go to the documentation of this file.
1/********************************************************************************************
2** iLand - an individual based forest landscape and disturbance model
3** http://iland-model.org
4** Copyright (C) 2009- Werner Rammer, Rupert Seidl
5**
6** This program is free software: you can redistribute it and/or modify
7** it under the terms of the GNU General Public License as published by
8** the Free Software Foundation, either version 3 of the License, or
9** (at your option) any later version.
10**
11** This program is distributed in the hope that it will be useful,
12** but WITHOUT ANY WARRANTY; without even the implied warranty of
13** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14** GNU General Public License for more details.
15**
16** You should have received a copy of the GNU General Public License
17** along with this program. If not, see <http://www.gnu.org/licenses/>.
18********************************************************************************************/
19
20#ifndef TREEOUT_H
21#define TREEOUT_H
22#include "expression.h"
23#include "output.h"
24
25class Expression;
26class Tree;
27class TreeOut: public Output
28{
29public:
30 TreeOut();
31 virtual void exec();
32 virtual void setup();
33private:
34 Expression mFilter;
35};
36
38{
39public:
41 void execRemovedTree(const Tree *t, int reason);
42 virtual void exec();
43 virtual void setup();
44private:
45 Expression mFilter;
46};
47#endif // TREEOUT_H
An expression engine for mathematical expressions provided as strings.
Definition: expression.h:29
The Output class abstracts output data (database, textbased, ...).
Definition: output.h:55
A tree is the basic simulation entity of iLand and represents a single tree.
Definition: tree.h:44
Definition: treeout.h:28
virtual void exec()
main function that executes the output
Definition: treeout.cpp:68
TreeOut()
Definition: treeout.cpp:28
virtual void setup()
setup() is called during project setup and can be ovveridden for specific setup
Definition: treeout.cpp:59
Definition: treeout.h:38
virtual void exec()
main function that executes the output
Definition: treeout.cpp:155
void execRemovedTree(const Tree *t, int reason)
Definition: treeout.cpp:133
virtual void setup()
setup() is called during project setup and can be ovveridden for specific setup
Definition: treeout.cpp:161
TreeRemovedOut()
Definition: treeout.cpp:93