|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Right-map view with find/at helpers. More...
#include <BiMap.h>

Public Member Functions | |
| right_view (right_map &m) | |
| Construct a right view from a map reference. | |
| right_map::iterator | find (const Right &key) const |
Find iterator for key in the right map. | |
| right_map::iterator | end () const |
| End iterator for the right map. | |
| const Left & | at (const Right &key) const |
| Get mapped value by key (throws if missing). | |
Public Attributes | |
| right_map & | map_ |
Right-map view with find/at helpers.
|
inline |
Get mapped value by key (throws if missing).
| key | Input: right key. |
Definition at line 85 of file BiMap.h.
References BiMap< Left, Right >::right_view::map_.
|
inline |
End iterator for the right map.
Definition at line 81 of file BiMap.h.
References BiMap< Left, Right >::right_view::map_.
Referenced by TEST_F().
|
inline |
Find iterator for key in the right map.
| key | Input: right key. |
end(). Definition at line 78 of file BiMap.h.
References BiMap< Left, Right >::right_view::map_.
Referenced by TEST_F().
Definition at line 71 of file BiMap.h.
Referenced by BiMap< Left, Right >::right_view::at(), BiMap< Left, Right >::right_view::end(), and BiMap< Left, Right >::right_view::find().