#include <scalar.hh>
Public Types | |
typedef Scalar< void > | category |
typedef T | enc |
Encoding associated type. | |
typedef T | equiv |
Equivalent associated type. | |
typedef scalar_< T > | exact_t |
Public Member Functions | |
scalar_ () | |
Ctor. | |
scalar_ (const T &val) | |
Ctor. | |
T | to_equiv () const |
Access to the scalar value. | |
Protected Attributes | |
T | val_ |
Definition at line 45 of file scalar.hh.
typedef Scalar<void> mln::value::Scalar< scalar_< T > >::category [inherited] |
Reimplemented from mln::Value< scalar_< T > >.
Definition at line 57 of file concept/scalar.hh.
typedef T mln::value::scalar_< T >::enc |
typedef T mln::value::scalar_< T >::equiv |
typedef scalar_< T > mln::Object< scalar_< T > >::exact_t [inherited] |
mln::value::scalar_< T >::scalar_ | ( | ) | [inline] |
mln::value::scalar_< T >::scalar_ | ( | const T & | val | ) | [inline, explicit] |
T mln::value::scalar_< T >::to_equiv | ( | ) | const [inline] |
Access to the scalar value.
Definition at line 121 of file scalar.hh.
References mln::value::scalar_< T >::val_.
Referenced by mln::value::qt::operator*(), mln::value::operator*(), mln::metal::operator*(), mln::algebra::operator*(), mln::operator*(), mln::value::qt::operator/(), mln::value::operator/(), mln::metal::operator/(), mln::algebra::operator/(), and mln::operator/().
T mln::value::scalar_< T >::val_ [protected] |
Definition at line 66 of file scalar.hh.
Referenced by mln::value::scalar_< T >::to_equiv().