RSC
0.9.0
|
This object presents the registered implementations in a form very similar to a STL container. More...
#include <Factory.h>
Public Member Functions | |
void | register_ (const KeyType &key, const CreateFunction &create_function_) |
void | unregister (const KeyType &key) |
Public Member Functions inherited from rsc::patterns::AssociativeProxy< ImplMap > | |
AssociativeProxy (ImplMap &container) | |
detail::force_const< typename pass_through::result_type > ::type | operator[] (const key_type &key) const |
pass_through::result_type | operator[] (const key_type &key) |
base_type::const_iterator | find (const key_type &key) const throw () |
base_type::iterator | find (const key_type &key) throw () |
Public Member Functions inherited from rsc::patterns::ContainerProxy< ImplMap, detail::pair_adapter< ImplMap::key_type, ImplMap::mapped_type, pass_through > > | |
ContainerProxy (ImplMap &container) | |
ContainerProxy (ImplMap &container, P1 p1) | |
ContainerProxy (ImplMap &container, P1 p1, P2 p2) | |
const_iterator | begin () const throw () |
iterator | begin () throw () |
const_iterator | end () const throw () |
iterator | end () throw () |
size_type | size () const throw () |
bool | empty () const throw () |
Private Types | |
typedef AssociativeProxy< ImplMap > | base_type |
Private Member Functions | |
ImplMapProxy (Factory< Key, Interface > &owner) |
Private Attributes | |
Factory< Key, Interface > & | owner |
Friends | |
class | Factory< Key, Interface > |
Additional Inherited Members | |
Public Types inherited from rsc::patterns::AssociativeProxy< ImplMap > | |
typedef ImplMap::key_type | key_type |
typedef boost::remove_reference < typename pass_through::result_type > ::type | mapped_type |
typedef detail::pair_adapter < typename ImplMap::key_type, typename ImplMap::mapped_type, pass_through > | base_accessor_type |
typedef ContainerProxy < ImplMap, base_accessor_type > | base_type |
Protected Types inherited from rsc::patterns::ContainerProxy< ImplMap, detail::pair_adapter< ImplMap::key_type, ImplMap::mapped_type, pass_through > > | |
typedef ImplMap | container_type |
typedef detail::pair_adapter < ImplMap::key_type, ImplMap::mapped_type, pass_through > | accessor_type |
Protected Attributes inherited from rsc::patterns::ContainerProxy< ImplMap, detail::pair_adapter< ImplMap::key_type, ImplMap::mapped_type, pass_through > > | |
container_type & | container |
accessor_type | accessor |
This object presents the registered implementations in a form very similar to a STL container.
In addition, implementations can be registered or unregistered using additional functions.
|
private |
|
private |
void rsc::patterns::Factory< Key, Interface >::ImplMapProxy::register_ | ( | const KeyType & | key, |
const CreateFunction & | create_function_ | ||
) |
void rsc::patterns::Factory< Key, Interface >::ImplMapProxy::unregister | ( | const KeyType & | key | ) |
NoSuchImpl |
|
friend |
|
private |