mln::value::graylevel_f Struct Reference

General gray-level class on n bits. More...

#include <graylevel_f.hh>

Inherits mln::value::Floating< graylevel_f >, and value_like_< float01_f,float01_f::enc, internal::gray_f,graylevel_f >.

List of all members.

Public Member Functions

template<unsigned n>
 graylevel_f (const graylevel< n > &rhs)
 Constructor from graylevel.
 graylevel_f (float val)
 Constructor from float.
 graylevel_f (const graylevel_f &rhs)
 Copy constructor.
 graylevel_f ()
 Constructor without argument.
template<unsigned n>
 operator graylevel< n > () const
 Conversion to graylevel<n>.
template<unsigned n>
graylevel_foperator= (const graylevel< n > &rhs)
 Assigment with graylevel.
graylevel_foperator= (float val)
 Assigment with float.
graylevel_foperator= (const graylevel_f &rhs)
 Assigment.
float value () const
 Access to std type.
 graylevel_f (const mln::literal::black_t &)
 Ctors with literals.
graylevel_foperator= (const mln::literal::black_t &)
 Assigment with literals.


Detailed Description

General gray-level class on n bits.

Constructor & Destructor Documentation

mln::value::graylevel_f::graylevel_f (  )  [inline]

Constructor without argument.

mln::value::graylevel_f::graylevel_f ( const graylevel_f rhs  )  [inline]

Copy constructor.

mln::value::graylevel_f::graylevel_f ( float  val  )  [inline]

Constructor from float.

template<unsigned n>
mln::value::graylevel_f::graylevel_f ( const graylevel< n > &  rhs  )  [inline]

Constructor from graylevel.

References mln::value::graylevel< n >::to_float().

mln::value::graylevel_f::graylevel_f ( const mln::literal::black_t  )  [inline]

Ctors with literals.


Member Function Documentation

template<unsigned n>
mln::value::graylevel_f::operator graylevel< n > (  )  const [inline]

Conversion to graylevel<n>.

graylevel_f & mln::value::graylevel_f::operator= ( const mln::literal::black_t  )  [inline]

Assigment with literals.

template<unsigned n>
graylevel_f & mln::value::graylevel_f::operator= ( const graylevel< n > &  rhs  )  [inline]

graylevel_f & mln::value::graylevel_f::operator= ( float  val  )  [inline]

Assigment with float.

graylevel_f & mln::value::graylevel_f::operator= ( const graylevel_f rhs  )  [inline]

Assigment.

float mln::value::graylevel_f::value (  )  const [inline]

Access to std type.

Referenced by mln::value::operator<<().


Generated on Tue Jul 14 16:33:20 2009 for Milena (Olena) by  doxygen 1.5.9