mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8391 1feff8c3-07ed-0310-ac33-dd36852eb9cd
39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
#if !defined(USERPUNCH_H_INCLUDED)
|
|
#define USERPUNCH_H_INCLUDED
|
|
#include <vector>
|
|
#include <string> // std::string
|
|
#include "NumKeyword.h"
|
|
class Phreeqc;
|
|
class UserPunch:public cxxNumKeyword
|
|
{
|
|
public:
|
|
UserPunch(int n=1, PHRQ_io *io=NULL);
|
|
~UserPunch(void);
|
|
|
|
// headings
|
|
//
|
|
std::vector <std::string> &Get_headings() {return this->headings;}
|
|
const std::vector <std::string> &Get_headings()const {return this->headings;}
|
|
|
|
void Set_headings(std::vector <std::string> & h) {this->headings = h;}
|
|
|
|
// phreeqc pointer
|
|
//
|
|
Phreeqc * Get_PhreeqcPtr() {return this->PhreeqcPtr;}
|
|
const Phreeqc * Get_PhreeqcPtr()const {return this->PhreeqcPtr;}
|
|
|
|
void Set_PhreeqcPtr(Phreeqc * p) {this->PhreeqcPtr = p;}
|
|
|
|
// rate
|
|
//
|
|
struct rate * Get_rate() {return this->rate;}
|
|
const struct rate * Get_rate()const {return this->rate;}
|
|
|
|
void Set_rate(struct rate * r) {this->rate = r;}
|
|
|
|
protected:
|
|
std::vector <std::string> headings;
|
|
struct rate * rate;
|
|
Phreeqc * PhreeqcPtr;
|
|
};
|
|
#endif // !defined(USERPUNCH_H_INCLUDED)
|