RSC  0.16.0
Factory.h File Reference
#include <stdexcept>
#include <utility>
#include <algorithm>
#include <map>
#include <boost/function.hpp>
#include <boost/format.hpp>
#include "../runtime/TypeStringTools.h"
#include "../runtime/Properties.h"
#include "Singleton.h"
#include "NoSuchImpl.h"
#include "ConstructError.h"
#include "AssociativeProxy.h"
Include dependency graph for Factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rsc::patterns::FactoryBase< Key >
 An interface-independent factory interface, mainly used as a base class for more specific factories. More...
 
class  rsc::patterns::FactoryBase< Key >::ImplMapProxy
 
class  rsc::patterns::Factory< Key, Interface >
 Objects of this class manage a family of named implementations of a particular interface. More...
 
class  rsc::patterns::Factory< Key, Interface >::ImplMapProxy
 This object presents the registered implementations in a form very similar to a STL container. More...
 
class  rsc::patterns::SingletonFactory< Key, Interface >
 A factory of which at most one instance exists at any time. More...
 

Namespaces

 rsc
 
 rsc::patterns
 

Functions

template<typename Ch , typename Tr , typename Key , typename Interface >
std::basic_ostream< Ch, Tr > & rsc::patterns::operator<< (std::basic_ostream< Ch, Tr > &stream, const Factory< Key, Interface > &factory)