alglib::bimap::bimap< type1, type2 > Class Template Reference
#include <bimap.h>
Public Types | |
typedef type1 | domain_type |
typedef type2 | codomain_type |
typedef boost::transform_iterator< select1st< std::pair< domain_type, int > >, typename std::map< domain_type, int >::const_iterator > | domain_iterator |
typedef boost::transform_iterator< select1st< std::pair< codomain_type, int > >, typename std::map< codomain_type, int >::const_iterator > | codomain_iterator |
Public Member Functions | |
bimap () | |
bimap (const bimap &)=default | |
bimap (bimap &&) | |
void | insert (const type1 &elt1, const type2 &elt2) |
const codomain_type & | get_image (const domain_type &elt) const |
const domain_type & | get_preimage (const codomain_type &elt) const |
void | remove_domain_elt (const domain_type &elt) |
void | remove_codomain_elt (const codomain_type &elt) |
domain_iterator | domain_begin () const |
domain_iterator | domain_end () const |
codomain_iterator | codomain_begin () const |
codomain_iterator | codomain_end () const |
Member Typedef Documentation
template<typename type1, typename type2>
typedef boost::transform_iterator<select1st<std::pair<codomain_type, int> >, typename std::map<codomain_type, int>::const_iterator> alglib::bimap::bimap< type1, type2 >::codomain_iterator |
template<typename type1, typename type2>
typedef type2 alglib::bimap::bimap< type1, type2 >::codomain_type |
template<typename type1, typename type2>
typedef boost::transform_iterator<select1st<std::pair<domain_type, int> >, typename std::map<domain_type, int>::const_iterator> alglib::bimap::bimap< type1, type2 >::domain_iterator |
template<typename type1, typename type2>
typedef type1 alglib::bimap::bimap< type1, type2 >::domain_type |
Constructor & Destructor Documentation
template<typename type1 , typename type2 >
alglib::bimap::bimap< type1, type2 >::bimap | ( | ) |
template<typename type1, typename type2>
|
default |
template<typename type1 , typename type2 >
alglib::bimap::bimap< type1, type2 >::bimap | ( | bimap< type1, type2 > && | b | ) |
Member Function Documentation
template<typename type1 , typename type2 >
bimap< type1, type2 >::codomain_iterator alglib::bimap::bimap< type1, type2 >::codomain_begin | ( | ) | const |
template<typename type1 , typename type2 >
bimap< type1, type2 >::codomain_iterator alglib::bimap::bimap< type1, type2 >::codomain_end | ( | ) | const |
template<typename type1 , typename type2 >
bimap< type1, type2 >::domain_iterator alglib::bimap::bimap< type1, type2 >::domain_begin | ( | ) | const |
template<typename type1 , typename type2 >
bimap< type1, type2 >::domain_iterator alglib::bimap::bimap< type1, type2 >::domain_end | ( | ) | const |
template<typename type1 , typename type2 >
const type2 & alglib::bimap::bimap< type1, type2 >::get_image | ( | const domain_type & | elt | ) | const |
template<typename type1 , typename type2 >
const type1 & alglib::bimap::bimap< type1, type2 >::get_preimage | ( | const codomain_type & | elt | ) | const |
template<typename type1, typename type2>
void alglib::bimap::bimap< type1, type2 >::insert | ( | const type1 & | elt1, |
const type2 & | elt2 | ||
) |
template<typename type1 , typename type2 >
void alglib::bimap::bimap< type1, type2 >::remove_codomain_elt | ( | const codomain_type & | elt | ) |
template<typename type1 , typename type2 >
void alglib::bimap::bimap< type1, type2 >::remove_domain_elt | ( | const domain_type & | elt | ) |
The documentation for this class was generated from the following file:
- alglib/bimap/bimap.h