hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
DRCEOutputJsonMessage.hpp
Go to the documentation of this file.
1
14
#ifndef DRCE_OUTPUT_JSON_MESSAGE_HPP
15
#define DRCE_OUTPUT_JSON_MESSAGE_HPP
16
17
#include <iostream>
18
19
#include "
JsonSerializable.hpp
"
20
#include "
DRCEResultData.hpp
"
21
#include "
DRCEResultDataSerializator.hpp
"
22
23
namespace
HCE
24
{
25
namespace
drce
26
{
27
//-----------------------------------------------------------------------------
28
class
DRCEOutputJsonMessage
:
public
IJsonSerializable
29
{
30
public
:
31
explicit
DRCEOutputJsonMessage
(
const
std::string& json=
""
);
32
virtual
~DRCEOutputJsonMessage
(
void
) {}
33
34
bool
serialize
(std::string& json);
35
bool
unserialize
(
const
std::string& json);
36
37
void
clear
(
void
);
38
39
void
setResultData
(
const
DRCEResultData
& rhs);
40
void
setResultData
(
DRCEResultData
&& rhs);
41
const
DRCEResultData
&
getResultData
(
void
)
const
{
return
resultData;}
42
43
private
:
44
DRCEResultData
resultData;
45
46
private
:
47
friend
std::istream&
operator>>
(std::istream& is,
DRCEOutputJsonMessage
& outputJsonMessage);
48
friend
std::ostream&
operator<<
(std::ostream& os,
const
DRCEOutputJsonMessage
& outputJsonMessage);
49
typedef
IJsonSerializable
inherited;
50
};
51
//-----------------------------------------------------------------------------
52
//-----------------------------------------------------------------------------
53
}
// namespace drce
54
}
// namespace HCE
55
56
#endif // DRCE_OUTPUT_JSON_MESSAGE_HPP
sources
utils
DRCE
src
DRCEOutputJsonMessage.hpp
Generated on Tue Jun 30 2015 19:42:11 for hce-node application by
1.8.1.2