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
JsonKeyspaceSerializer.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_JSON_KEYSPACE_SERIALIZER_H__
18
#define __BUSBOY_JSON_KEYSPACE_SERIALIZER_H__
19
20
#include <string>
21
22
#include "
keys/keys_api.h
"
23
#include "
serialize/serialize_api.h
"
24
25
namespace
BUSBOY {
26
27
class
JsonKeyspaceSerializerImpl;
28
29
class
JsonKeyspaceSerializer
:
public
KeyspaceSerializer
{
30
31
public
:
32
33
JsonKeyspaceSerializer
();
34
35
~JsonKeyspaceSerializer
();
36
37
std::string
serializeKeyspace
(
const
Keyspace
& keyspace)
const
;
38
39
Keyspace
deserializeKeyspace
(
const
std::string& data)
const
;
40
41
std::string
getContentType
()
const
;
42
43
private
:
44
45
JsonKeyspaceSerializerImpl
* m_impl;
46
47
// prevent calling these
48
JsonKeyspaceSerializer
(
const
JsonKeyspaceSerializer
& serializer);
49
JsonKeyspaceSerializer
& operator=(
const
JsonKeyspaceSerializer
& 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.