Public Types | Public Member Functions | Public Attributes

mln::labeling::impl::value_functor< I, L > Struct Template Reference

#include <value.hh>

List of all members.

Public Types

typedef I::psite P
typedef I::domain_t S

Public Member Functions

void do_no_union (const P &, const P &)
void do_no_union_ (unsigned, unsigned)
bool equiv (const P &n, const P &) const
bool equiv_ (unsigned n, unsigned) const
void finalize ()
void finalize_ ()
bool handles (const P &p) const
bool handles_ (unsigned p) const
void init ()
void init_ ()
void init_attr (const P &)
void init_attr_ (unsigned)
bool labels (const P &) const
bool labels_ (unsigned) const
void merge_attr (const P &, const P &)
void merge_attr_ (unsigned, unsigned)
void set_label (const P &p, const L &l)
void set_label_ (unsigned, const L &)
void set_new_label (const P &p, const L &l)
void set_new_label_ (unsigned, const L &)
 value_functor (const Image< I > &input_, const typename I::value &val)

Public Attributes

const I & input
const I::value & val

Detailed Description

template<typename I, typename L>
struct mln::labeling::impl::value_functor< I, L >

Definition at line 94 of file labeling/value.hh.


Member Typedef Documentation

template<typename I, typename L>
typedef I ::psite mln::labeling::impl::value_functor< I, L >::P

Definition at line 96 of file labeling/value.hh.

template<typename I, typename L>
typedef I ::domain_t mln::labeling::impl::value_functor< I, L >::S

Definition at line 103 of file labeling/value.hh.


Constructor & Destructor Documentation

template<typename I, typename L>
mln::labeling::impl::value_functor< I, L >::value_functor ( const Image< I > &  input_,
const typename I::value &  val 
) [inline]

Definition at line 133 of file labeling/value.hh.


Member Function Documentation

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::do_no_union ( const P ,
const P  
) [inline]

Definition at line 111 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::do_no_union_ ( unsigned  ,
unsigned   
) [inline]

Definition at line 124 of file labeling/value.hh.

template<typename I, typename L>
bool mln::labeling::impl::value_functor< I, L >::equiv ( const P n,
const P  
) const [inline]
template<typename I, typename L>
bool mln::labeling::impl::value_functor< I, L >::equiv_ ( unsigned  n,
unsigned   
) const [inline]

Definition at line 122 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::finalize (  )  [inline]

Definition at line 116 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::finalize_ (  )  [inline]

Definition at line 129 of file labeling/value.hh.

template<typename I, typename L>
bool mln::labeling::impl::value_functor< I, L >::handles ( const P p  )  const [inline]
template<typename I, typename L>
bool mln::labeling::impl::value_functor< I, L >::handles_ ( unsigned  p  )  const [inline]

Definition at line 121 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::init (  )  [inline]

Definition at line 107 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::init_ (  )  [inline]

Definition at line 120 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::init_attr ( const P  )  [inline]

Definition at line 112 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::init_attr_ ( unsigned   )  [inline]

Definition at line 125 of file labeling/value.hh.

template<typename I, typename L>
bool mln::labeling::impl::value_functor< I, L >::labels ( const P  )  const [inline]

Definition at line 110 of file labeling/value.hh.

template<typename I, typename L>
bool mln::labeling::impl::value_functor< I, L >::labels_ ( unsigned   )  const [inline]

Definition at line 123 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::merge_attr ( const P ,
const P  
) [inline]

Definition at line 113 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::merge_attr_ ( unsigned  ,
unsigned   
) [inline]

Definition at line 126 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::set_label ( const P p,
const L &  l 
) [inline]

Definition at line 115 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::set_label_ ( unsigned  ,
const L &   
) [inline]

Definition at line 128 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::set_new_label ( const P p,
const L &  l 
) [inline]

Definition at line 114 of file labeling/value.hh.

template<typename I, typename L>
void mln::labeling::impl::value_functor< I, L >::set_new_label_ ( unsigned  ,
const L &   
) [inline]

Definition at line 127 of file labeling/value.hh.


Member Data Documentation

template<typename I, typename L>
const I& mln::labeling::impl::value_functor< I, L >::input
template<typename I, typename L>
const I ::value& mln::labeling::impl::value_functor< I, L >::val

Definition at line 99 of file labeling/value.hh.