mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@10053 1feff8c3-07ed-0310-ac33-dd36852eb9cd
29 lines
817 B
C++
29 lines
817 B
C++
#if !defined(UTILITIES_H_INCLUDED)
|
|
#define UTILITIES_H_INCLUDED
|
|
|
|
#include <string>
|
|
#include <sstream> // std::istringstream std::ostringstream
|
|
#include <ostream> // std::ostream
|
|
#include <istream> // std::istream
|
|
#include <map> // std::map
|
|
#include "phrqtype.h"
|
|
namespace Utilities
|
|
{
|
|
|
|
const char INDENT[] = " ";
|
|
|
|
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);
|
|
void str_toupper(std::string & str);
|
|
std::string pad_right(const std::string & str, size_t l);
|
|
bool replace(const char *str1, const char *str2, std::string & str);
|
|
|
|
void squeeze_white(std::string & s_l);
|
|
double convert_time(double t, std::string in, std::string out);
|
|
LDBLE safe_exp(LDBLE t);
|
|
}
|
|
#endif // UTILITIES_H_INCLUDED
|