<< ValueCharArray
 Top   Types   Functions   Classes   Index 
ValueNumericSimple >>

struct CrlValueNumeric / crl_value_numeric_t

Abstract Class


Description

Numeric values: ints, floats, ranges.

Kinship

Immediate super class: ValueScalar

Immediate sub classes: ValueNumericSimple, ValueRange

Inherited Slots

int Object::class_id
int Object::heap_sig
int Object::ref_count
UserData Object::user_data

Members

ValueNumeric *add(ValueNumeric const *) const
ValueNumeric *add(AnyValue) const
Value *find(char const * key) const
boolfind(float_t & result, char const * key) const
boolfind(float_t & result, Value const * key) const
boolfind(signed_t & result, char const * key) const
boolfind(signed_t & result, Value const * key) const
boolfind(unsigned_t & result, char const * key) const
boolfind(unsigned_t & result, Value const * key) const
Value *find(Value const * key) const
boolfind_bool(char const * key) const
boolfind_bool(Value const * key) const
boolfind_bool_sym(symbol_t key) const
byte_tfind_byte(char const * key) const
byte_tfind_byte(Value const * key) const
byte_tfind_byte_sym(symbol_t key) const
intfind_int(char const * key) const
intfind_int(Value const * key) const
intfind_int_sym(symbol_t key) const
Item *find_item(char const * key) const
Item *find_item(Value const * key) const
Item *find_item_sym(symbol_t key) const
char const *find_string(char const * key) const
char const *find_string(Value const * key) const
char const *find_string_sym(symbol_t key) const
boolfind_sym(float_t & result, symbol_t key) const
boolfind_sym(signed_t & result, symbol_t key) const
Value *find_sym(symbol_t key) const
boolfind_sym(unsigned_t & result, symbol_t key) const
symbol_tfind_symbol(char const * key) const
symbol_tfind_symbol(Value const * key) const
symbol_tfind_symbol_sym(symbol_t key) const
word32_tfind_word32(char const * key) const
word32_tfind_word32(Value const * key) const
word32_tfind_word32_sym(symbol_t key) const
boolget(float_t & result) const
boolget(signed_t & result) const
boolget(unsigned_t & result) const
Value *get()
Value const *get() const
boolget_bool() const
byte_tget_byte() const
intget_int() const
word32_tget_word32() const
boolhas(char const * key) const
boolhas(Value const * key) const
boolhas_sym(symbol_t key) const
boolinvalidate()
boolis_special(char const * key) const
boolis_special(Value const * key) const
boolis_special_sym(symbol_t key) const
boolis_valid() const
boolis_valid_special() const
ValueNumericSimple *maximum()
ValueNumericSimple const *maximum() const
ValueNumericSimple *minimum()
ValueNumericSimple const *minimum() const
ValueNumeric *neg() const
boolpoke(Value * value)
boolpoke(unsigned_t value)
boolpoke_float(float_t value)
boolpoke_once(Value * value)
boolpoke_once(unsigned_t value)
boolpoke_once_float(float_t value)
boolpoke_once_signed(signed_t value)
boolpoke_signed(signed_t value)
boolreset(char const * key)
boolreset(Value const * key)
boolreset_sym(symbol_t key)
boolset(char const * key, Value * value)
boolset(char const * key, Item * value)
boolset(char const * key, char const * value)
boolset(char const * key, unsigned_t value)
boolset(Value const * key, Value * value)
boolset(Value const * key, Item * value)
boolset(Value const * key, char const * value)
boolset(Value const * key, unsigned_t value)
boolset_float(char const * key, float_t value)
boolset_float(Value const * key, float_t value)
boolset_once(char const * key, Value * value)
boolset_once(char const * key, Item * value)
boolset_once(char const * key, char const * value)
boolset_once(char const * key, unsigned_t value)
boolset_once(Value const * key, Value * value)
boolset_once(Value const * key, Item * value)
boolset_once(Value const * key, char const * value)
boolset_once(Value const * key, unsigned_t value)
boolset_once_float(char const * key, float_t value)
boolset_once_float(Value const * key, float_t value)
boolset_once_signed(char const * key, signed_t value)
boolset_once_signed(Value const * key, signed_t value)
boolset_once_sym(symbol_t key, Value * value)
boolset_once_sym(symbol_t key, Item * value)
boolset_once_sym(symbol_t key, char const * value)
boolset_once_sym(symbol_t key, unsigned_t value)
boolset_once_sym_float(symbol_t key, float_t value)
boolset_once_sym_signed(symbol_t key, signed_t value)
boolset_once_sym_symbol(symbol_t key, symbol_t value)
boolset_once_symbol(char const * key, symbol_t value)
boolset_once_symbol(Value const * key, symbol_t value)
boolset_signed(char const * key, signed_t value)
boolset_signed(Value const * key, signed_t value)
boolset_sym(symbol_t key, Value * value)
boolset_sym(symbol_t key, Item * value)
boolset_sym(symbol_t key, char const * value)
boolset_sym(symbol_t key, unsigned_t value)
boolset_sym_float(symbol_t key, float_t value)
boolset_sym_signed(symbol_t key, signed_t value)
boolset_sym_symbol(symbol_t key, symbol_t value)
boolset_symbol(char const * key, symbol_t value)
boolset_symbol(Value const * key, symbol_t value)
ValueNumeric *sub(ValueNumeric const *) const
ValueNumeric *sub(AnyValue) const
ValueNumeric *to_float()
ValueNumeric const *to_float() const
ValueNumeric *to_signed()
ValueNumeric const *to_signed() const
ValueNumeric *to_unsigned()
ValueNumeric const *to_unsigned() const

