BusBoy
2
|
Singleton that holds a mapping of content types to serializers that can handle those content types. More...
#include <SerializerRegistry.h>
Public Member Functions | |
void | registerSerializerFactory (const std::string &contentType, SerializerFactory *factory) |
SerializerFactory * | getSerializerFactory (const std::string &contentType) const |
~SerializerRegistry () | |
Static Public Member Functions | |
static SerializerRegistry & | instance () |
Singleton that holds a mapping of content types to serializers that can handle those content types.
BUSBOY::SerializerRegistry::~SerializerRegistry | ( | ) |
SerializerFactory * BUSBOY::SerializerRegistry::getSerializerFactory | ( | const std::string & | contentType | ) | const |
|
static |
void BUSBOY::SerializerRegistry::registerSerializerFactory | ( | const std::string & | contentType, |
SerializerFactory * | factory | ||
) |
Copyright 2014 Google Inc. All rights reserved.