RSC
0.16.0
|
#include <AssociativeProxy.h>
Public Types | |
typedef Container::key_type | key_type |
typedef Container::mapped_type | mapped_type |
typedef pass_through | base_accessor_type |
typedef ContainerProxy< Container, pass_through > | base_type |
Public Types inherited from rsc::patterns::ContainerProxy< Container, pass_through > | |
typedef Container::size_type | size_type |
typedef Container::value_type | value_type |
typedef Container::pointer | pointer |
typedef Container::const_iterator | const_iterator |
typedef Container::iterator | iterator |
typedef Container::const_reference | const_reference |
typedef Container::reference | reference |
typedef Container::difference_type | difference_type |
Public Member Functions | |
AssociativeProxy (Container &container) | |
detail::force_const< mapped_type >::type & | operator[] (const key_type &key) const |
mapped_type & | operator[] (const key_type &key) |
ContainerProxy< Container, pass_through >::const_iterator | find (const key_type &key) const throw () |
ContainerProxy< Container, pass_through >::iterator | find (const key_type &key) throw () |
Public Member Functions inherited from rsc::patterns::ContainerProxy< Container, pass_through > | |
ContainerProxy (Container &container) | |
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 ContainerProxy< Container, pass_through > | base |
Additional Inherited Members | |
Protected Types inherited from rsc::patterns::ContainerProxy< Container, pass_through > | |
typedef Container | container_type |
typedef pass_through | accessor_type |
Protected Attributes inherited from rsc::patterns::ContainerProxy< Container, pass_through > | |
container_type & | container |
Definition at line 107 of file AssociativeProxy.h.
|
private |
Definition at line 136 of file AssociativeProxy.h.
typedef pass_through rsc::patterns::AssociativeProxy< Container, pass_through >::base_accessor_type |
Definition at line 113 of file AssociativeProxy.h.
typedef ContainerProxy<Container, pass_through> rsc::patterns::AssociativeProxy< Container, pass_through >::base_type |
Definition at line 114 of file AssociativeProxy.h.
typedef Container::key_type rsc::patterns::AssociativeProxy< Container, pass_through >::key_type |
Definition at line 110 of file AssociativeProxy.h.
typedef Container::mapped_type rsc::patterns::AssociativeProxy< Container, pass_through >::mapped_type |
Definition at line 111 of file AssociativeProxy.h.
rsc::patterns::AssociativeProxy< Container, pass_through >::AssociativeProxy | ( | Container & | container | ) |
Definition at line 173 of file AssociativeProxy.h.
ContainerProxy< Container, pass_through >::const_iterator rsc::patterns::AssociativeProxy< Container, pass_through >::find | ( | const key_type & | key | ) | const |
throw | ( | ||||
) |
Definition at line 205 of file AssociativeProxy.h.
References rsc::patterns::ContainerProxy< Container, Accessor >::container.
ContainerProxy< Container, pass_through >::iterator rsc::patterns::AssociativeProxy< Container, pass_through >::find | ( | const key_type & | key | ) | |
throw | ( | ||||
) |
Definition at line 211 of file AssociativeProxy.h.
detail::force_const< typename AssociativeProxy< Container, pass_through >::mapped_type >::type & rsc::patterns::AssociativeProxy< Container, pass_through >::operator[] | ( | const key_type & | key | ) | const |
NoSuchKey |
Definition at line 181 of file AssociativeProxy.h.
References rsc::patterns::ContainerProxy< Container, Accessor >::container, rsc::patterns::ContainerProxy< Container, detail::pair_adapter< Container::key_type, Container::mapped_type, Accessor > >::end(), and rsc::patterns::AssociativeProxy< Container, Accessor >::find().
AssociativeProxy< Container, pass_through >::mapped_type & rsc::patterns::AssociativeProxy< Container, pass_through >::operator[] | ( | const key_type & | key | ) |
NoSuchKey |
Definition at line 193 of file AssociativeProxy.h.
References rsc::patterns::ContainerProxy< Container, Accessor >::container, rsc::patterns::ContainerProxy< Container, detail::pair_adapter< Container::key_type, Container::mapped_type, Accessor > >::end(), and rsc::patterns::AssociativeProxy< Container, Accessor >::find().