Gadget
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
predatoroverprinter.h
Go to the documentation of this file.
1 #ifndef predatoroverprinter_h
2 #define predatoroverprinter_h
3 
4 #include "predatorptrvector.h"
6 #include "printer.h"
7 
12 class PredatorOverPrinter : public Printer {
13 public:
19  PredatorOverPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
23  virtual ~PredatorOverPrinter();
29  void setPredator(PredatorPtrVector& predatorvec, const AreaClass* const Area);
35  virtual void Print(const TimeClass* const TimeInfo, int printtime);
36 protected:
65 };
66 
67 #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 by predators.
Definition: predatoroveraggregator.h:12
This is the class used to print the overconsumption information for one or more predators.
Definition: predatoroverprinter.h:12
CharPtrVector areaindex
This is the CharPtrVector of the names of the aggregated areas to print.
Definition: predatoroverprinter.h:44
CharPtrVector lenindex
This is the CharPtrVector of the names of the lengths to print.
Definition: predatoroverprinter.h:48
virtual ~PredatorOverPrinter()
This is the default PredatorOverPrinter destructor.
Definition: predatoroverprinter.cc:207
void setPredator(PredatorPtrVector &predatorvec, const AreaClass *const Area)
This will select the predators required for the printer class to print the requested information.
Definition: predatoroverprinter.cc:122
const DoubleMatrix * dptr
This is the DoubleMatrix used to temporarily store the information returned from the aggregatation fu...
Definition: predatoroverprinter.h:64
CharPtrVector predatornames
This is the CharPtrVector of the names of the predator names to print.
Definition: predatoroverprinter.h:52
PredatorOverAggregator * aggregator
This is the PredatorOverAggregator used to collect information about the overconsumption.
Definition: predatoroverprinter.h:60
virtual void Print(const TimeClass *const TimeInfo, int printtime)
This will print the requested information for the printer class to the ofstream specified.
Definition: predatoroverprinter.cc:181
LengthGroupDivision * predLgrpDiv
This is the LengthGroupDivision of the predator.
Definition: predatoroverprinter.h:56
PredatorOverPrinter(CommentStream &infile, const TimeClass *const TimeInfo)
This is the default PredatorOverPrinter constructor.
Definition: predatoroverprinter.cc:14
IntMatrix areas
This is the IntMatrix used to store aggregated area information.
Definition: predatoroverprinter.h:40
This class implements a dynamic vector of Predator values.
Definition: predatorptrvector.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