BusBoy  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
BUSBOY::SerializerRegistry Class Reference

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)
 
SerializerFactorygetSerializerFactory (const std::string &contentType) const
 
 ~SerializerRegistry ()
 

Static Public Member Functions

static SerializerRegistryinstance ()
 

Detailed Description

Singleton that holds a mapping of content types to serializers that can handle those content types.

Constructor & Destructor Documentation

BUSBOY::SerializerRegistry::~SerializerRegistry ( )

Member Function Documentation

SerializerFactory * BUSBOY::SerializerRegistry::getSerializerFactory ( const std::string &  contentType) const
SerializerRegistry & BUSBOY::SerializerRegistry::instance ( )
static
void BUSBOY::SerializerRegistry::registerSerializerFactory ( const std::string &  contentType,
SerializerFactory factory 
)

The documentation for this class was generated from the following files:

Copyright 2014 Google Inc. All rights reserved.