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
DRCEResultDataSerializator.hpp
Go to the documentation of this file.
1 
14 #ifndef DRCE_RESULT_DATA_SERIALIZATOR_HPP
15 #define DRCE_RESULT_DATA_SERIALIZATOR_HPP
16 
17 #include "DRCEJsonMessageConst.hpp"
18 #include "JsonSerializable.hpp"
19 #include "DRCEResultData.hpp"
20 
21 namespace HCE
22 {
23 namespace drce
24 {
25 //-----------------------------------------------------------------------------
27 {
28 public:
29  explicit DRCEResultDataSerializator(DRCEResultData& resultData);
31 
32  bool serialize(std::string& json);
33  bool unserialize(const std::string& json);
34 
35 private:
36  DRCEResultData& resultData;
37 
38  typedef IJsonSerializable inherited;
39 };
40 //-----------------------------------------------------------------------------
41 //-----------------------------------------------------------------------------
42 } // namespace drce
43 } // namespace HCE
44 
45 #endif // DRCE_RESULT_DATA_SERIALIZATOR_HPP