$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::value::float01_f Struct Reference

#include <mln/value/float01_f.hh>

Public Member Functions

 float01_f ()
 float01_f (float val)
C & handle_ ()
 operator float () const
float01_foperator= (const float val)
const C & to_enc () const
to_equiv () const
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

Detailed Description

Class for floating values restricted to the interval [0..1].

Definition at line 85 of file float01_f.hh.

Constructor & Destructor Documentation

mln::value::float01_f::float01_f ( )

Constructor without argument.

mln::value::float01_f::float01_f ( float  val)

Constructor from a float.

Member Function Documentation

template<typename V, typename C, typename N, typename E>
C& mln::value::internal::value_like_< V, C, N, E >::handle_ ( )
inlineinherited

Definition at line 81 of file value_like.hh.

mln::value::float01_f::operator float ( ) const

Conversion to a float.

float01_f& mln::value::float01_f::operator= ( const float  val)

Assignment from a float.

template<typename V, typename C, typename N, typename E>
const C& mln::value::internal::value_like_< V, C, N, E >::to_enc ( ) const
inherited

Explicit conversion towards encoding type.

template<typename V, typename C, typename N, typename E>
V mln::value::internal::value_like_< V, C, N, E >::to_equiv ( ) const
inherited

Explicit conversion towards equivalent type.

template<typename V, typename C, typename N, typename E>
N mln::value::internal::value_like_< V, C, N, E >::to_interop ( ) const
inherited

Explicit conversion towards interoperation type.

float mln::value::float01_f::value ( ) const

Access to float value.

Member Data Documentation

template<typename V, typename C, typename N, typename E>
enc mln::value::internal::value_like_< V, C, N, E >::v_
protectedinherited

Definition at line 84 of file value_like.hh.

Member Typedef Documentation

typedef Floating<void> mln::value::Floating< float01_f >::category
inherited

Definition at line 64 of file floating.hh.

template<typename V, typename C, typename N, typename E>
typedef C mln::value::internal::value_like_< V, C, N, E >::enc
inherited

Encoding associated type.

Definition at line 65 of file value_like.hh.

template<typename V, typename C, typename N, typename E>
typedef V mln::value::internal::value_like_< V, C, N, E >::equiv
inherited

Equivalent associated type.

Definition at line 62 of file value_like.hh.

typedef float01_f mln::Object< float01_f >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename V, typename C, typename N, typename E>
typedef N mln::value::internal::value_like_< V, C, N, E >::interop
inherited

Interoperation associated type.

Definition at line 68 of file value_like.hh.