mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
3ef02eb7e6
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4146 1f5c12ca-751b-0410-a591-d2e778427230
31 lines
484 B
C++
31 lines
484 B
C++
#ifndef __INFOSHASHER_H__
|
|
#define __INFOSHASHER_H__
|
|
#include <string>
|
|
// #include <ext/hash_map>
|
|
#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 |