mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
git-subtree-dir: phreeqcpp git-subtree-mainline: ba5f2ba885b4cc757201e28f9b4dce158f7cc66b git-subtree-split: da9d06b423a87ed5eae503c0faf779ac11c96027
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
|