[mareframe] Annotation of /trunk/gadget/likelihoodprinter.h
Annotation of /trunk/gadget/likelihoodprinter.h
Parent Directory
| Revision Log
Revision 1 -
(view)
(download)
1 : |
agomez |
1 |
#ifndef likelihoodprinter_h
|
2 : |
|
|
#define likelihoodprinter_h
|
3 : |
|
|
|
4 : |
|
|
#include "printer.h" |
5 : |
|
|
|
6 : |
|
|
/**
|
7 : |
|
|
* \class LikelihoodPrinter
|
8 : |
|
|
* \brief This is the class used to print likelihood information
|
9 : |
|
|
*/
|
10 : |
|
|
class LikelihoodPrinter : public Printer {
|
11 : |
|
|
public:
|
12 : |
|
|
/**
|
13 : |
|
|
* \brief This is the default LikelihoodPrinter constructor
|
14 : |
|
|
* \param infile is the CommentStream to read the printer parameters from
|
15 : |
|
|
* \param TimeInfo is the TimeClass for the current model
|
16 : |
|
|
*/
|
17 : |
|
|
LikelihoodPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
|
18 : |
|
|
/**
|
19 : |
|
|
* \brief This is the default LikelihoodPrinter destructor
|
20 : |
|
|
*/
|
21 : |
|
|
virtual ~LikelihoodPrinter();
|
22 : |
|
|
/**
|
23 : |
|
|
* \brief This will select the likelihood components required for the printer class to print the requested information
|
24 : |
|
|
* \param likevec is the LikelihoodPtrVector of all the available likelihood components
|
25 : |
|
|
*/
|
26 : |
|
|
virtual void setLikelihood(LikelihoodPtrVector& likevec);
|
27 : |
|
|
/**
|
28 : |
|
|
* \brief This will print the requested information for the printer class to the ofstream specified
|
29 : |
|
|
* \param TimeInfo is the TimeClass for the current model
|
30 : |
|
|
* \param printtime is the flag to denote when the printing is taking place
|
31 : |
|
|
*/
|
32 : |
|
|
virtual void Print(const TimeClass* const TimeInfo, int printtime);
|
33 : |
|
|
protected:
|
34 : |
|
|
/**
|
35 : |
|
|
* \brief This is the CharPtrVector of the names of the likelihood components to print
|
36 : |
|
|
*/
|
37 : |
|
|
CharPtrVector likenames;
|
38 : |
|
|
/**
|
39 : |
|
|
* \brief This is the LikelihoodPtrVector that is storing the likelihood component to print
|
40 : |
|
|
*/
|
41 : |
|
|
LikelihoodPtrVector like;
|
42 : |
|
|
};
|
43 : |
|
|
|
44 : |
|
|
#endif
|
|