eif_attribute_type

Synopsis

#include "eif_cecil.h" int eif_attribute_type (char *attr, EIF_TYPE_ID tid);

Description

The eif_attribute_type function returns the type of the attribute attr, from the Eiffel type, which type identifier is tid.

Return value

Sucessful: One of the following:

  1. EIF_INTEGER_TYPE
  2. EIF_CHARACTER_TYPE
  3. EIF_BOOLEAN_TYPE
  4. EIF_DOUBLE_TYPE
  5. EIF_REAL_TYPE
  6. EIF_REFERENCE_TYPE
  7. EIF_EXPANDED_TYPE
  8. EIF_BIT_TYPE

Failing: EIF_NO_TYPE

Conformance

ISE Eiffel 4.5 and later.

See Also:
eif_protect
attribute_exists
eif_procedure
eif_*_function