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

#include <mln/value/int_s8.hh>

Public Member Functions

 int_s8 ()
 int_s8 (int i)
 int_s8 (const mln::literal::zero_t &)
 int_s8 (const mln::literal::one_t &)
C & handle_ ()
 operator int () const
const C & to_enc () const
to_equiv () const
to_interop () const

Static Public Attributes

static const int_s< n > one
static const int_s< n > zero

Protected Attributes

enc v_

Public Types

typedef Integer< void > category
typedef C enc
typedef V equiv
typedef int_s< n > exact_t
typedef N interop

Detailed Description

Alias for signed 8-bit integers.

Definition at line 8 of file int_s8.dox.

Constructor & Destructor Documentation

mln::value::int_s8::int_s8 ( )

Constructor without argument.

mln::value::int_s8::int_s8 ( int  i)

Constructor from an integer.

mln::value::int_s8::int_s8 ( const mln::literal::zero_t )

Constructors with literals. Set to 0.

mln::value::int_s8::int_s8 ( const mln::literal::one_t )

Constructors with literals. Set to 1.

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::int_s< n >::operator int ( ) const
inherited

Conversion to an integer.

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.

Member Data Documentation

const int_s<n> mln::value::int_s< n >::one
staticinherited

Unit value.

Definition at line 152 of file int_s.hh.

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.

const int_s<n> mln::value::int_s< n >::zero
staticinherited

Zero value.

Definition at line 149 of file int_s.hh.

Member Typedef Documentation

typedef Integer<void> mln::value::Integer< int_s< n > >::category
inherited

Definition at line 60 of file concept/integer.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 int_s< n > mln::Object< int_s< n > >::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.