mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 22:45:50 +03:00
32 lines
481 B
C++
32 lines
481 B
C++
#ifndef __INFOSHASHER_H__
|
|
#define __INFOSHASHER_H__
|
|
|
|
#include <string>
|
|
#include <stdio.h>
|
|
#include <iostream>
|
|
#include <vector>
|
|
|
|
using namespace std;
|
|
namespace HashMapSpace
|
|
{
|
|
class infosHasher
|
|
{
|
|
private:
|
|
long m_hashKey;
|
|
string m_key;
|
|
vector<int> m_value;
|
|
|
|
public:
|
|
infosHasher ( long cle, string cleTxt, vector<int> valueVecInt );
|
|
long getHashKey();
|
|
string getKey();
|
|
vector<int> getValue();
|
|
void setValue ( vector<int> value );
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __INFOSHASHER_H__
|