mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
first pass @ removing std::cerr, std::cout, exit, stderr, stdout from R version.
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@8619 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
dd2fd74bab
commit
d7de17c703
@ -709,17 +709,23 @@ int IPhreeqc::LoadDatabaseString(const char* input)
|
||||
|
||||
void IPhreeqc::OutputAccumulatedLines(void)
|
||||
{
|
||||
#if !defined(R_SO)
|
||||
std::cout << this->StringInput.c_str() << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void IPhreeqc::OutputErrorString(void)
|
||||
{
|
||||
#if !defined(R_SO)
|
||||
std::cout << this->GetErrorString() << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void IPhreeqc::OutputWarningString(void)
|
||||
{
|
||||
#if !defined(R_SO)
|
||||
std::cout << this->GetWarningString() << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
int IPhreeqc::RunAccumulated(void)
|
||||
|
||||
@ -702,7 +702,9 @@ OutputAccumulatedLines(int id)
|
||||
IPhreeqcPtr->OutputAccumulatedLines();
|
||||
return;
|
||||
}
|
||||
#if !defined(R_SO)
|
||||
std::cout << err_msg << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
@ -715,7 +717,9 @@ OutputErrorString(int id)
|
||||
IPhreeqcPtr->OutputErrorString();
|
||||
return;
|
||||
}
|
||||
#if !defined(R_SO)
|
||||
std::cout << err_msg << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
@ -728,7 +732,9 @@ OutputWarningString(int id)
|
||||
IPhreeqcPtr->OutputWarningString();
|
||||
return;
|
||||
}
|
||||
#if !defined(R_SO)
|
||||
std::cout << err_msg << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user