Inherited Members

From ClassC++C
Crl::address_default_user_print_file
Crl::address_default_user_print_vchar
Crl::bool_default_user_print_file
Crl::bool_default_user_print_vchar
Crl::context_default
Crl::enum_default_user_print_file
Crl::enum_default_user_print_vchar
Crl::float_default_user_print_file
Crl::float_default_user_print_vchar
Crl::get_string2symbol
Crl::get_string2symbol_default
Crl::get_user_data_delete_hook
Crl::gmt_default_user_print_file
Crl::gmt_default_user_print_vchar
Crl::identifier_default_user_print_file
Crl::identifier_default_user_print_vchar
Crl::init
Crl::is_c_identifier
Crl::is_initialised
Crl::is_lowcase_identifier
Crl::is_normalised_decimal
Crl::klass_id_to_crl_name
Crl::klass_id_to_name
Crl::set_handle_foreign_item
Crl::set_string2symbol
Crl::set_user_data_delete_hook
Crl::signed_default_user_print_file
Crl::signed_default_user_print_vchar
Crl::string2symbol
Crl::string_default_user_print_file
Crl::string_default_user_print_vchar
Crl::symbol_default_user_print_file
Crl::symbol_default_user_print_vchar
Crl::type_any
Crl::unsigned_default_user_print_file
Crl::unsigned_default_user_print_vchar
Object::operator delete
Object::operator new
Object::operator!=crl_value_numeric_is_not_equal
Object::operator<crl_value_numeric_is_less_than
Object::operator<=crl_value_numeric_is_less_equal
Object::operator==crl_value_numeric_is_equal
Object::operator>crl_value_numeric_is_greater_than
Object::operator>=crl_value_numeric_is_greater_equal
Object::_ref
Object::_ref_unref
Object::_unref
Object::_unref_no_delete
Object::check_sigcrl_value_numeric_check_sig
Value::childcrl_value_numeric_get_child
Object::class_idcrl_value_numeric_get_class_id
Object::cmpcrl_value_numeric_cmp
Object::cmp_shallowcrl_value_numeric_cmp_shallow
Object::graphcrl_value_numeric_get_graph_const
Object::hashcrl_value_numeric_hash
Object::hash_shallowcrl_value_numeric_hash_shallow
Object::heap_sigcrl_value_numeric_get_heap_sig
Value::item
Object::klass_idcrl_value_numeric_get_klass_id
Object::klass_namecrl_value_numeric_get_klass_name
Object::mapcrl_value_numeric_map
Object::map_subcrl_value_numeric_map_sub_with_data
Object::printcrl_value_numeric_print_vchar
Value::print_explicitcrl_value_numeric_print_explicit_file
Object::ref_count
Object::routinecrl_value_numeric_get_routine_const
Object::set_user_datacrl_value_numeric_set_user_data
Structure::skipcrl_value_numeric_skip
Object::to_vcharcrl_value_numeric_to_vchar
Object::user_datacrl_value_numeric_get_user_data_const


Detailed Descriptions


#if CRL_NEED_VALUE_NUMERIC

Value * find (char const * key) const

C++: CrlValue * CrlValueNumeric::find (char const * key) const
C: crl_value_t * crl_value_numeric_find (crl_value_numeric_t const * self, char const * key)

inherit

#endif


#if CRL_NEED_VALUE_NUMERIC

bool find (float_t & result, char const * key) const

