Milena (Olena)
User documentation 2.0a Id
|
Class for floating values restricted to the interval [0..1]. More...
#include <float01_f.hh>
Inherits mln::value::Floating< E >, and mln::value::internal::value_like_< V, C, N, E >.
Public Member Functions | |
float01_f () | |
Constructor without argument. | |
float01_f (float val) | |
Constructor from a float. | |
operator float () const | |
Conversion to a float. | |
float01_f & | operator= (const float val) |
Assignment from a float. | |
float | value () const |
Access to float value. |
Class for floating values restricted to the interval [0..1].
Definition at line 85 of file float01_f.hh.
mln::value::float01_f::float01_f | ( | ) | [inline] |
Constructor without argument.
Definition at line 116 of file float01_f.hh.
mln::value::float01_f::float01_f | ( | float | val | ) | [inline] |
Constructor from a float.
Definition at line 121 of file float01_f.hh.
mln::value::float01_f::operator float | ( | ) | const [inline] |
Conversion to a float.
Definition at line 146 of file float01_f.hh.
float01_f & mln::value::float01_f::operator= | ( | const float | val | ) | [inline] |
Assignment from a float.
Definition at line 137 of file float01_f.hh.
float mln::value::float01_f::value | ( | ) | const [inline] |
Access to float value.
Definition at line 130 of file float01_f.hh.