Gadget
preyoverprinter.h
Go to the documentation of this file.
1 #ifndef preyoverprinter_h
2 #define preyoverprinter_h
3 
4 #include "printer.h"
5 #include "preyoveraggregator.h"
6 
11 class PreyOverPrinter : public Printer {
12 public:
18  PreyOverPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
22  virtual ~PreyOverPrinter();
28  void setPrey(PreyPtrVector& preyvec, const AreaClass* const Area);
34  virtual void Print(const TimeClass* const TimeInfo, int printtime);
35 protected:
64 };
65 
66 #endif
This is the class used to store information about the areas used for the current model.
Definition: areatime.h:18
This class implements a dynamic vector of char values.
Definition: charptrvector.h:8
This is the class used to strip comments (and whitespace) from any input stream.
Definition: commentstream.h:40
This class implements a dynamic vector of DoubleVector values.
Definition: doublematrix.h:11
This class implements a dynamic vector of IntVector values.
Definition: intmatrix.h:10
This is the class used to store information about the length groups of the modelled stock population.
Definition: lengthgroup.h:10
This is the class used to aggregate the calculated overconsumption of preys.
Definition: preyoveraggregator.h:12
This is the class used to print the overconsumption information for one or more preys.
Definition: preyoverprinter.h:11
IntMatrix areas
This is the IntMatrix used to store aggregated age information.
Definition: preyoverprinter.h:39
virtual ~PreyOverPrinter()
This is the default PreyOverPrinter destructor.
Definition: preyoverprinter.cc:207
const DoubleMatrix * dptr
This is the DoubleMatrix used to temporarily store the information returned from the aggregatation fu...
Definition: preyoverprinter.h:63
CharPtrVector areaindex
This is the CharPtrVector of the names of the aggregated areas to print.
Definition: preyoverprinter.h:43
CharPtrVector preynames
This is the CharPtrVector of the names of the prey names to print.
Definition: preyoverprinter.h:51
PreyOverPrinter(CommentStream &infile, const TimeClass *const TimeInfo)
This is the default PreyOverPrinter constructor.
Definition: preyoverprinter.cc:14
LengthGroupDivision * preyLgrpDiv
This is the LengthGroupDivision of the prey.
Definition: preyoverprinter.h:55
PreyOverAggregator * aggregator
This is the PreyOverAggregator used to collect information about the overconsumption.
Definition: preyoverprinter.h:59
virtual void Print(const TimeClass *const TimeInfo, int printtime)
This will print the requested information for the printer class to the ofstream specified.
Definition: preyoverprinter.cc:181
CharPtrVector lenindex
This is the CharPtrVector of the names of the lengths to print.
Definition: preyoverprinter.h:47
void setPrey(PreyPtrVector &preyvec, const AreaClass *const Area)
This will select the preys required for the printer class to print the requested information.
Definition: preyoverprinter.cc:122
This class implements a dynamic vector of Prey values.
Definition: preyptrvector.h:10
This is the base class used to print the modelled population during a model simulation.
Definition: printer.h:26
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87