Gadget
stockpreyfullprinter.h
Go to the documentation of this file.
1 #ifndef stockpreyfullprinter_h
2 #define stockpreyfullprinter_h
3 
4 #include "printer.h"
5 #include "stockpreyaggregator.h"
6 
11 class StockPreyFullPrinter : public Printer {
12 public:
18  StockPreyFullPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
22  virtual ~StockPreyFullPrinter();
28  virtual void setPrey(PreyPtrVector& preyvec, const AreaClass* const Area);
34  virtual void Print(const TimeClass* const TimeInfo, int printtime);
35 protected:
39  char* preyname;
43  int minage;
60 };
61 
62 #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 is the class used to strip comments (and whitespace) from any input stream.
Definition: commentstream.h:40
This class implements a dynamic vector of int values.
Definition: intvector.h:11
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 detailed information about a prey.
Definition: stockpreyfullprinter.h:11
virtual void Print(const TimeClass *const TimeInfo, int printtime)
This will print the requested information for the printer class to the ofstream specified.
Definition: stockpreyfullprinter.cc:148
StockPreyAggregator * aggregator
This is the StockPreyAggregator used to collect information about the stock prey.
Definition: stockpreyfullprinter.h:55
const AgeBandMatrixPtrVector * alptr
This is the AgeBandMatrixPtrVector used to temporarily store the information returned from the aggreg...
Definition: stockpreyfullprinter.h:59
IntVector outerareas
This is the IntVector used to store aggregated area information.
Definition: stockpreyfullprinter.h:47
int minage
This is the minimum age of the stock prey.
Definition: stockpreyfullprinter.h:43
LengthGroupDivision * LgrpDiv
This is the LengthGroupDivision of the prey.
Definition: stockpreyfullprinter.h:51
char * preyname
This is the name of the stock prey.
Definition: stockpreyfullprinter.h:39
virtual ~StockPreyFullPrinter()
This is the default StockPreyFullPrinter destructor.
Definition: stockpreyfullprinter.cc:99
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: stockpreyfullprinter.cc:107
StockPreyFullPrinter(CommentStream &infile, const TimeClass *const TimeInfo)
This is the default StockPreyFullPrinter constructor.
Definition: stockpreyfullprinter.cc:13
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87