Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Annotation of /trunk/gadget/stockpreyfullprinter.h
[mareframe] / trunk / gadget / stockpreyfullprinter.h Repository:
ViewVC logotype

Annotation of /trunk/gadget/stockpreyfullprinter.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : agomez 1 #ifndef stockpreyfullprinter_h
2 :     #define stockpreyfullprinter_h
3 :    
4 :     #include "printer.h"
5 :     #include "stockpreyaggregator.h"
6 :    
7 :     /**
8 :     * \class StockPreyFullPrinter
9 :     * \brief This is the class used to print detailed information about a prey
10 :     */
11 :     class StockPreyFullPrinter : public Printer {
12 :     public:
13 :     /**
14 :     * \brief This is the default StockPreyFullPrinter constructor
15 :     * \param infile is the CommentStream to read the printer parameters from
16 :     * \param TimeInfo is the TimeClass for the current model
17 :     */
18 :     StockPreyFullPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
19 :     /**
20 :     * \brief This is the default StockPreyFullPrinter destructor
21 :     */
22 :     virtual ~StockPreyFullPrinter();
23 :     /**
24 :     * \brief This will select the preys required for the printer class to print the requested information
25 :     * \param preyvec is the PreyPtrVector of all the available preys
26 :     * \param Area is the AreaClass for the current model
27 :     */
28 :     virtual void setPrey(PreyPtrVector& preyvec, const AreaClass* const Area);
29 :     /**
30 :     * \brief This will print the requested information for the printer class to the ofstream specified
31 :     * \param TimeInfo is the TimeClass for the current model
32 :     * \param printtime is the flag to denote when the printing is taking place
33 :     */
34 :     virtual void Print(const TimeClass* const TimeInfo, int printtime);
35 :     protected:
36 :     /**
37 :     * \brief This is the name of the stock prey
38 :     */
39 :     char* preyname;
40 :     /**
41 :     * \brief This is the minimum age of the stock prey
42 :     */
43 :     int minage;
44 :     /**
45 :     * \brief This is the IntVector used to store aggregated area information
46 :     */
47 :     IntVector outerareas;
48 :     /**
49 :     * \brief This is the LengthGroupDivision of the prey
50 :     */
51 :     LengthGroupDivision* LgrpDiv;
52 :     /**
53 :     * \brief This is the StockPreyAggregator used to collect information about the stock prey
54 :     */
55 :     StockPreyAggregator* aggregator;
56 :     /**
57 :     * \brief This is the AgeBandMatrixPtrVector used to temporarily store the information returned from the aggregatation function
58 :     */
59 :     const AgeBandMatrixPtrVector* alptr;
60 :     };
61 :    
62 :     #endif

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge