HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SphinxResultJSONConvertorIf.hpp
Go to the documentation of this file.
1 
16 #ifndef SPHINXRESULTJSONCONVERTORIF_HPP_
17 #define SPHINXRESULTJSONCONVERTORIF_HPP_
18 
19 #include "SphinxResultData.hpp"
20 #include <Poco/SharedPtr.h>
21 #include <string>
22 
23 namespace HCE
24 {
25 namespace sphinx
26 {
27 namespace reduce_task
28 {
29 
31 public:
33  virtual Poco::SharedPtr<SphinxResultData>convertToSphinxResultDataFrom(const std::string& json) = 0;
34  virtual std::string convertToJSONFrom(const Poco::SharedPtr<SphinxResultData>& sphinxResultData) = 0;
35 };
36 }
37 }
38 }
39 
40 #endif