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:
Scott R Charlton 2013-10-29 22:22:19 +00:00
parent 257b2805cf
commit 8c78708f5f

View File

@ -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)