BusBoy
2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
api
serialize
json
JsonAlgorithmConfigSerializer.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_JSON_ALGORITHM_CONFIG_SERIALIZER_H__
18
#define __BUSBOY_JSON_ALGORITHM_CONFIG_SERIALIZER_H__
19
20
#include <string>
21
22
#include "
algorithm/algorithm_api.h
"
23
#include "
serialize/serialize_api.h
"
24
25
namespace
BUSBOY {
26
27
class
JsonAlgorithmConfigSerializerImpl;
28
29
class
JsonAlgorithmConfigSerializer
:
public
AlgorithmConfigSerializer
{
30
31
public
:
32
33
JsonAlgorithmConfigSerializer
();
34
35
~JsonAlgorithmConfigSerializer
();
36
37
std::string
serializeAlgorithmConfig
(
const
AlgorithmConfig
& config)
const
;
38
39
AlgorithmConfig
deserializeAlgorithmConfig
(
const
std::string& data)
const
;
40
41
std::string
getContentType
()
const
;
42
43
private
:
44
45
JsonAlgorithmConfigSerializerImpl
* m_impl;
46
47
// prevent calling these
48
JsonAlgorithmConfigSerializer
(
const
JsonAlgorithmConfigSerializer
& serializer);
49
JsonAlgorithmConfigSerializer
& operator=(
const
JsonAlgorithmConfigSerializer
& serializer);
50
51
52
};
53
54
}
55
#endif
56
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.