Gadget
stockpreyprinter.h
Go to the documentation of this file.
1 #ifndef stockpreyprinter_h
2 #define stockpreyprinter_h
3 
4 #include "printer.h"
5 #include "stockpreyaggregator.h"
6 
11 class StockPreyPrinter : public Printer {
12 public:
18  StockPreyPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
22  virtual ~StockPreyPrinter();
28  virtual void setPrey(PreyPtrVector& preyvec, const AreaClass* const Area);
34  virtual void Print(const TimeClass* const TimeInfo, int printtime);
35 protected:
72 };
73 
74 #endif
This class implements a dynamic vector of AgeBandMatrix values.
Definition: agebandmatrixptrvector.h:12
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 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 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 aggregate stock prey information.
Definition: stockpreyaggregator.h:14
This is the class used to print information about one or more stock preys.
Definition: stockpreyprinter.h:11
IntMatrix areas
This is the IntMatrix used to store aggregated area information.
Definition: stockpreyprinter.h:39
virtual void Print(const TimeClass *const TimeInfo, int printtime)
This will print the requested information for the printer class to the ofstream specified.
Definition: stockpreyprinter.cc:220
CharPtrVector preynames
This is the CharPtrVector of the names of the preys to print.
Definition: stockpreyprinter.h:59
virtual ~StockPreyPrinter()
This is the default StockPreyPrinter destructor.
Definition: stockpreyprinter.cc:251
StockPreyPrinter(CommentStream &infile, const TimeClass *const TimeInfo)
This is the default StockPreyPrinter constructor.
Definition: stockpreyprinter.cc:15
const AgeBandMatrixPtrVector * alptr
This is the AgeBandMatrixPtrVector used to temporarily store the information returned from the aggreg...
Definition: stockpreyprinter.h:71
virtual void setPrey(PreyPtrVector &preyvec, const AreaClass *const Area)
This will select the preys required for the printer class to print the requested information.
Definition: stockpreyprinter.cc:133
CharPtrVector areaindex
This is the CharPtrVector of the names of the aggregated areas to print.
Definition: stockpreyprinter.h:47
IntMatrix ages
This is the IntMatrix used to store aggregated age information.
Definition: stockpreyprinter.h:43
CharPtrVector ageindex
This is the CharPtrVector of the names of the aggregated ages to print.
Definition: stockpreyprinter.h:51
StockPreyAggregator * aggregator
This is the StockPreyAggregator used to collect information about the stock preys.
Definition: stockpreyprinter.h:67
LengthGroupDivision * LgrpDiv
This is the LengthGroupDivision of the prey.
Definition: stockpreyprinter.h:63
CharPtrVector lenindex
This is the CharPtrVector of the names of the lengths to print.
Definition: stockpreyprinter.h:55
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87