mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
Will remove cpp and header files and make phreeqc an external directory. git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@785 1feff8c3-07ed-0310-ac33-dd36852eb9cd
32 lines
706 B
C++
32 lines
706 B
C++
#if !defined(UTILITIES_H_INCLUDED)
|
|
#define UTILITIES_H_INCLUDED
|
|
|
|
#include <string>
|
|
|
|
namespace Utilities {
|
|
|
|
const char INDENT[] = " ";
|
|
|
|
enum STATUS_TYPE {
|
|
OK = 0,
|
|
ERROR = 1
|
|
};
|
|
|
|
STATUS_TYPE parse_couple(std::string& token);
|
|
|
|
int strcmp_nocase(const char *str1, const char *str2);
|
|
|
|
int strcmp_nocase_arg1(const char *str1, const char *str2);
|
|
|
|
void str_tolower(std::string& str);
|
|
|
|
bool replace(const char* str1, const char* str2, std::string& str);
|
|
|
|
void squeeze_white(std::string& s_l);
|
|
|
|
void error_msg(const std::string&, const int stopflag);
|
|
|
|
}
|
|
|
|
#endif // UTILITIES_H_INCLUDED
|