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

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