#include <graylevel_f.hh>
Inherits mln::value::Floating< mln::value::graylevel_f >, and mln::value::internal::value_like_< mln::value::float01_f, float01_f::enc, mln::value::internal::gray_f, mln::value::graylevel_f >.
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_f & | operator= (const graylevel< n > &rhs) |
Assigment with graylevel. | |
graylevel_f & | operator= (float val) |
Assigment with float. | |
graylevel_f & | operator= (const graylevel_f &rhs) |
Assigment. | |
float | value () const |
Access to std type. | |
graylevel_f (const mln::literal::black_t &) | |
Ctors with literals. | |
graylevel_f & | operator= (const mln::literal::black_t &) |
Assigment with literals. |
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.
mln::value::graylevel_f::graylevel_f | ( | const graylevel< n > & | rhs | ) | [inline] |
mln::value::graylevel_f::graylevel_f | ( | const mln::literal::black_t & | ) | [inline] |
Ctors with literals.
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.
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] |