Public Types | Public Member Functions | Protected Attributes

mln::value::scalar_< T > Class Template Reference

#include <scalar.hh>

Inheritance diagram for mln::value::scalar_< T >:
Inheritance graph

List of all members.

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.
to_equiv () const
 Access to the scalar value.

Protected Attributes

val_

Detailed Description

template<typename T>
class mln::value::scalar_< T >

Definition at line 45 of file scalar.hh.


Member Typedef Documentation

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.

template<typename T>
typedef T mln::value::scalar_< T >::enc

Encoding associated type.

Definition at line 50 of file scalar.hh.

template<typename T>
typedef T mln::value::scalar_< T >::equiv

Equivalent associated type.

Definition at line 53 of file scalar.hh.

typedef scalar_< T > mln::Object< scalar_< T > >::exact_t [inherited]

Definition at line 173 of file object.hh.


Constructor & Destructor Documentation

template<typename T >
mln::value::scalar_< T >::scalar_ (  )  [inline]

Ctor.

Definition at line 107 of file scalar.hh.

template<typename T >
mln::value::scalar_< T >::scalar_ ( const T &  val  )  [inline, explicit]

Ctor.

Definition at line 113 of file scalar.hh.


Member Function Documentation

template<typename T >
T mln::value::scalar_< T >::to_equiv (  )  const [inline]

Member Data Documentation

template<typename T>
T mln::value::scalar_< T >::val_ [protected]

Definition at line 66 of file scalar.hh.

Referenced by mln::value::scalar_< T >::to_equiv().