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
SerializerRegistry.h
Go to the documentation of this file.
1
17
#ifndef __BUSBOY_SERIALIZER_REGISTRY_H__
18
#define __BUSBOY_SERIALIZER_REGISTRY_H__
19
20
#include <string>
21
#include "
SerializerFactory.h
"
22
23
namespace
BUSBOY {
24
25
class
SerializerRegistryImpl;
26
31
class
SerializerRegistry
{
32
33
public
:
34
35
static
SerializerRegistry
&
instance
();
36
37
void
registerSerializerFactory
(
const
std::string& contentType,
SerializerFactory
* factory);
38
39
SerializerFactory
*
getSerializerFactory
(
const
std::string& contentType)
const
;
40
41
~SerializerRegistry
();
42
43
private
:
44
45
SerializerRegistryImpl
* m_impl;
46
47
SerializerRegistry
();
48
SerializerRegistry
(
const
SerializerRegistry
& reg);
49
SerializerRegistry
& operator=(
const
SerializerRegistry
& reg);
50
51
};
52
53
}
54
55
#endif
Tue Nov 11 2014 23:19:41
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.