Gadget
stockfullprinter.h
Go to the documentation of this file.
1 #ifndef stockfullprinter_h
2 #define stockfullprinter_h
3 
4 #include "printer.h"
5 #include "stockaggregator.h"
6 
11 class StockFullPrinter : public Printer {
12 public:
18  StockFullPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
22  virtual ~StockFullPrinter();
28  virtual void setStock(StockPtrVector& stockvec, const AreaClass* const Area);
34  virtual void Print(const TimeClass* const TimeInfo, int printtime);
35 protected:
43  int minage;
47  char* stockname;
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 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 information.
Definition: stockaggregator.h:14
This is the class used to print detailed information about a stock.
Definition: stockfullprinter.h:11
virtual void setStock(StockPtrVector &stockvec, const AreaClass *const Area)
This will select the stocks required for the printer class to print the requested information.
Definition: stockfullprinter.cc:101
virtual void Print(const TimeClass *const TimeInfo, int printtime)
This will print the requested information for the printer class to the ofstream specified.
Definition: stockfullprinter.cc:137
char * stockname
This is the name of the stock.
Definition: stockfullprinter.h:47
int minage
This is the minimum age of the stock.
Definition: stockfullprinter.h:43
const AgeBandMatrixPtrVector * alptr
This is the AgeBandMatrixPtrVector used to temporarily store the information returned from the aggreg...
Definition: stockfullprinter.h:59
StockAggregator * aggregator
This is the StockAggregator used to collect information about the stock.
Definition: stockfullprinter.h:51
virtual ~StockFullPrinter()
This is the default StockFullPrinter destructor.
Definition: stockfullprinter.cc:93
LengthGroupDivision * LgrpDiv
This is the LengthGroupDivision of the stock.
Definition: stockfullprinter.h:55
IntVector outerareas
This is the IntVector used to store aggregated area information.
Definition: stockfullprinter.h:39
StockFullPrinter(CommentStream &infile, const TimeClass *const TimeInfo)
This is the default StockFullPrinter constructor.
Definition: stockfullprinter.cc:13
This class implements a dynamic vector of Stock values.
Definition: stockptrvector.h:10
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87