C++: bool CrlValueNumeric::find (crl_float_t & result, char const * key) const
C: crl_bool_t crl_value_numeric_find_float (crl_float_t * result, crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find (float_t & result, Value const * key) const

C++: bool CrlValueNumeric::find (crl_float_t & result, CrlValue const * key) const
C: crl_bool_t crl_value_numeric_find_float_val (crl_float_t * result, crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find (signed_t & result, char const * key) const

C++: bool CrlValueNumeric::find (crl_signed_t & result, char const * key) const
C: crl_bool_t crl_value_numeric_find_signed (crl_signed_t * result, crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find (signed_t & result, Value const * key) const

C++: bool CrlValueNumeric::find (crl_signed_t & result, CrlValue const * key) const
C: crl_bool_t crl_value_numeric_find_signed_val (crl_signed_t * result, crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find (unsigned_t & result, char const * key) const

C++: bool CrlValueNumeric::find (crl_unsigned_t & result, char const * key) const
C: crl_bool_t crl_value_numeric_find_unsigned (crl_unsigned_t * result, crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find (unsigned_t & result, Value const * key) const

C++: bool CrlValueNumeric::find (crl_unsigned_t & result, CrlValue const * key) const
C: crl_bool_t crl_value_numeric_find_unsigned_val (crl_unsigned_t * result, crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

Value * find (Value const * key) const

C++: CrlValue * CrlValueNumeric::find (CrlValue const * key) const
C: crl_value_t * crl_value_numeric_find_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find_bool (char const * key) const

C++: bool CrlValueNumeric::find_bool (char const * key) const
C: crl_bool_t crl_value_numeric_find_bool (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find_bool (Value const * key) const

C++: bool CrlValueNumeric::find_bool (CrlValue const * key) const
C: crl_bool_t crl_value_numeric_find_bool_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find_bool_sym (symbol_t key) const

C++: bool CrlValueNumeric::find_bool_sym (crl_symbol_t key) const
C: crl_bool_t crl_value_numeric_find_bool_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

byte_t find_byte (char const * key) const

C++: crl_byte_t CrlValueNumeric::find_byte (char const * key) const
C: crl_byte_t crl_value_numeric_find_byte (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

byte_t find_byte (Value const * key) const

C++: crl_byte_t CrlValueNumeric::find_byte (CrlValue const * key) const
C: crl_byte_t crl_value_numeric_find_byte_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

byte_t find_byte_sym (symbol_t key) const

C++: crl_byte_t CrlValueNumeric::find_byte_sym (crl_symbol_t key) const
C: crl_byte_t crl_value_numeric_find_byte_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

int find_int (char const * key) const

C++: int CrlValueNumeric::find_int (char const * key) const
C: int crl_value_numeric_find_int (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

int find_int (Value const * key) const

C++: int CrlValueNumeric::find_int (CrlValue const * key) const
C: int crl_value_numeric_find_int_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

int find_int_sym (symbol_t key) const

C++: int CrlValueNumeric::find_int_sym (crl_symbol_t key) const
C: int crl_value_numeric_find_int_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

Item * find_item (char const * key) const

C++: CrlItem * CrlValueNumeric::find_item (char const * key) const
C: crl_item_t * crl_value_numeric_find_item (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

Item * find_item (Value const * key) const

C++: CrlItem * CrlValueNumeric::find_item (CrlValue const * key) const
C: crl_item_t * crl_value_numeric_find_item_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

Item * find_item_sym (symbol_t key) const

C++: CrlItem * CrlValueNumeric::find_item_sym (crl_symbol_t key) const
C: crl_item_t * crl_value_numeric_find_item_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

char const * find_string (char const * key) const

C++: char const * CrlValueNumeric::find_string (char const * key) const
C: char const * crl_value_numeric_find_string (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

char const * find_string (Value const * key) const

C++: char const * CrlValueNumeric::find_string (CrlValue const * key) const
C: char const * crl_value_numeric_find_string_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

char const * find_string_sym (symbol_t key) const

C++: char const * CrlValueNumeric::find_string_sym (crl_symbol_t key) const
C: char const * crl_value_numeric_find_string_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find_sym (float_t & result, symbol_t key) const

C++: bool CrlValueNumeric::find_sym (crl_float_t & result, crl_symbol_t key) const
C: crl_bool_t crl_value_numeric_find_float_sym (crl_float_t * result, crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find_sym (signed_t & result, symbol_t key) const

C++: bool CrlValueNumeric::find_sym (crl_signed_t & result, crl_symbol_t key) const
C: crl_bool_t crl_value_numeric_find_signed_sym (crl_signed_t * result, crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

Value * find_sym (symbol_t key) const

C++: CrlValue * CrlValueNumeric::find_sym (crl_symbol_t key) const
C: crl_value_t * crl_value_numeric_find_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool find_sym (unsigned_t & result, symbol_t key) const

C++: bool CrlValueNumeric::find_sym (crl_unsigned_t & result, crl_symbol_t key) const
C: crl_bool_t crl_value_numeric_find_unsigned_sym (crl_unsigned_t * result, crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

symbol_t find_symbol (char const * key) const

C++: crl_symbol_t CrlValueNumeric::find_symbol (char const * key) const
C: crl_symbol_t crl_value_numeric_find_symbol (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

symbol_t find_symbol (Value const * key) const

C++: crl_symbol_t CrlValueNumeric::find_symbol (CrlValue const * key) const
C: crl_symbol_t crl_value_numeric_find_symbol_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

symbol_t find_symbol_sym (symbol_t key) const

C++: crl_symbol_t CrlValueNumeric::find_symbol_sym (crl_symbol_t key) const
C: crl_symbol_t crl_value_numeric_find_symbol_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

word32_t find_word32 (char const * key) const

C++: crl_word32_t CrlValueNumeric::find_word32 (char const * key) const
C: crl_word32_t crl_value_numeric_find_word32 (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

word32_t find_word32 (Value const * key) const

C++: crl_word32_t CrlValueNumeric::find_word32 (CrlValue const * key) const
C: crl_word32_t crl_value_numeric_find_word32_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

word32_t find_word32_sym (symbol_t key) const

C++: crl_word32_t CrlValueNumeric::find_word32_sym (crl_symbol_t key) const
C: crl_word32_t crl_value_numeric_find_word32_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool get (float_t & result) const

C++: bool CrlValueNumeric::get (crl_float_t & result) const
C: crl_bool_t crl_value_numeric_get_float (crl_float_t * result, crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool get (signed_t & result) const

C++: bool CrlValueNumeric::get (crl_signed_t & result) const
C: crl_bool_t crl_value_numeric_get_signed (crl_signed_t * result, crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool get (unsigned_t & result) const

C++: bool CrlValueNumeric::get (crl_unsigned_t & result) const
C: crl_bool_t crl_value_numeric_get_unsigned (crl_unsigned_t * result, crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool get_bool () const

C++: bool CrlValueNumeric::get_bool () const
C: crl_bool_t crl_value_numeric_get_bool (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

byte_t get_byte () const

C++: crl_byte_t CrlValueNumeric::get_byte () const
C: crl_byte_t crl_value_numeric_get_byte (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

int get_int () const

C++: int CrlValueNumeric::get_int () const
C: int crl_value_numeric_get_int (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

word32_t get_word32 () const

C++: crl_word32_t CrlValueNumeric::get_word32 () const
C: crl_word32_t crl_value_numeric_get_word32 (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool has (char const * key) const

C++: bool CrlValueNumeric::has (char const * key) const
C: crl_bool_t crl_value_numeric_has (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool has (Value const * key) const

C++: bool CrlValueNumeric::has (CrlValue const * key) const
C: crl_bool_t crl_value_numeric_has_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool has_sym (symbol_t key) const

C++: bool CrlValueNumeric::has_sym (crl_symbol_t key) const
C: crl_bool_t crl_value_numeric_has_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool invalidate ()

C++: bool CrlValueNumeric::invalidate ()
C: crl_bool_t crl_value_numeric_invalidate (crl_value_numeric_t * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool is_special (char const * key) const

C++: bool CrlValueNumeric::is_special (char const * key) const
C: crl_bool_t crl_value_numeric_is_special (crl_value_numeric_t const * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool is_special (Value const * key) const

C++: bool CrlValueNumeric::is_special (CrlValue const * key) const
C: crl_bool_t crl_value_numeric_is_special_val (crl_value_numeric_t const * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool is_special_sym (symbol_t key) const

C++: bool CrlValueNumeric::is_special_sym (crl_symbol_t key) const
C: crl_bool_t crl_value_numeric_is_special_sym (crl_value_numeric_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool is_valid () const

C++: bool CrlValueNumeric::is_valid () const
C: crl_bool_t crl_value_numeric_is_valid (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool is_valid_special () const

C++: bool CrlValueNumeric::is_valid_special () const
C: crl_bool_t crl_value_numeric_is_valid_special (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke (Value * value)

C++: bool CrlValueNumeric::poke (CrlValue * value)
C: crl_bool_t crl_value_numeric_poke (crl_value_numeric_t * self, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke (unsigned_t value)

C++: bool CrlValueNumeric::poke (crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_poke_unsigned (crl_value_numeric_t * self, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke_float (float_t value)

C++: bool CrlValueNumeric::poke_float (crl_float_t value)
C: crl_bool_t crl_value_numeric_poke_float (crl_value_numeric_t * self, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke_once (Value * value)

C++: bool CrlValueNumeric::poke_once (CrlValue * value)
C: crl_bool_t crl_value_numeric_poke_once (crl_value_numeric_t * self, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke_once (unsigned_t value)

C++: bool CrlValueNumeric::poke_once (crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_poke_once_unsigned (crl_value_numeric_t * self, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke_once_float (float_t value)

C++: bool CrlValueNumeric::poke_once_float (crl_float_t value)
C: crl_bool_t crl_value_numeric_poke_once_float (crl_value_numeric_t * self, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke_once_signed (signed_t value)

C++: bool CrlValueNumeric::poke_once_signed (crl_signed_t value)
C: crl_bool_t crl_value_numeric_poke_once_signed (crl_value_numeric_t * self, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool poke_signed (signed_t value)

C++: bool CrlValueNumeric::poke_signed (crl_signed_t value)
C: crl_bool_t crl_value_numeric_poke_signed (crl_value_numeric_t * self, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool reset (char const * key)

C++: bool CrlValueNumeric::reset (char const * key)
C: crl_bool_t crl_value_numeric_reset (crl_value_numeric_t * self, char const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool reset (Value const * key)

C++: bool CrlValueNumeric::reset (CrlValue const * key)
C: crl_bool_t crl_value_numeric_reset_val (crl_value_numeric_t * self, crl_value_t const * key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool reset_sym (symbol_t key)

C++: bool CrlValueNumeric::reset_sym (crl_symbol_t key)
C: crl_bool_t crl_value_numeric_reset_sym (crl_value_numeric_t * self, crl_symbol_t key)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (char const * key, Value * value)

C++: bool CrlValueNumeric::set (char const * key, CrlValue * value)
C: crl_bool_t crl_value_numeric_set (crl_value_numeric_t * self, char const * key, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (char const * key, Item * value)

C++: bool CrlValueNumeric::set (char const * key, CrlItem * value)
C: crl_bool_t crl_value_numeric_set_item (crl_value_numeric_t * self, char const * key, crl_item_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (char const * key, char const * value)

C++: bool CrlValueNumeric::set (char const * key, char const * value)
C: crl_bool_t crl_value_numeric_set_string (crl_value_numeric_t * self, char const * key, char const * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (char const * key, unsigned_t value)

C++: bool CrlValueNumeric::set (char const * key, crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_set_unsigned (crl_value_numeric_t * self, char const * key, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (Value const * key, Value * value)

C++: bool CrlValueNumeric::set (CrlValue const * key, CrlValue * value)
C: crl_bool_t crl_value_numeric_set_val (crl_value_numeric_t * self, crl_value_t const * key, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (Value const * key, Item * value)

C++: bool CrlValueNumeric::set (CrlValue const * key, CrlItem * value)
C: crl_bool_t crl_value_numeric_set_val_item (crl_value_numeric_t * self, crl_value_t const * key, crl_item_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (Value const * key, char const * value)

C++: bool CrlValueNumeric::set (CrlValue const * key, char const * value)
C: crl_bool_t crl_value_numeric_set_val_string (crl_value_numeric_t * self, crl_value_t const * key, char const * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set (Value const * key, unsigned_t value)

C++: bool CrlValueNumeric::set (CrlValue const * key, crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_set_val_unsigned (crl_value_numeric_t * self, crl_value_t const * key, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_float (char const * key, float_t value)

C++: bool CrlValueNumeric::set_float (char const * key, crl_float_t value)
C: crl_bool_t crl_value_numeric_set_float (crl_value_numeric_t * self, char const * key, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_float (Value const * key, float_t value)

C++: bool CrlValueNumeric::set_float (CrlValue const * key, crl_float_t value)
C: crl_bool_t crl_value_numeric_set_val_float (crl_value_numeric_t * self, crl_value_t const * key, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (char const * key, Value * value)

C++: bool CrlValueNumeric::set_once (char const * key, CrlValue * value)
C: crl_bool_t crl_value_numeric_set_once (crl_value_numeric_t * self, char const * key, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (char const * key, Item * value)

C++: bool CrlValueNumeric::set_once (char const * key, CrlItem * value)
C: crl_bool_t crl_value_numeric_set_once_item (crl_value_numeric_t * self, char const * key, crl_item_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (char const * key, char const * value)

C++: bool CrlValueNumeric::set_once (char const * key, char const * value)
C: crl_bool_t crl_value_numeric_set_once_string (crl_value_numeric_t * self, char const * key, char const * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (char const * key, unsigned_t value)

C++: bool CrlValueNumeric::set_once (char const * key, crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_set_once_unsigned (crl_value_numeric_t * self, char const * key, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (Value const * key, Value * value)

C++: bool CrlValueNumeric::set_once (CrlValue const * key, CrlValue * value)
C: crl_bool_t crl_value_numeric_set_once_val (crl_value_numeric_t * self, crl_value_t const * key, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (Value const * key, Item * value)

C++: bool CrlValueNumeric::set_once (CrlValue const * key, CrlItem * value)
C: crl_bool_t crl_value_numeric_set_once_val_item (crl_value_numeric_t * self, crl_value_t const * key, crl_item_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (Value const * key, char const * value)

C++: bool CrlValueNumeric::set_once (CrlValue const * key, char const * value)
C: crl_bool_t crl_value_numeric_set_once_val_string (crl_value_numeric_t * self, crl_value_t const * key, char const * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once (Value const * key, unsigned_t value)

C++: bool CrlValueNumeric::set_once (CrlValue const * key, crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_set_once_val_unsigned (crl_value_numeric_t * self, crl_value_t const * key, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_float (char const * key, float_t value)

C++: bool CrlValueNumeric::set_once_float (char const * key, crl_float_t value)
C: crl_bool_t crl_value_numeric_set_once_float (crl_value_numeric_t * self, char const * key, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_float (Value const * key, float_t value)

C++: bool CrlValueNumeric::set_once_float (CrlValue const * key, crl_float_t value)
C: crl_bool_t crl_value_numeric_set_once_val_float (crl_value_numeric_t * self, crl_value_t const * key, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_signed (char const * key, signed_t value)

C++: bool CrlValueNumeric::set_once_signed (char const * key, crl_signed_t value)
C: crl_bool_t crl_value_numeric_set_once_signed (crl_value_numeric_t * self, char const * key, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_signed (Value const * key, signed_t value)

C++: bool CrlValueNumeric::set_once_signed (CrlValue const * key, crl_signed_t value)
C: crl_bool_t crl_value_numeric_set_once_val_signed (crl_value_numeric_t * self, crl_value_t const * key, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_sym (symbol_t key, Value * value)

C++: bool CrlValueNumeric::set_once_sym (crl_symbol_t key, CrlValue * value)
C: crl_bool_t crl_value_numeric_set_once_sym (crl_value_numeric_t * self, crl_symbol_t key, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_sym (symbol_t key, Item * value)

C++: bool CrlValueNumeric::set_once_sym (crl_symbol_t key, CrlItem * value)
C: crl_bool_t crl_value_numeric_set_once_sym_item (crl_value_numeric_t * self, crl_symbol_t key, crl_item_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_sym (symbol_t key, char const * value)

C++: bool CrlValueNumeric::set_once_sym (crl_symbol_t key, char const * value)
C: crl_bool_t crl_value_numeric_set_once_sym_string (crl_value_numeric_t * self, crl_symbol_t key, char const * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_sym (symbol_t key, unsigned_t value)

C++: bool CrlValueNumeric::set_once_sym (crl_symbol_t key, crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_set_once_sym_unsigned (crl_value_numeric_t * self, crl_symbol_t key, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_sym_float (symbol_t key, float_t value)

C++: bool CrlValueNumeric::set_once_sym_float (crl_symbol_t key, crl_float_t value)
C: crl_bool_t crl_value_numeric_set_once_sym_float (crl_value_numeric_t * self, crl_symbol_t key, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_sym_signed (symbol_t key, signed_t value)

C++: bool CrlValueNumeric::set_once_sym_signed (crl_symbol_t key, crl_signed_t value)
C: crl_bool_t crl_value_numeric_set_once_sym_signed (crl_value_numeric_t * self, crl_symbol_t key, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_sym_symbol (symbol_t key, symbol_t value)

C++: bool CrlValueNumeric::set_once_sym_symbol (crl_symbol_t key, crl_symbol_t value)
C: crl_bool_t crl_value_numeric_set_once_sym_symbol (crl_value_numeric_t * self, crl_symbol_t key, crl_symbol_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_symbol (char const * key, symbol_t value)

C++: bool CrlValueNumeric::set_once_symbol (char const * key, crl_symbol_t value)
C: crl_bool_t crl_value_numeric_set_once_symbol (crl_value_numeric_t * self, char const * key, crl_symbol_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_once_symbol (Value const * key, symbol_t value)

C++: bool CrlValueNumeric::set_once_symbol (CrlValue const * key, crl_symbol_t value)
C: crl_bool_t crl_value_numeric_set_once_val_symbol (crl_value_numeric_t * self, crl_value_t const * key, crl_symbol_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_signed (char const * key, signed_t value)

C++: bool CrlValueNumeric::set_signed (char const * key, crl_signed_t value)
C: crl_bool_t crl_value_numeric_set_signed (crl_value_numeric_t * self, char const * key, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_signed (Value const * key, signed_t value)

C++: bool CrlValueNumeric::set_signed (CrlValue const * key, crl_signed_t value)
C: crl_bool_t crl_value_numeric_set_val_signed (crl_value_numeric_t * self, crl_value_t const * key, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_sym (symbol_t key, Value * value)

C++: bool CrlValueNumeric::set_sym (crl_symbol_t key, CrlValue * value)
C: crl_bool_t crl_value_numeric_set_sym (crl_value_numeric_t * self, crl_symbol_t key, crl_value_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_sym (symbol_t key, Item * value)

C++: bool CrlValueNumeric::set_sym (crl_symbol_t key, CrlItem * value)
C: crl_bool_t crl_value_numeric_set_sym_item (crl_value_numeric_t * self, crl_symbol_t key, crl_item_t * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_sym (symbol_t key, char const * value)

C++: bool CrlValueNumeric::set_sym (crl_symbol_t key, char const * value)
C: crl_bool_t crl_value_numeric_set_sym_string (crl_value_numeric_t * self, crl_symbol_t key, char const * value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_sym (symbol_t key, unsigned_t value)

C++: bool CrlValueNumeric::set_sym (crl_symbol_t key, crl_unsigned_t value)
C: crl_bool_t crl_value_numeric_set_sym_unsigned (crl_value_numeric_t * self, crl_symbol_t key, crl_unsigned_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_sym_float (symbol_t key, float_t value)

C++: bool CrlValueNumeric::set_sym_float (crl_symbol_t key, crl_float_t value)
C: crl_bool_t crl_value_numeric_set_sym_float (crl_value_numeric_t * self, crl_symbol_t key, crl_float_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_sym_signed (symbol_t key, signed_t value)

C++: bool CrlValueNumeric::set_sym_signed (crl_symbol_t key, crl_signed_t value)
C: crl_bool_t crl_value_numeric_set_sym_signed (crl_value_numeric_t * self, crl_symbol_t key, crl_signed_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_sym_symbol (symbol_t key, symbol_t value)

C++: bool CrlValueNumeric::set_sym_symbol (crl_symbol_t key, crl_symbol_t value)
C: crl_bool_t crl_value_numeric_set_sym_symbol (crl_value_numeric_t * self, crl_symbol_t key, crl_symbol_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_symbol (char const * key, symbol_t value)

C++: bool CrlValueNumeric::set_symbol (char const * key, crl_symbol_t value)
C: crl_bool_t crl_value_numeric_set_symbol (crl_value_numeric_t * self, char const * key, crl_symbol_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

bool set_symbol (Value const * key, symbol_t value)

C++: bool CrlValueNumeric::set_symbol (CrlValue const * key, crl_symbol_t value)
C: crl_bool_t crl_value_numeric_set_val_symbol (crl_value_numeric_t * self, crl_value_t const * key, crl_symbol_t value)
#endif


#if CRL_NEED_VALUE_NUMERIC

Value * get ()

C++: CrlValue * CrlValueNumeric::get ()
C: crl_value_t * crl_value_numeric_get (crl_value_numeric_t * self)

self

#endif


#if CRL_NEED_VALUE_NUMERIC

Value const * get () const

C++: CrlValue const * CrlValueNumeric::get () const
C: crl_value_t const * crl_value_numeric_get_const (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumericSimple * minimum ()

C++: CrlValueNumericSimple * CrlValueNumeric::minimum ()
C: crl_value_numeric_simple_t * crl_value_numeric_get_minimum (crl_value_numeric_t * self)

This function redirects execution to v_minimum().

The implementation is NULL-safe; for this == NULL, this function returns NULL.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumericSimple * maximum ()

C++: CrlValueNumericSimple * CrlValueNumeric::maximum ()
C: crl_value_numeric_simple_t * crl_value_numeric_get_maximum (crl_value_numeric_t * self)

This function redirects execution to v_maximum().

The implementation is NULL-safe; for this == NULL, this function returns NULL.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * to_float ()

C++: CrlValueNumeric * CrlValueNumeric::to_float ()
C: crl_value_numeric_t * crl_value_numeric_to_float (crl_value_numeric_t * self)

Tries to coerce the number to a float. Ranges will be coerced seperately for minimum and maximum.

See to_signed() for details about REFing.

This function redirects execution to v_to_float().

The implementation is NULL-safe; for this == NULL, this function returns NULL.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * to_signed ()

C++: CrlValueNumeric * CrlValueNumeric::to_signed ()
C: crl_value_numeric_t * crl_value_numeric_to_signed (crl_value_numeric_t * self)

Tries to coerce the number to an unsigned. Ranges will be coerced seperately for minimum and maximum.

As in add(), this is occasionally REF_UNREFed. However, this might simply return this, in which case this is not REF_UNREFed. This allows you to use something like:

x->set ("test", (new ValueUnsigned(a))->to_signed()).

You could not write this is REF_UNREF was invoked when this is returned, since the reference counter is 0 after creation. Only set() increments it.

This function redirects execution to v_to_signed().

The implementation is NULL-safe; for this == NULL, this function returns NULL.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * to_unsigned ()

C++: CrlValueNumeric * CrlValueNumeric::to_unsigned ()
C: crl_value_numeric_t * crl_value_numeric_to_unsigned (crl_value_numeric_t * self)

Tries to coerce the number to a signed. Ranges will be coerced seperately for minimum and maximum.

See to_signed() for details about REFing.

This function redirects execution to v_to_unsigned().

The implementation is NULL-safe; for this == NULL, this function returns NULL.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * neg () const

C++: CrlValueNumeric * CrlValueNumeric::neg () const
C: crl_value_numeric_t * crl_value_numeric_neg (crl_value_numeric_t const * self)

Negates a value. Works for all floats, and for signeds except for the smallest possible signed value, and for the single unsigned value of 0.

Note that this always creates a new value, even if equal to the old one (that's due to C++'s const-qualifier: this function is const, but the result is not. So we have to copy).

As in add(), this is REF_UNREFed.

For ranges, the lower and upper bounds are swapped and the minium and maximum negated individually.

This function redirects execution to v_neg().

The implementation is NULL-safe; for this == NULL, this function returns NULL.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * add (ValueNumeric const *) const

C++: CrlValueNumeric * CrlValueNumeric::add (CrlValueNumeric const *) const
C: crl_value_numeric_t * crl_value_numeric_add (crl_value_numeric_t const * self, crl_value_numeric_t const *)

Creates a new value that is the sum of this and the given value. This handles signs and ranges correctly. The sign(s) of this will be the same as for the result, ie. when this is CrlValueUnsigned(), you'll always get an Unsigned value back, no matter whether the given operand is signed. This holds for both parts of ranges, too: if the minimum is signed, you'll get a signed minimum back. The same for the maximum. Minumum and maximum may have different signs, btw.

The result will be NULL if the resulting value is out of range. (E.g. when adding the CrlValueSigned(-5) to CrlValueUnsigned(2)). It will also be NULL if this or the argument is NULL (in order to pass through overflow errors).

If this or the argument is a range, the result will also be a range.

For floats, this is not yet implemented. Theoretically, they'd work as follows: If this is a float, you'll get back a float. If this is not a float, but the argument is, you'll get back an assertion failure (and not NULL).

Note that the input value will be REF_UNREFed, so you can pass newly allocated values without memory leak.

Also note that as a special case, even this is REF_UNREFed (this is seldom done in this library), so you can write without memory leak:

a= new CrlValueUnsigned(2)             // this is also REF_UNREFed by add
       ->add (new CrlValueSigned(5))
       ->add (new CrlValueSigned(2));

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * sub (ValueNumeric const *) const

C++: CrlValueNumeric * CrlValueNumeric::sub (CrlValueNumeric const *) const
C: crl_value_numeric_t * crl_value_numeric_sub (crl_value_numeric_t const * self, crl_value_numeric_t const *)

Just like add(), but subtracts.

Note that this even handles 3 - (-MAXINT) without an error. This could not be handled by add() together with neg(). Therefore, sub() was chosen as the core implementation for subtraction, not neg(). neg() is currently derived from sub().

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * add (AnyValue) const

C++: CrlValueNumeric * CrlValueNumeric::add (CrlAnyValue) const
C: Not available.

Convenience wrapper for C++ for adding numbers easily.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric * sub (AnyValue) const

C++: CrlValueNumeric * CrlValueNumeric::sub (CrlAnyValue) const
C: Not available.

Convenience wrapper for C++ for subtracting numbers easily.

#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumericSimple const * minimum () const

C++: CrlValueNumericSimple const * CrlValueNumeric::minimum () const
C: crl_value_numeric_simple_t const * crl_value_numeric_get_minimum_const (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumericSimple const * maximum () const

C++: CrlValueNumericSimple const * CrlValueNumeric::maximum () const
C: crl_value_numeric_simple_t const * crl_value_numeric_get_maximum_const (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric const * to_float () const

C++: CrlValueNumeric const * CrlValueNumeric::to_float () const
C: crl_value_numeric_t const * crl_value_numeric_to_float_const (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric const * to_signed () const

C++: CrlValueNumeric const * CrlValueNumeric::to_signed () const
C: crl_value_numeric_t const * crl_value_numeric_to_signed_const (crl_value_numeric_t const * self)
#endif


#if CRL_NEED_VALUE_NUMERIC

ValueNumeric const * to_unsigned () const

C++: CrlValueNumeric const * CrlValueNumeric::to_unsigned () const
C: crl_value_numeric_t const * crl_value_numeric_to_unsigned_const (crl_value_numeric_t const * self)
#endif


Occurrences of CrlValueNumeric

ValueNumeric *CrlValueNumeric::add(ValueNumeric const *) const
ValueNumeric *CrlValueNumeric::add(AnyValue) const
ValueNumeric *CrlObject::as_ValueNumeric()
ValueNumeric const *CrlObject::as_ValueNumeric() const
ValueNumeric *CrlObject::cast_ValueNumeric()
ValueNumeric const *CrlObject::cast_ValueNumeric() const
ValueNumeric *CrlValueNumeric::neg() const
ValueNumeric *CrlValueNumeric::sub(ValueNumeric const *) const
ValueNumeric *CrlValueNumeric::sub(AnyValue) const
ValueNumeric *CrlValueNumeric::to_float()
ValueNumeric const *CrlValueNumeric::to_float() const
ValueNumeric *CrlValueNumeric::to_signed()
ValueNumeric const *CrlValueNumeric::to_signed() const
ValueNumeric *CrlValueNumeric::to_unsigned()
ValueNumeric const *CrlValueNumeric::to_unsigned() const


Generated by erwin-cgen © AbsInt Angewandte Informatik GmbH