iphreeqc/Temperature.h
David L Parkhurst acf62c7881 gas_phase and irrev removed.
get_line moved to PHRQ_io.

Still debugging some.

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/branches/ErrorHandling@5967 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2012-01-04 16:07:40 +00:00

40 lines
1020 B
C++

#if !defined(TEMPERATURE_H_INCLUDED)
#define TEMPERATURE_H_INCLUDED
#include <cassert> // assert
#include <map> // std::map
#include <string> // std::string
#include <list> // std::list
#include <vector> // std::vector
#include "NumKeyword.h"
class cxxTemperature:public cxxNumKeyword
{
public:
cxxTemperature(PHRQ_io *io=NULL);
~cxxTemperature();
//void dump_xml(std::ostream& os, unsigned int indent = 0)const;
void dump_raw(std::ostream & s_oss, unsigned int indent, int *n_out=NULL) const;
void read_raw(CParser & parser);
int read(CParser & parser);
LDBLE Temperature_for_step(int step_number);
std::vector<double> & Get_temps(void) {return temps;}
int Get_countTemps(void) const;
void Set_countTemps(int i) {countTemps = i;}
bool Get_equalIncrements(void) const {return equalIncrements;}
void Set_equalIncrements(bool tf) {equalIncrements = tf;}
protected:
std::vector < double >temps;
int countTemps;
bool equalIncrements;
};
#endif // !defined(TEMPERATURE_H_INCLUDED)