HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SphinxInputJsonMessageManage.hpp
Go to the documentation of this file.
1
14
#ifndef SPHINX_INPUT_JSON_MESSAGE_MANAGE_HPP
15
#define SPHINX_INPUT_JSON_MESSAGE_MANAGE_HPP
16
17
#include "
JsonSerializable.hpp
"
18
19
namespace
HCE
20
{
21
namespace
sphinx
22
{
23
//-----------------------------------------------------------------------------
24
class
SphinxInputJsonMessageManage
:
public
IJsonSerializable
25
{
26
public
:
27
SphinxInputJsonMessageManage
(
const
std::string& json=
""
);
28
virtual
~SphinxInputJsonMessageManage
(
void
) {}
29
30
bool
serialize
(std::string& json);
31
bool
unserialize
(
const
std::string& json);
32
33
void
setCommandString
(
const
std::string& commandString_) {commandString=commandString_;}
34
std::string
getCommandString
(
void
)
const
{
return
commandString;}
35
36
void
setCommandOptionsString
(
const
std::string& commandOptionsString_) {commandOptionsString=commandOptionsString_;}
37
std::string
getCommandOptionsString
(
void
)
const
{
return
commandOptionsString;}
38
39
private
:
40
std::string commandString;
41
std::string commandOptionsString;
42
43
friend
std::istream&
operator>>
(std::istream& is,
SphinxInputJsonMessageManage
& messageManage);
44
friend
std::ostream&
operator<<
(std::ostream& os,
const
SphinxInputJsonMessageManage
& messageManage);
45
typedef
IJsonSerializable
inherited;
46
};
47
//-----------------------------------------------------------------------------
48
//-----------------------------------------------------------------------------
49
}
// end namespace sphinx
50
}
// end namespace HCE
51
52
#endif // SPHINX_INPUT_JSON_MESSAGE_MANAGE_HPP
sources
sphinx
src
SphinxInputJsonMessageManage.hpp
Generated on Mon Jan 13 2014 13:08:39 for HCE project C++ developers source code library by
1.8.1.2