$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::util::site_pair< P > Class Template Reference

#include <mln/util/site_pair.hh>

Public Member Functions

 site_pair ()
 site_pair (const P &first, const P &second)
const P & first () const
const util::ord_pair< P > & pair () const
const P & second () const

Public Types

typedef Object< void > category
typedef P::coord coord
typedef site_pair< P > exact_t

Detailed Description

template<typename P>
class mln::util::site_pair< P >

A pair of sites.

It can be used as site.

Definition at line 53 of file site_pair.hh.

Constructor & Destructor Documentation

template<typename P >
mln::util::site_pair< P >::site_pair ( )
template<typename P >
mln::util::site_pair< P >::site_pair ( const P &  first,
const P &  second 
)

Member Function Documentation

template<typename P >
const P& mln::util::site_pair< P >::first ( ) const

Return the first site.

template<typename P >
const util::ord_pair<P>& mln::util::site_pair< P >::pair ( ) const

Return the underlying pair.

template<typename P >
const P& mln::util::site_pair< P >::second ( ) const

Return the second site.

Member Typedef Documentation

typedef Object<void> mln::Object< site_pair< P > >::category
inherited

Definition at line 106 of file object.hh.

template<typename P >
typedef P ::coord mln::util::site_pair< P >::coord

Definition at line 58 of file site_pair.hh.

typedef site_pair< P > mln::Object< site_pair< P > >::exact_t
inherited

Definition at line 105 of file object.hh.