Namespaces | Functions

mln::opt Namespace Reference

Namespace of optional routines. More...

Namespaces

namespace  impl
 

Implementation namespace of opt namespace.


Functions

template<typename I >
I::rvalue at (const Image< I > &ima, def::coord ind)
 One dimension Read-only access to the ima value located at (ind).
template<typename I >
I::lvalue at (Image< I > &ima, def::coord ind)
 Read-write access to the ima value located at (ind).
template<typename I >
I::lvalue at (Image< I > &ima, def::coord row, def::coord col)
 Read-write access to the ima value located at (row, col).
template<typename I >
I::rvalue at (const Image< I > &ima, def::coord sli, def::coord row, def::coord col)
 Three dimensions Read-only access to the ima value located at (sli, row, col).
template<typename I >
I::rvalue at (const Image< I > &ima, def::coord row, def::coord col)
 Two dimensions Read-only access to the ima value located at (row, col).
template<typename I >
I::lvalue at (Image< I > &ima, def::coord sli, def::coord row, def::coord col)
 Read-write access to the ima value located at (sli, row, col).
template<typename I >
I::lvalue element (Image< I > &ima, unsigned index)
template<typename I >
I::rvalue element (const Image< I > &ima, unsigned index)
template<typename I >
unsigned nelements (const Image< I > &ima)
template<typename I >
I::rvalue value (const Image< I > &ima)
template<typename I >
I::lvalue value (Image< I > &ima)

Detailed Description

Namespace of optional routines.


Function Documentation

template<typename I >
I::rvalue mln::opt::at ( const Image< I > &  ima,
def::coord  ind 
) [inline]
template<typename I >
I::lvalue mln::opt::at ( Image< I > &  ima,
def::coord  ind 
)

Read-write access to the ima value located at (ind).

Definition at line 160 of file at.hh.

References mln::opt::impl::at_1d_impl().

template<typename I >
I::lvalue mln::opt::at ( Image< I > &  ima,
def::coord  row,
def::coord  col 
)

Read-write access to the ima value located at (row, col).

Definition at line 245 of file at.hh.

References mln::opt::impl::at_2d_impl().

template<typename I >
I::rvalue mln::opt::at ( const Image< I > &  ima,
def::coord  sli,
def::coord  row,
def::coord  col 
) [inline]

Three dimensions Read-only access to the ima value located at (sli, row, col).

Definition at line 320 of file at.hh.

References mln::opt::impl::at_3d_impl().

template<typename I >
I::rvalue mln::opt::at ( const Image< I > &  ima,
def::coord  row,
def::coord  col 
) [inline]

Two dimensions Read-only access to the ima value located at (row, col).

Definition at line 236 of file at.hh.

References mln::opt::impl::at_2d_impl().

template<typename I >
I::lvalue mln::opt::at ( Image< I > &  ima,
def::coord  sli,
def::coord  row,
def::coord  col 
)

Read-write access to the ima value located at (sli, row, col).

Definition at line 330 of file at.hh.

References mln::opt::impl::at_3d_impl().

template<typename I >
I::lvalue mln::opt::element ( Image< I > &  ima,
unsigned  index 
) [inline]

Definition at line 142 of file element.hh.

References mln::opt::impl::element_impl().

template<typename I >
I::rvalue mln::opt::element ( const Image< I > &  ima,
unsigned  index 
) [inline]
template<typename I >
unsigned mln::opt::nelements ( const Image< I > &  ima  )  [inline]
template<typename I >
I::rvalue mln::opt::value ( const Image< I > &  ima  )  [inline]
template<typename I >
I::lvalue mln::opt::value ( Image< I > &  ima  )  [inline]

Definition at line 106 of file opt/value.hh.

References mln::opt::impl::value_impl().