|
Milena (Olena)
User documentation 2.0a Id
|
Class that defines FIXME. More...
#include <lut_vec.hh>
Inherits mln::Value_Set< lut_vec< S, T > >.
Public Types | |
| typedef bkd_viter_< lut_vec< S, T > > | bkd_viter |
| Backward Value_Iterator associated type. | |
| typedef fwd_viter_< lut_vec< S, T > > | fwd_viter |
| Forward Value_Iterator associated type. | |
| typedef T | value |
| Value associated type. | |
Public Member Functions | |
| bool | has (const value &v) const |
Test if v belongs to this set. | |
| unsigned | index_of (const value &v) const |
Give the index of value v in this set. | |
| unsigned | nvalues () const |
| Give the number of values. | |
| T | operator[] (unsigned i) const |
Give the i-th value. | |
| template<typename F > | |
| lut_vec (const S &vset, const Function_v2v< F > &f) | |
| ConstructorsConstructor from a value set and any Function_v2v. | |
| template<typename V > | |
| lut_vec (const S &vset, const Function_v2v< fun::i2v::array< V > > &f) | |
| Constructor from a value set and any fun::i2v::array. | |
| template<typename V > | |
| lut_vec (const S &vset, const Function_v2v< util::array< V > > &f) | |
| Constructor from a value set and any util::array. | |
Class that defines FIXME.
Definition at line 71 of file lut_vec.hh.
| typedef bkd_viter_< lut_vec<S,T> > mln::value::lut_vec< S, T >::bkd_viter |
Backward Value_Iterator associated type.
Definition at line 80 of file lut_vec.hh.
| typedef fwd_viter_< lut_vec<S,T> > mln::value::lut_vec< S, T >::fwd_viter |
Forward Value_Iterator associated type.
Definition at line 77 of file lut_vec.hh.
| typedef T mln::value::lut_vec< S, T >::value |
Value associated type.
Definition at line 74 of file lut_vec.hh.
|
inline |
ConstructorsConstructor from a value set and any Function_v2v.
Definition at line 149 of file lut_vec.hh.
|
inline |
Constructor from a value set and any fun::i2v::array.
Definition at line 162 of file lut_vec.hh.
|
inline |
Constructor from a value set and any util::array.
Definition at line 173 of file lut_vec.hh.
References mln::util::array< T >::size(), and mln::util::array< T >::std_vector().
|
inline |
Test if v belongs to this set.
Definition at line 130 of file lut_vec.hh.
|
inline |
Give the index of value v in this set.
Definition at line 139 of file lut_vec.hh.
|
inline |
Give the number of values.
Definition at line 203 of file lut_vec.hh.
|
inline |
Give the i-th value.
Definition at line 194 of file lut_vec.hh.