$darkmode
BimapBase class for a pair of identical types, which will get derived further. More...
#include <bimap.hpp>
Public Types | |
| typedef Type1 | type1 |
| typedef Type2 | type2 |
| typedef boost::bimap< type1, type2 > | bm_type |
Public Types inherited from cloe::BimapBase2< Type1, Type2, Bimap< Type1, Type2 > > | |
| typedef BimapBase1< Type1, Type2, Bimap< Type1, Type2 > > | base |
| typedef base::bm_type | bm_type |
| typedef base::type1 | type1 |
| typedef base::type2 | type2 |
Public Types inherited from cloe::BimapBase1< Type1, Type2, CRTP > | |
| typedef Type1 | type1 |
| typedef Type2 | type2 |
| typedef boost::bimap< Type1, Type2 > | bm_type |
Friends | |
| template<typename Type3 , typename Type4 , typename CRTP2 > | |
| class | BimapBase2 |
| template<typename Type3 , typename Type4 , typename CRTP2 > | |
| class | BimapBase1 |
Additional Inherited Members | |
Static Public Member Functions inherited from cloe::BimapBase2< Type1, Type2, Bimap< Type1, Type2 > > | |
| static auto | beginImpl (const Type1 *=nullptr) -> decltype(base::beginLeft()) |
| Implementation of begin() for the left-map. | |
| static auto | beginImpl (const Type2 *=nullptr) -> decltype(base::beginRight()) |
| Implementation of begin() for the right-map. | |
| static auto | begin () -> decltype(beginImpl((T *) nullptr)) |
| Derivate of map::begin() | |
| static auto | endImpl (const Type1 *=nullptr) -> decltype(base::endLeft()) |
| Implementation of end() for the left-map. | |
| static auto | endImpl (const Type2 *=nullptr) -> decltype(base::endRight()) |
| Implementation of end() for the right-map. | |
| static auto | end () -> decltype(endImpl((T *) nullptr)) |
| map::end() | |
| static auto | findImpl (const type1 &item) -> decltype(base::findLeft(item)) |
| Implementation of find() for left-map. | |
| static auto | findImpl (const type2 &item) -> decltype(base::findRight(item)) |
| Implementation of find() for right-map. | |
| static auto | find (const T &item) -> decltype(findImpl(item)) |
| map::find() | |
Static Public Member Functions inherited from cloe::BimapBase1< Type1, Type2, CRTP > | |
| static const bm_type::left_map & | left () |
| static const bm_type::right_map & | right () |
| static bm_type::left_const_iterator | beginLeft () |
| static bm_type::left_const_iterator | endLeft () |
| static bm_type::left_const_iterator | findLeft (const type1 &rhs) |
| static bm_type::right_const_iterator | beginRight () |
| static bm_type::right_const_iterator | endRight () |
| static bm_type::right_const_iterator | findRight (const type2 &rhs) |
BimapBase class for a pair of identical types, which will get derived further.
Bimap class for a pair of identical types