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] View of /trunk/gadget/likelihoodprinter.h
[mareframe] / trunk / gadget / likelihoodprinter.h Repository:
ViewVC logotype

View of /trunk/gadget/likelihoodprinter.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (download) (annotate)
Mon Feb 10 17:09:07 2014 UTC (10 years, 4 months ago) by agomez
File size: 1512 byte(s)
Initial version based on Gadget 2.2.00
#ifndef likelihoodprinter_h
#define likelihoodprinter_h

#include "printer.h"

/**
 * \class LikelihoodPrinter
 * \brief This is the class used to print likelihood information
 */
class LikelihoodPrinter : public Printer {
public:
  /**
   * \brief This is the default LikelihoodPrinter constructor
   * \param infile is the CommentStream to read the printer parameters from
   * \param TimeInfo is the TimeClass for the current model
   */
  LikelihoodPrinter(CommentStream& infile, const TimeClass* const TimeInfo);
  /**
   * \brief This is the default LikelihoodPrinter destructor
   */
  virtual ~LikelihoodPrinter();
  /**
   * \brief This will select the likelihood components required for the printer class to print the requested information
   * \param likevec is the LikelihoodPtrVector of all the available likelihood components
   */
  virtual void setLikelihood(LikelihoodPtrVector& likevec);
  /**
   * \brief This will print the requested information for the printer class to the ofstream specified
   * \param TimeInfo is the TimeClass for the current model
   * \param printtime is the flag to denote when the printing is taking place
   */
  virtual void Print(const TimeClass* const TimeInfo, int printtime);
protected:
  /**
   * \brief This is the CharPtrVector of the names of the likelihood components to print
   */
  CharPtrVector likenames;
  /**
   * \brief This is the LikelihoodPtrVector that is storing the likelihood component to print
   */
  LikelihoodPtrVector like;
};

#endif

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

Powered By FusionForge