Milena (Olena)  User documentation 2.0a Id
mln::value::graylevel_f Struct Reference

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

#include <graylevel_f.hh>

Inherits mln::value::Floating< E >, and mln::value::internal::value_like_< V, C, N, E >.

List of all members.

Public Member Functions

 graylevel_f ()
 Constructor without argument.
 graylevel_f (const graylevel_f &rhs)
 Copy constructor.
 graylevel_f (float val)
 Constructor from float.
template<unsigned n>
 graylevel_f (const graylevel< n > &rhs)
 Constructor from graylevel.
template<unsigned n>
 operator graylevel< n > () const
 Conversion to graylevel<n>.
graylevel_foperator= (const graylevel_f &rhs)
 Assigment.
graylevel_foperator= (float val)
 Assigment with float.
template<unsigned n>
graylevel_foperator= (const graylevel< n > &rhs)
 Assigment with graylevel.
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.

Definition at line 194 of file graylevel_f.hh.


Constructor & Destructor Documentation

Constructor without argument.

Definition at line 342 of file graylevel_f.hh.

Copy constructor.

Definition at line 384 of file graylevel_f.hh.

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

Constructor from float.

Definition at line 348 of file graylevel_f.hh.

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

Constructor from graylevel.

Definition at line 366 of file graylevel_f.hh.

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

Ctors with literals.

Definition at line 401 of file graylevel_f.hh.


Member Function Documentation

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

Conversion to graylevel<n>.

Definition at line 444 of file graylevel_f.hh.

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

Assigment.

Definition at line 392 of file graylevel_f.hh.

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

Assigment with float.

Definition at line 357 of file graylevel_f.hh.

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

Assigment with graylevel.

Definition at line 375 of file graylevel_f.hh.

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

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

Assigment with literals.

Definition at line 408 of file graylevel_f.hh.

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

Access to std type.

Definition at line 451 of file graylevel_f.hh.

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

 All Classes Namespaces Functions Variables Typedefs Enumerator