mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/branches/ErrorHandling@5840 1feff8c3-07ed-0310-ac33-dd36852eb9cd
40 lines
969 B
C++
40 lines
969 B
C++
#if !defined(PRESSURE_H_INCLUDED)
|
|
#define PRESSURE_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 cxxPressure:public cxxNumKeyword
|
|
{
|
|
|
|
public:
|
|
cxxPressure(PHRQ_io *io=NULL);
|
|
~cxxPressure();
|
|
|
|
//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;
|
|
|
|
int read(CParser & parser);
|
|
void read_raw(CParser & parser);
|
|
|
|
std::vector<double> & Get_pressures(void) {return pressures;};
|
|
int Get_count(void) const {return count;};
|
|
void Set_count(int i) {count = i;};
|
|
bool Get_equalIncrements(void) const {return equalIncrements;};
|
|
void Set_equalIncrements(bool tf) {equalIncrements = tf;};
|
|
|
|
protected:
|
|
std::vector < double >pressures;
|
|
int count;
|
|
bool equalIncrements;
|
|
|
|
};
|
|
|
|
#endif // !defined(PRESSURE_H_INCLUDED)
|