Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stringHasher.h « TERsrc « mert - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0894812f06c0c7a204195d9c4be176d9edb8020b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __STRINGHASHER_H__
#define __STRINGHASHER_H__

#include <string>
#include <iostream>

using namespace std;
namespace HashMapSpace
{

class stringHasher
{
private:
  long m_hashKey;
  string m_key;
  string m_value;

public:
  stringHasher ( long cle, string cleTxt, string valueTxt );
  long getHashKey();
  string getKey();
  string getValue();
  void setValue ( string value );
};

}

#endif  // __STRINGHASHER_H__