Forward declarations. More...
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 S > | |
const S & | cast_ (const void *, const S &src) |
template<typename O , typename S > | |
const S & | cast_ (const Object< O > *, const S &src) |
template<unsigned n_dest> | |
unsigned long | convert (unsigned n_src, unsigned long val) |
template<unsigned n_src, unsigned n_dest> | |
long | convert (int val) |
no_ | equiv_selector_ (void *) |
template<typename V > | |
yes_ | equiv_selector_ (Value< V > *) |
std::string | make_generic_name (const char *name, int quantification) |
Construct a type name as string. | |
template<typename V , typename S > | |
mln_value_equiv (S) cast_(const Value< V > * | |
template<unsigned n> | |
label< n > | next_dispatch (const label< n > &v) |
template<typename V > | |
V | next_dispatch (const V &v) |
template<unsigned n> | |
gray_< n > | operator* (int s, const gray_< n > &rhs) |
template<unsigned n> | |
gray_< n > | operator* (const gray_< n > &lhs, int s) |
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, 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_ (mln::trait::value::quant::high, const Value< V > &val_) |
template<typename V > | |
V | other_ (mln::trait::value::quant::low, const Value< V > &val_) |
template<typename V > | |
V | other_ (const void *, const V &val) |
template<typename V > | |
V | other_ (const Value< V > *, const V &val) |
template<typename V > | |
V | other_ (mln::trait::value::quant::high, const value::Scalar< V > &val_) |
bool | other_ (const void *, const bool &val) |
template<typename V > | |
V | run_equiv_ (const void *, const V *v) |
template<typename V > | |
internal::equiv_< V >::ret | run_equiv_ (const V &v) |
template<typename V , typename T > | |
internal::equiv_< V >::ret | run_equiv_ (const Value< V > *v, const T *) |
unsigned long | two_pow_ (unsigned n) |
unsigned long | two_pow_n_minus_1 (unsigned n) |
Forward declarations.
typedef char mln::value::internal::yes_ |
const S& mln::value::internal::cast_ | ( | const void * | , | |
const S & | src | |||
) | [inline] |
Definition at line 59 of file value/cast.hh.
Referenced by mln::value::cast().
const S& mln::value::internal::cast_ | ( | const Object< O > * | , | |
const S & | src | |||
) | [inline] |
Definition at line 67 of file value/cast.hh.
unsigned long mln::value::internal::convert | ( | unsigned | n_src, | |
unsigned long | val | |||
) | [inline] |
Definition at line 135 of file float01.hh.
References two_pow_(), and two_pow_n_minus_1().
long mln::value::internal::convert | ( | int | val | ) | [inline] |
no_ mln::value::internal::equiv_selector_ | ( | void * | ) |
yes_ mln::value::internal::equiv_selector_ | ( | Value< V > * | ) |
std::string mln::value::internal::make_generic_name | ( | const char * | name, | |
int | quantification | |||
) | [inline] |
Construct a type name as string.
Definition at line 51 of file make_generic_name.hh.
Referenced by mln::trait::value_< mln::value::rgb< n > >::name(), mln::trait::value_< mln::value::label< n > >::name(), and mln::trait::value_< mln::value::int_u< n > >::name().
mln::value::internal::mln_value_equiv | ( | S | ) | const [inline] |
label<n> mln::value::internal::next_dispatch | ( | const label< n > & | v | ) | [inline] |
Definition at line 89 of file next.hh.
References mln::value::implementation::next_label().
Referenced by mln::value::next().
V mln::value::internal::next_dispatch | ( | const V & | v | ) | [inline] |
Definition at line 98 of file next.hh.
References mln::value::next().
gray_< n > mln::value::internal::operator* | ( | int | s, | |
const gray_< n > & | rhs | |||
) | [inline] |
Definition at line 428 of file gray_.hh.
References mln::value::internal::gray_< n >::value().
gray_< n > mln::value::internal::operator* | ( | const gray_< n > & | lhs, | |
int | s | |||
) | [inline] |
Definition at line 436 of file gray_.hh.
References mln::value::internal::gray_< n >::value().
mln::trait::op::times< gray_<n> , gray_<m> >::ret mln::value::internal::operator* | ( | const gray_< n > & | lhs, | |
const gray_< m > & | 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] |
Definition at line 444 of file gray_.hh.
References mln::value::internal::gray_< n >::value().
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_ | ( | mln::trait::value::quant::high | , | |
const Value< V > & | val_ | |||
) | [inline] |
Definition at line 75 of file other.hh.
References mln::exact().
V mln::value::internal::other_ | ( | mln::trait::value::quant::low | , | |
const Value< V > & | val_ | |||
) | [inline] |
Definition at line 93 of file other.hh.
References mln::exact().
V mln::value::internal::other_ | ( | const void * | , | |
const V & | val | |||
) |
Definition at line 59 of file other.hh.
Referenced by mln::value::other(), and other_().
V mln::value::internal::other_ | ( | const Value< V > * | , | |
const V & | val | |||
) | [inline] |
V mln::value::internal::other_ | ( | mln::trait::value::quant::high | , | |
const value::Scalar< V > & | val_ | |||
) | [inline] |
Definition at line 84 of file other.hh.
References mln::exact().
bool mln::value::internal::other_ | ( | const void * | , | |
const bool & | val | |||
) | [inline] |
V mln::value::internal::run_equiv_ | ( | const void * | , | |
const V * | v | |||
) | [inline] |
internal::equiv_< V >::ret mln::value::internal::run_equiv_ | ( | const V & | v | ) | [inline] |
Definition at line 109 of file equiv.hh.
Referenced by mln::value::equiv(), and run_equiv_().
internal::equiv_<V>::ret mln::value::internal::run_equiv_ | ( | const Value< V > * | v, | |
const T * | ||||
) | [inline] |
Definition at line 93 of file equiv.hh.
References mln::exact(), and run_equiv_().
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().