$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::fun::v2v::component< T, i > Struct Template Reference

#include <mln/fun/v2v/component.hh>

Public Member Functions

typedef mln_trait_value_comp (T, i) result
result operator() (const T &v) const

Public Types

typedef Function_v2v< void > category
typedef component< T, i > exact_t
typedef void mutable_result

Detailed Description

template<typename T, unsigned i>
struct mln::fun::v2v::component< T, i >

Functor that accesses the i-th component of a value.

Definition at line 51 of file component.hh.

Member Function Documentation

template<typename T , unsigned i>
typedef mln::fun::v2v::component< T, i >::mln_trait_value_comp ( T  ,
 
)
template<typename T , unsigned i>
result mln::fun::v2v::component< T, i >::operator() ( const T v) const

Member Typedef Documentation

typedef Function_v2v<void> mln::Function_v2v< component< T, i > >::category
inherited

Definition at line 134 of file function.hh.

typedef component< T, i > mln::Object< component< T, i > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef void mln::Function_v2v< component< T, i > >::mutable_result
inherited

Definition at line 135 of file function.hh.