<< ContextRepeat
 Top   Types   Functions   Classes   Index 
RoutineItem >>

struct CrlItem / crl_item_t

Abstract Class


Description

This is the base class for all crl items that have attributes.

You can access all attributes, including special ones that are available in C++ (like routine->external()).

Kinship

Immediate super class: WithID

Immediate sub classes: RoutineItem, Graph, Data, Bytes, Meta, Info

Slots

MapSymbolValue attrs

Inherited Slots

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

Members

MapSymbolValue const *attrs() const
VCharattrs_to_vchar() const
VCharattrs_to_vchar(int variant) const
VCharattrs_to_vchar(Graph const *, int variant) const
voidclear_attrs()
ItemDeclaration *declaration() 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
Value *find_sym(symbol_t key) const
boolfind_sym(float_t & result, symbol_t key) const
boolfind_sym(signed_t & result, 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
Value *get()
Value const *get() const
Item *get_item()
Item const *get_item() const
boolhas(char const * key) const
boolhas(Value const * key) const
boolhas_attrs() 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
char const *name() const
boolpoke(Value * value)
boolpoke_once(Value * value)
voidprint_attrs(VChar & v) const
voidprint_attrs(FILE *) const
voidprint_attrs(VChar & v, int variant) const
voidprint_attrs(FILE *, int variant) const
voidprint_attrs(VChar &, Graph const *, int variant) const
voidprint_attrs(FILE *, Graph const *, int variant) const
boolreset(char const * key)
boolreset(Value const * key)
voidreset_attribute_sym(symbol_t key)
voidreset_ctxt_attribute_sym(symbol_t key)
voidreset_ctxt_recursively(char const * key)
voidreset_ctxt_recursively_sym(symbol_t key)
voidreset_recursively(char const * key)
voidreset_recursively_sym(symbol_t 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)

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::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
WithID::unique_id
Crl::unsigned_default_user_print_file
Crl::unsigned_default_user_print_vchar
Object::operator delete
Object::operator new
Object::operator!=crl_item_is_not_equal
Object::operator<crl_item_is_less_than
Object::operator<=crl_item_is_less_equal
Object::operator==crl_item_is_equal
Object::operator>crl_item_is_greater_than
Object::operator>=crl_item_is_greater_equal
Object::_ref
Object::_ref_unref
Object::_unref
Object::_unref_no_delete
Object::check_sigcrl_item_check_sig
Object::class_idcrl_item_get_class_id
Object::cmpcrl_item_cmp
Object::cmp_shallowcrl_item_cmp_shallow
WithID::crl_abbrevcrl_item_get_crl_abbrev
WithID::crl_namecrl_item_get_crl_name
Object::graphcrl_item_get_graph_const
Object::hashcrl_item_hash
Object::hash_shallowcrl_item_hash_shallow
Object::heap_sigcrl_item_get_heap_sig
WithID::idcrl_item_get_id
WithID::id_to_vcharcrl_item_id_to_string
Object::klass_idcrl_item_get_klass_id
Object::klass_namecrl_item_get_klass_name
Object::mapcrl_item_map
Object::map_subcrl_item_map_sub_with_data
Object::printcrl_item_print_vchar
WithID::print_idcrl_item_print_id_vchar
Object::ref_count
Object::routinecrl_item_get_routine_const
Object::set_user_datacrl_item_set_user_data
Structure::skipcrl_item_skip
Object::to_vcharcrl_item_to_vchar
Object::user_datacrl_item_get_user_data_const


Detailed Descriptions


#if CRL_NEED_ITEM

MapSymbolValue const * attrs () const

C++: CrlMapSymbolValue const * CrlItem::attrs () const
C: CrlMapSymbolValue const * crl_item_get_attrs (crl_item_t const * self)

Reader of slot 'attrs': The context insensitive attributes.

This reader is NULL safe; for this == NULL, it returns NULL.

#endif


#if CRL_NEED_ITEM

Value * find_sym (symbol_t key) const

C++: CrlValue * CrlItem::find_sym (crl_symbol_t key) const
C: crl_value_t * crl_item_find_sym (crl_item_t const * self, crl_symbol_t key)

native

#endif


#if CRL_NEED_ITEM

Value * get ()

C++: CrlValue * CrlItem::get ()
C: crl_value_t * crl_item_get (crl_item_t * self)
#endif


#if CRL_NEED_ITEM

bool has_sym (symbol_t key) const

C++: bool CrlItem::has_sym (crl_symbol_t key) const
C: crl_bool_t crl_item_has_sym (crl_item_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_ITEM

bool invalidate ()

C++: bool CrlItem::invalidate ()
C: crl_bool_t crl_item_invalidate (crl_item_t * self)
#endif


#if CRL_NEED_ITEM

bool is_special_sym (symbol_t key) const

C++: bool CrlItem::is_special_sym (crl_symbol_t key) const
C: crl_bool_t crl_item_is_special_sym (crl_item_t const * self, crl_symbol_t key)
#endif


#if CRL_NEED_ITEM

bool is_valid () const

C++: bool CrlItem::is_valid () const
C: crl_bool_t crl_item_is_valid (crl_item_t const * self)
#endif


#if CRL_NEED_ITEM

bool is_valid_special () const

C++: bool CrlItem::is_valid_special () const
C: crl_bool_t crl_item_is_valid_special (crl_item_t const * self)
#endif


#if CRL_NEED_ITEM

bool poke (Value * value)

C++: bool CrlItem::poke (CrlValue * value)
C: crl_bool_t crl_item_poke (crl_item_t * self, crl_value_t * value)
#endif


#if CRL_NEED_ITEM

bool poke_once (Value * value)

C++: bool CrlItem::poke_once (CrlValue * value)
C: crl_bool_t crl_item_poke_once (crl_item_t * self, crl_value_t * value)
#endif


#if CRL_NEED_ITEM

bool reset_sym (symbol_t key)

C++: bool CrlItem::reset_sym (crl_symbol_t key)
C: crl_bool_t crl_item_reset_sym (crl_item_t * self, crl_symbol_t key)
#endif


#if CRL_NEED_ITEM

bool set_once_sym (symbol_t key, Value * value)

C++: bool CrlItem::set_once_sym (crl_symbol_t key, CrlValue * value)
C: crl_bool_t crl_item_set_once_sym (crl_item_t * self, crl_symbol_t key, crl_value_t * value)
#endif


#if CRL_NEED_ITEM

bool set_sym (symbol_t key, Value * value)

C++: bool CrlItem::set_sym (crl_symbol_t key, CrlValue * value)
C: crl_bool_t crl_item_set_sym (crl_item_t * self, crl_symbol_t key, crl_value_t * value)
#endif


#if CRL_NEED_ITEM

Item * get_item ()

C++: CrlItem * CrlItem::get_item ()
C: crl_item_t * crl_item_get_item (crl_item_t * self)

self

#endif


#if CRL_NEED_ITEM

Item const * get_item () const

C++: CrlItem const * CrlItem::get_item () const
C: crl_item_t const * crl_item_get_item_const (crl_item_t const * self)
#endif


#if CRL_NEED_ITEM

Value * find (char const * key) const

C++: CrlValue * CrlItem::find (char const * key) const
C: crl_value_t * crl_item_find (crl_item_t const * self, char const * key)

wrap

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

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

C++: bool CrlItem::find (crl_float_t & result, char const * key) const
C: crl_bool_t crl_item_find_float (crl_float_t * result, crl_item_t const * self, char const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

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

C++: bool CrlItem::find (crl_float_t & result, CrlValue const * key) const
C: crl_bool_t crl_item_find_float_val (crl_float_t * result, crl_item_t const * self, crl_value_t const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

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

C++: bool CrlItem::find (crl_signed_t & result, char const * key) const
C: crl_bool_t crl_item_find_signed (crl_signed_t * result, crl_item_t const * self, char const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

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

C++: bool CrlItem::find (crl_signed_t & result, CrlValue const * key) const
C: crl_bool_t crl_item_find_signed_val (crl_signed_t * result, crl_item_t const * self, crl_value_t const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

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

C++: bool CrlItem::find (crl_unsigned_t & result, char const * key) const
C: crl_bool_t crl_item_find_unsigned (crl_unsigned_t * result, crl_item_t const * self, char const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

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

C++: bool CrlItem::find (crl_unsigned_t & result, CrlValue const * key) const
C: crl_bool_t crl_item_find_unsigned_val (crl_unsigned_t * result, crl_item_t const * self, crl_value_t const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

Value * find (Value const * key) const

C++: CrlValue * CrlItem::find (CrlValue const * key) const
C: crl_value_t * crl_item_find_val (crl_item_t const * self, crl_value_t const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

bool find_bool (char const * key) const

C++: bool CrlItem::find_bool (char const * key) const
C: crl_bool_t crl_item_find_bool (crl_item_t const * self, char const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

bool find_bool (Value const * key) const

C++: bool CrlItem::find_bool (CrlValue const * key) const
C: crl_bool_t crl_item_find_bool_val (crl_item_t const * self, crl_value_t const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

bool find_bool_sym (symbol_t key) const

C++: bool CrlItem::find_bool_sym (crl_symbol_t key) const
C: crl_bool_t crl_item_find_bool_sym (crl_item_t const * self, crl_symbol_t key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

byte_t find_byte (char const * key) const

C++: crl_byte_t CrlItem::find_byte (char const * key) const
C: crl_byte_t crl_item_find_byte (crl_item_t const * self, char const * key)

< Value * find_sym (symbol_t key) const

#endif


#if CRL_NEED_ITEM

byte_t find_byte (Value const * key) const