Added getter methods

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/branches/class@4182 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2010-03-20 02:50:03 +00:00
parent f7a93a0240
commit 761c7de03e
2 changed files with 37 additions and 0 deletions

View File

@ -1364,31 +1364,61 @@ void IPhreeqc::init(void)
return;
}
bool IPhreeqc::GetOutputOn(void)const
{
return this->OutputOn;
}
void IPhreeqc::SetOutputOn(bool bValue)
{
this->OutputOn = bValue;
}
bool IPhreeqc::GetSelectedOutputOn(void)const
{
return this->SelectedOutputOn;
}
void IPhreeqc::SetSelectedOutputOn(bool bValue)
{
this->SelectedOutputOn = bValue;
}
bool IPhreeqc::GetLogOn(void)const
{
return this->LogOn;
}
void IPhreeqc::SetLogOn(bool bValue)
{
this->LogOn = bValue;
}
bool IPhreeqc::GetDumpOn(void)const
{
return this->DumpOn;
}
void IPhreeqc::SetDumpOn(bool bValue)
{
this->DumpOn = bValue;
}
bool IPhreeqc::GetDumpStringOn(void)const
{
return this->DumpStringOn;
}
void IPhreeqc::SetDumpStringOn(bool bValue)
{
this->DumpStringOn = bValue;
}
bool IPhreeqc::GetErrorOn(void)const
{
return this->ErrorOn;
}
void IPhreeqc::SetErrorOn(bool bValue)
{
this->ErrorOn = bValue;

View File

@ -39,15 +39,22 @@ public:
VRESULT AccumulateLine(const char *line);
bool GetDumpOn(void)const;
void SetDumpOn(bool bValue);
bool GetDumpStringOn(void)const;
void SetDumpStringOn(bool bValue);
bool GetErrorOn(void)const;
void SetErrorOn(bool bValue);
bool GetLogOn(void)const;
void SetLogOn(bool bValue);
bool GetOutputOn(void)const;
void SetOutputOn(bool bValue);
bool GetSelectedOutputOn(void)const;
void SetSelectedOutputOn(bool bValue);
int Run(void);