mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
removed ^M from System.h git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@3169 1feff8c3-07ed-0310-ac33-dd36852eb9cd
48 lines
765 B
C++
48 lines
765 B
C++
#if !defined(DICTIONARY_H_INCLUDED)
|
|
#define DICTIONARY_H_INCLUDED
|
|
|
|
#include <cassert> // assert
|
|
#include <map> // std::map
|
|
#include <string> // std::string
|
|
#include <list> // std::list
|
|
#include <vector> // std::vector
|
|
#include "Solution.h"
|
|
#include "NameDouble.h"
|
|
|
|
class cxxDictionary
|
|
{
|
|
|
|
public:
|
|
cxxDictionary();
|
|
|
|
~cxxDictionary();
|
|
|
|
void add_phreeqc();
|
|
|
|
int size()
|
|
{
|
|
return (int) stringkey.size();
|
|
}
|
|
|
|
int putString(std::string str);
|
|
int putString(char *str);
|
|
|
|
int string2int(std::string str);
|
|
|
|
int string2int(char *str);
|
|
|
|
std::string * int2string(int i);
|
|
|
|
char *int2char(int i);
|
|
|
|
protected:
|
|
std::map < std::string, int >stringkey;
|
|
std::map < int, std::string > intkey;
|
|
|
|
public:
|
|
|
|
|
|
};
|
|
|
|
#endif // !defined(DICTIONARY_H_INCLUDED)
|