$extrastylesheet
#include <mln/value/float01_f.hh>
Public Member Functions | |
float01_f () | |
float01_f (float val) | |
C & | handle_ () |
operator float () const | |
float01_f & | operator= (const float val) |
const C & | to_enc () const |
V | to_equiv () const |
N | to_interop () const |
float | value () const |
Protected Attributes | |
enc | v_ |
Public Types | |
typedef Floating< void > | category |
typedef C | enc |
typedef V | equiv |
typedef float01_f | exact_t |
typedef N | interop |
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 | ( | ) |
Constructor without argument.
mln::value::float01_f::float01_f | ( | float | val | ) |
Constructor from a float.
|
inlineinherited |
Definition at line 81 of file value_like.hh.
mln::value::float01_f::operator float | ( | ) | const |
Conversion to a float.
|
inherited |
Explicit conversion towards encoding type.
|
inherited |
Explicit conversion towards equivalent type.
|
inherited |
Explicit conversion towards interoperation type.
float mln::value::float01_f::value | ( | ) | const |
Access to float value.
|
protectedinherited |
Definition at line 84 of file value_like.hh.
|
inherited |
Definition at line 64 of file floating.hh.
|
inherited |
Encoding associated type.
Definition at line 65 of file value_like.hh.
|
inherited |
Equivalent associated type.
Definition at line 62 of file value_like.hh.
|
inherited |
|
inherited |
Interoperation associated type.
Definition at line 68 of file value_like.hh.