iphreeqc/runner.h
David L Parkhurst 7eeeab4569 all classes inherit from PHRQ_base, except
NameDouble, StorageBinListItem.

NumKeyword inherits from PHRQ_base, others inherit NumKeyword.

ChartHandler and ChartObject inherit from PHRQ_base.

CurveObject does not inherit from PHRQ_base.

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/branches/ErrorHandling@5637 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2011-09-20 20:05:43 +00:00

30 lines
778 B
C++

#if !defined(RUNNER_H_INCLUDED)
#define RUNNER_H_INCLUDED
#include <set> // std::set
#include <string> // std::string
#include "StorageBinList.h"
#include "PHRQ_base.h"
class CParser;
class runner: public PHRQ_base
{
public:
runner(PHRQ_io *io=NULL);
runner(CParser & parser, PHRQ_io *io=NULL);
virtual ~runner(void);
bool Read(CParser & parser);
StorageBinListItem & Get_cells(void) { return(this->cells); };
double Get_time_step() { return(this->time_step); };
double Get_start_time() { return(this->start_time); };
bool Get_run_cells() { return(this->run_cells); };
void Set_run_cells(bool tf) { this->run_cells = tf; };
protected:
double time_step;
double start_time;
StorageBinListItem cells;
bool run_cells;
};
#endif // !defined(RUNNER_H_INCLUDED)