Subversion Repositories public iLand

Rev

Rev 1221 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
671 werner 1
/********************************************************************************************
2
**    iLand - an individual based forest landscape and disturbance model
3
**    http://iland.boku.ac.at
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
 
173 werner 20
#ifndef TREEOUT_H
21
#define TREEOUT_H
264 werner 22
#include "expression.h"
173 werner 23
#include "output.h"
24
 
25
class Expression;
1102 werner 26
class Tree;
173 werner 27
class TreeOut: public Output
28
{
29
public:
30
    TreeOut();
31
    virtual void exec();
32
    virtual void setup();
33
private:
264 werner 34
    Expression mFilter;
173 werner 35
};
36
 
1102 werner 37
class TreeRemovedOut: public Output
38
{
39
public:
40
    TreeRemovedOut();
41
    void execRemovedTree(const Tree *t, int reason);
42
    virtual void exec();
43
    virtual void setup();
44
private:
45
    Expression mFilter;
46
};
173 werner 47
#endif // TREEOUT_H