|
ViennaGrid - The Vienna Grid Library
2.1.0
|
An accessor (fulfilling the accessor concept) for a container of interface similar to std::map<> More...
#include <accessor.hpp>
Public Types | |
| typedef AccessType | access_type |
| typedef value_type const * | const_pointer |
| typedef value_type const & | const_reference |
| typedef ContainerType | container_type |
| typedef ContainerType::value_type::first_type | key_type |
| typedef value_type * | pointer |
| typedef value_type & | reference |
| typedef ContainerType::value_type::second_type | value_type |
Public Member Functions | |
| reference | at (AccessType const &element) |
| const_reference | at (AccessType const &element) const |
| pointer | find (AccessType const &element) |
| const_pointer | find (AccessType const &element) const |
| bool | is_valid () const |
| reference | operator() (AccessType const &element) |
| const_reference | operator() (AccessType const &element) const |
| std_map_accessor () | |
| std_map_accessor (ContainerType &container_) | |
Protected Attributes | |
| ContainerType * | container |
| UnpackT | unpack |
An accessor (fulfilling the accessor concept) for a container of interface similar to std::map<>
| typedef AccessType access_type |
| typedef value_type const* const_pointer |
| typedef value_type const& const_reference |
| typedef ContainerType container_type |
| typedef ContainerType::value_type::first_type key_type |
| typedef value_type* pointer |
| typedef value_type& reference |
| typedef ContainerType::value_type::second_type value_type |
| std_map_accessor | ( | ) | [inline] |
| std_map_accessor | ( | ContainerType & | container_ | ) | [inline] |
| const_reference at | ( | AccessType const & | element | ) | const [inline] |
| const_pointer find | ( | AccessType const & | element | ) | const [inline] |
| bool is_valid | ( | ) | const [inline] |
| reference operator() | ( | AccessType const & | element | ) | [inline] |
| const_reference operator() | ( | AccessType const & | element | ) | const [inline] |
ContainerType* container [protected] |
UnpackT unpack [protected] |
1.7.6.1