Classes | |
struct | convert_ |
struct | convert_< bool > |
struct | convert_< float01_< n > > |
struct | convert_< graylevel< n > > |
struct | encoding_signed_ |
struct | encoding_signed_< 16 > |
struct | encoding_signed_< 32 > |
struct | encoding_signed_< 64 > |
struct | encoding_signed_< 8 > |
struct | encoding_signed_< 99 > |
struct | encoding_unsigned_ |
struct | encoding_unsigned_< 16 > |
struct | encoding_unsigned_< 32 > |
struct | encoding_unsigned_< 64 > |
struct | encoding_unsigned_< 8 > |
struct | encoding_unsigned_< 99 > |
struct | equiv_ |
struct | equiv_ret_< 1, T > |
struct | equiv_ret_< 2, T > |
class | gray_ |
General gray-level class where n bits is not know at compile-time. More... | |
struct | gray_f |
General gray-level class on n bits. More... | |
struct | helper_gray__op_< gray_< n > > |
struct | helper_gray__op_< gray_f > |
struct | helper_scalar_ |
struct | helper_stack_image_lvalue_ |
struct | helper_stack_image_lvalue_< n, const I > |
struct | Integer |
struct | iterable_set |
struct | limits |
struct | make_ |
struct | no_ |
struct | set_selector_ |
struct | set_selector_< T, E, true > |
struct | value_like_ |
Base class for value classes defined over another type. More... | |
Typedefs | |
typedef char | yes_ |
Functions | |
template<typename O, typename S> | |
const S & | cast_ (const Object< O > *, const S &src) |
template<typename S> | |
const S & | cast_ (const void *, const S &src) |
template<unsigned n_src, unsigned n_dest> | |
long | convert (int val) |
template<unsigned n_dest> | |
unsigned long | convert (unsigned n_src, unsigned long val) |
no_ | equiv_selector_ (void *) |
template<typename V> | |
yes_ | equiv_selector_ (Value< V > *) |
template<typename V, typename S> | |
mln_value_equiv (S) cast_(const Value< V > * | |
template<unsigned n, unsigned m> | |
mln::trait::op::times< gray_ < n >, gray_< m > >::ret | operator* (const gray_< n > &lhs, const gray_< m > &rhs) |
template<unsigned n> | |
gray_< n > | operator* (const gray_< n > &lhs, int s) |
template<unsigned n> | |
gray_< n > | operator* (int s, const gray_< n > &rhs) |
template<unsigned n, unsigned m> | |
mln::trait::op::plus< gray_< n > , gray_< m > >::ret | operator+ (const gray_< n > &lhs, const gray_< m > &rhs) |
template<unsigned n, unsigned m> | |
mln::trait::op::minus< gray_ < n >, gray_< m > >::ret | operator- (const gray_< n > &lhs, const gray_< m > &rhs) |
template<unsigned n> | |
gray_< n > | operator/ (const gray_< n > &lhs, int s) |
template<typename V, typename C, typename N, typename E> | |
bool | operator< (const value_like_< V, C, N, E > &lhs, const value_like_< V, C, N, E > &rhs) |
General definition of the "less than" operator between value-like types. | |
template<unsigned n, unsigned m> | |
bool | operator< (const gray_< n > &lhs, const gray_< m > &rhs) |
std::ostream & | operator<< (std::ostream &ostr, const gray_f &g) |
Op<<. | |
template<unsigned n> | |
std::ostream & | operator<< (std::ostream &ostr, const gray_< n > &g) |
template<typename V, typename C, typename N, typename E> | |
bool | operator== (const value_like_< V, C, N, E > &lhs, const value_like_< V, C, N, E > &rhs) |
General definition of the "equal to" operator between value-like types. | |
template<unsigned n, unsigned m> | |
bool | operator== (const gray_< n > &lhs, const gray_< m > &rhs) |
template<typename V> | |
V | other_ (const Value< V > *, const V &val) |
template<typename V> | |
V | other_ (mln::trait::value::quant::low, const Value< V > &val_) |
template<typename V> | |
V | other_ (mln::trait::value::quant::high, const value::Scalar< V > &val_) |
template<typename V> | |
V | other_ (mln::trait::value::quant::high, const Value< V > &val_) |
bool | other_ (const void *, const bool &val) |
template<typename V> | |
V | other_ (const void *, const V &val) |
template<typename V> | |
const V & | run_equiv_ (const void *, const V *v) |
template<typename V, typename T> | |
const internal::equiv_< V >::ret & | run_equiv_ (const Value< V > *v, const T *) |
template<typename V> | |
const internal::equiv_< V >::ret & | run_equiv_ (const V &v) |
unsigned long | two_pow_ (unsigned n) |
unsigned long | two_pow_n_minus_1 (unsigned n) |
typedef char mln::value::internal::yes_ |
const S& mln::value::internal::cast_ | ( | const Object< O > * | , | |
const S & | src | |||
) | [inline] |
Definition at line 67 of file value/cast.hh.
const S& mln::value::internal::cast_ | ( | const void * | , | |
const S & | src | |||
) | [inline] |
long mln::value::internal::convert | ( | int | val | ) | [inline] |
unsigned long mln::value::internal::convert | ( | unsigned | n_src, | |
unsigned long | val | |||
) | [inline] |
no_ mln::value::internal::equiv_selector_ | ( | void * | ) |
yes_ mln::value::internal::equiv_selector_ | ( | Value< V > * | ) | [inline] |
mln::value::internal::mln_value_equiv | ( | S | ) | const [inline] |
mln::trait::op::times< gray_<n> , gray_<m> >::ret mln::value::internal::operator* | ( | const gray_< n > & | lhs, | |
const gray_< m > & | rhs | |||
) | [inline] |
gray_< n > mln::value::internal::operator* | ( | const gray_< n > & | lhs, | |
int | s | |||
) | [inline] |
gray_< n > mln::value::internal::operator* | ( | int | s, | |
const gray_< n > & | rhs | |||
) | [inline] |
mln::trait::op::plus< gray_< n >, gray_< m > >::ret mln::value::internal::operator+ | ( | const gray_< n > & | lhs, | |
const gray_< m > & | rhs | |||
) | [inline] |
mln::trait::op::minus< gray_< n >, gray_< m > >::ret mln::value::internal::operator- | ( | const gray_< n > & | lhs, | |
const gray_< m > & | rhs | |||
) | [inline] |
gray_< n > mln::value::internal::operator/ | ( | const gray_< n > & | lhs, | |
int | s | |||
) | [inline] |
bool mln::value::internal::operator< | ( | const value_like_< V, C, N, E > & | lhs, | |
const value_like_< V, C, N, E > & | rhs | |||
) | [inline] |
General definition of the "less than" operator between value-like types.
Definition at line 133 of file value_like.hh.
References mln::rhs.
bool mln::value::internal::operator< | ( | const gray_< n > & | lhs, | |
const gray_< m > & | rhs | |||
) | [inline] |
std::ostream & mln::value::internal::operator<< | ( | std::ostream & | ostr, | |
const gray_f & | g | |||
) | [inline] |
std::ostream & mln::value::internal::operator<< | ( | std::ostream & | ostr, | |
const gray_< n > & | g | |||
) | [inline] |
bool mln::value::internal::operator== | ( | const value_like_< V, C, N, E > & | lhs, | |
const value_like_< V, C, N, E > & | rhs | |||
) | [inline] |
General definition of the "equal to" operator between value-like types.
Definition at line 125 of file value_like.hh.
References mln::value::internal::value_like_< V, C, N, E >::to_enc().
bool mln::value::internal::operator== | ( | const gray_< n > & | lhs, | |
const gray_< m > & | rhs | |||
) | [inline] |
Definition at line 337 of file gray_.hh.
References mln::down, mln::up, and mln::value::internal::gray_< n >::value().
V mln::value::internal::other_ | ( | const Value< V > * | , | |
const V & | val | |||
) | [inline] |
V mln::value::internal::other_ | ( | mln::trait::value::quant::low | , | |
const Value< V > & | val_ | |||
) | [inline] |
V mln::value::internal::other_ | ( | mln::trait::value::quant::high | , | |
const value::Scalar< V > & | val_ | |||
) | [inline] |
V mln::value::internal::other_ | ( | mln::trait::value::quant::high | , | |
const Value< V > & | val_ | |||
) | [inline] |
bool mln::value::internal::other_ | ( | const void * | , | |
const bool & | val | |||
) | [inline] |
V mln::value::internal::other_ | ( | const void * | , | |
const V & | val | |||
) | [inline] |
const V& mln::value::internal::run_equiv_ | ( | const void * | , | |
const V * | v | |||
) | [inline] |
const internal::equiv_<V>::ret& mln::value::internal::run_equiv_ | ( | const Value< V > * | v, | |
const T * | ||||
) | [inline] |
const internal::equiv_< V >::ret & mln::value::internal::run_equiv_ | ( | const V & | v | ) | [inline] |
unsigned long mln::value::internal::two_pow_ | ( | unsigned | n | ) | [inline] |
Definition at line 119 of file float01.hh.
Referenced by convert(), mln::value::float01::set_nbits(), and two_pow_n_minus_1().
unsigned long mln::value::internal::two_pow_n_minus_1 | ( | unsigned | n | ) | [inline] |
Definition at line 128 of file float01.hh.
References two_pow_().
Referenced by convert(), mln::value::float01::float01(), mln::value::float01::operator float(), mln::value::float01::set_nbits(), and mln::value::float01::value().