mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
added const routines
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8143 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
fda47b4bad
commit
be614498d4
14
UserPunch.h
14
UserPunch.h
@ -10,11 +10,25 @@ 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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user