hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SphinxResultTransformer.hpp
Go to the documentation of this file.
1 
15 #ifndef SPHINXRESULTTRANSFORMER_HPP_
16 #define SPHINXRESULTTRANSFORMER_HPP_
17 
19 
20 namespace HCE{
21 namespace sphinx{
22 namespace reduce_task
23 {
24 
26  public:
28  virtual ~SphinxResultTransformer();
29 
30  void extractWeightKeys(const Poco::SharedPtr<SphinxResultData> &sphinxResultData,
31  std::vector<std::pair<std::string, unsigned long long> > &extractedWeightKeys);
32 
33  private:
34  static void extractWeightKeyPaisFromResultData(
35  const Poco::SharedPtr<SphinxResultData> &sphinxResultData,
36  std::vector<std::pair<std::string, unsigned long long> > &extractedWeightKeys);
37  };
38 }
39 }
40 }
41 
42 #endif