$extrastylesheet
#include <mln/util/couple.hh>
Public Member Functions | |
| couple () | |
| couple (const T &val1, const U &val2) | |
| void | change_both (const T &first, const U &second) |
| void | change_first (const T &val) |
| void | change_second (const U &val) |
| const T & | first () const |
| T & | first () |
| const U & | second () const |
| U & | second () |
Public Types | |
| typedef Object< void > | category |
| typedef couple< T, U > | exact_t |
Definition of a couple.
Definition at line 48 of file util/couple.hh.
| mln::util::couple< T, U >::couple | ( | ) |
| mln::util::couple< T, U >::couple | ( | const T & | val1, |
| const U & | val2 | ||
| ) |
| void mln::util::couple< T, U >::change_both | ( | const T & | first, |
| const U & | second | ||
| ) |
Replace both members of the couple by val.
| void mln::util::couple< T, U >::change_first | ( | const T & | val | ) |
Replace the first member of the couple by val.
| void mln::util::couple< T, U >::change_second | ( | const U & | val | ) |
Replace the second member of the couple by val.
| const T& mln::util::couple< T, U >::first | ( | ) | const |
Get the first member of the couple.
| T& mln::util::couple< T, U >::first | ( | ) |
| const U& mln::util::couple< T, U >::second | ( | ) | const |
Get the second member of the couple.
| U& mln::util::couple< T, U >::second | ( | ) |
|
inherited |