mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
added const versions for Get_headings and Get_rate
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8139 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
257b2805cf
commit
8c78708f5f
25
UserPunch.h
25
UserPunch.h
@ -1,25 +0,0 @@
|
||||
#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);
|
||||
|
||||
std::vector <std::string> &Get_headings() {return this->headings;}
|
||||
void Set_headings(std::vector <std::string> & h) {this->headings = h;}
|
||||
Phreeqc * Get_PhreeqcPtr() {return this->PhreeqcPtr;}
|
||||
void Set_PhreeqcPtr(Phreeqc * p) {this->PhreeqcPtr = p;}
|
||||
struct rate * Get_rate() {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)
|
||||
Loading…
x
Reference in New Issue
Block a user