Public Member Functions

mln::util::site_pair< P > Class Template Reference
[Utilities]

A pair of sites. More...

#include <site_pair.hh>

Inheritance diagram for mln::util::site_pair< P >:
Inheritance graph

List of all members.

Public Member Functions

const P & first () const
 Return the first site.
const util::ord_pair< P > & pair () const
 Return the underlying pair.
const P & second () const
 Return the second site.

Detailed Description

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

A pair of sites.

It can be used as site.

Definition at line 52 of file site_pair.hh.


Member Function Documentation

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

Return the first site.

Definition at line 142 of file site_pair.hh.

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

Return the underlying pair.

Definition at line 158 of file site_pair.hh.

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

Return the second site.

Definition at line 150 of file site_pair.hh.