$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::value::internal::set_selector_< T, E, true > Struct Template Reference

#include <mln/value/set.hh>

Public Member Functions

bool has (const T &v) const
unsigned index_of (const T &v) const
unsigned nvalues () const
T operator[] (unsigned i) const

Public Types

typedef bkd_viter_< E > bkd_viter
typedef Value_Set< void > category
typedef E exact_t
typedef fwd_viter_< E > fwd_viter
typedef T value

Related Functions

(Note that these are not member functions.)

template<typename E >
std::ostream & operator<< (std::ostream &ostr, const Value_Set< E > &vs)

Detailed Description

template<typename T, typename E>
struct mln::value::internal::set_selector_< T, E, true >

Definition at line 51 of file value/set.hh.

Member Function Documentation

template<typename T , typename E >
bool mln::value::internal::iterable_set< T, E >::has ( const T v) const
inherited

Test if v belongs to this iterable_set: always true!

template<typename T , typename E >
unsigned mln::value::internal::iterable_set< T, E >::index_of ( const T v) const
inherited

Give the index of value v in this iterable_set.

template<typename T , typename E >
unsigned mln::value::internal::iterable_set< T, E >::nvalues ( ) const
inherited

Give the number of values.

template<typename T , typename E >
T mln::value::internal::iterable_set< T, E >::operator[] ( unsigned  i) const
inherited

Give the i-th value.

Friends And Related Function Documentation

template<typename E >
std::ostream & operator<< ( std::ostream &  ostr,
const Value_Set< E > &  vs 
)
related

Member Typedef Documentation

template<typename T , typename E >
typedef bkd_viter_<E> mln::value::internal::iterable_set< T, E >::bkd_viter
inherited

Backward Value_Iterator associated type.

Definition at line 67 of file iterable_set.hh.

template<typename E>
typedef Value_Set<void> mln::Value_Set< E >::category
inherited

Definition at line 61 of file value_set.hh.

template<typename E>
typedef E mln::Object< E >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename T , typename E >
typedef fwd_viter_<E> mln::value::internal::iterable_set< T, E >::fwd_viter
inherited

Forward Value_Iterator associated type.

Definition at line 64 of file iterable_set.hh.

template<typename T , typename E >
typedef T mln::value::internal::iterable_set< T, E >::value
inherited

Value associated type.

Definition at line 61 of file iterable_set.hh.