$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::accu::val< A > Struct Template Reference

#include <mln/accu/v.hh>

Public Member Functions

 val ()
 val (const A &a)
bool is_valid () const
typedef mln_argument (A) argument
const A::result & subj_ ()
void take_as_init (const T &t)
void take_as_init_ (const T &t)
void take_n_times (unsigned n, const T &t)
void take_n_times_ (unsigned n, const T &t)
const A::result & to_result () const
void init ()
void take_as_init_ (const argument &t)
void take (const argument &t)
void take (const val< A > &other)
template<typename I >
void take_as_init_ (const util::pix< I > &pix)
template<typename I >
void take (const util::pix< I > &pix)

Protected Attributes

a_

Public Types

typedef Accumulator< void > category
typedef val< A > exact_t
typedef const A::result & q_result
typedef mln::metal::unqualif
< const A::result & >::ret 
result

Detailed Description

template<typename A>
struct mln::accu::val< A >

Generic val of accumulators.

Definition at line 50 of file v.hh.

Constructor & Destructor Documentation

template<typename A>
mln::accu::val< A >::val ( )
template<typename A>
mln::accu::val< A >::val ( const A &  a)

Member Function Documentation

template<typename A>
void mln::accu::val< A >::init ( )

Manipulators.

template<typename A>
bool mln::accu::val< A >::is_valid ( ) const

Check whether this accu is able to return a result.

Always true here.

template<typename A>
typedef mln::accu::val< A >::mln_argument ( )
const A::result & mln::accu::internal::base< const A::result & , val< A > >::subj_ ( )
inherited
template<typename A>
void mln::accu::val< A >::take ( const argument &  t)
template<typename A>
void mln::accu::val< A >::take ( const val< A > &  other)
template<typename A>
template<typename I >
void mln::accu::val< A >::take ( const util::pix< I > &  pix)
void mln::Accumulator< val< A > >::take_as_init ( const T t)
inherited

Take as initialization the value t.

template<typename A>
void mln::accu::val< A >::take_as_init_ ( const argument &  t)
template<typename A>
template<typename I >
void mln::accu::val< A >::take_as_init_ ( const util::pix< I > &  pix)
void mln::Accumulator< val< A > >::take_as_init_ ( const T t)
inherited

INTERNAL_API

Default implementation of "take as initialization".

void mln::Accumulator< val< A > >::take_n_times ( unsigned  n,
const T t 
)
inherited

Take n times the value t.

void mln::Accumulator< val< A > >::take_n_times_ ( unsigned  n,
const T t 
)
inherited

INTERNAL_API

Default implementation of "take n times".

template<typename A>
const A ::result& mln::accu::val< A >::to_result ( ) const

Get the value of the accumulator.

Member Data Documentation

template<typename A>
A mln::accu::val< A >::a_
protected

Definition at line 77 of file v.hh.

Member Typedef Documentation

typedef Accumulator<void> mln::Accumulator< val< A > >::category
inherited

Definition at line 64 of file accumulator.hh.

typedef val< A > mln::Object< val< A > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef const A::result & mln::accu::internal::base< const A::result & , val< A > >::q_result
inherited

Definition at line 58 of file base.hh.

typedef mln::metal::unqualif< const A::result & >::ret mln::accu::internal::base< const A::result & , val< A > >::result
inherited

Definition at line 59 of file base.hh.