diff --git a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute-type.wiki b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute-type.wiki index ff1ec875..dc28c119 100644 --- a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute-type.wiki +++ b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute-type.wiki @@ -2,20 +2,36 @@ [[Property:link_title|eif_attribute_type]] [[Property:weight|-11]] [[Property:uuid|28b3840f-648f-dc4d-8c83-70532a5e8e63]] -==SYNOPSYS== - -'''#include "eif_cecil.h" +==Synopsis== + +#include "eif_cecil.h" -int eif_attribute_type (char *''' ''attr''''', EIF_TYPE_ID''' ''tid''''');''' +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== -Upon failure, it returns EIF_NO_TYPE. Otherwise, the return value can be one of the following: '''EIF_INTEGER_TYPE''', '''EIF_CHARACTER_TYPE''', '''EIF_BOOLEAN_TYPE''', '''EIF_DOUBLE_TYPE''', '''EIF_REAL_TYPE''', '''EIF_REFERENCE_TYPE''', '''EIF_EXPANDED_TYPE''', '''EIF_BIT_TYPE'''. -==CONFORMANCE== +==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: +# EIF_INTEGER_TYPE +# EIF_CHARACTER_TYPE +# EIF_BOOLEAN_TYPE +# EIF_DOUBLE_TYPE +# EIF_REAL_TYPE +# EIF_REFERENCE_TYPE +# EIF_EXPANDED_TYPE +# EIF_BIT_TYPE + +Failing: EIF_NO_TYPE + +==Conformance== ISE Eiffel 4.5 and later. -==SEE ALSO== -'''eif_protect'''(1) , '''attribute_exists'''(1) , '''eif_procedure'''(1) , '''eif_reference_function'''(1). - + +{{SeeAlso|
[[Reference for `eif_protect']]
+[[Reference for `attribute_exists']]
+[[Reference for `eif_procedure']]
+[[Reference for `eif_reference_function']] }} diff --git a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute.wiki b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute.wiki index 3a2b0b40..88a5af6f 100644 --- a/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute.wiki +++ b/documentation/current/solutions/other-languages/cecil/cecil-reference/eif-attribute.wiki @@ -26,6 +26,7 @@ If the visible exception is enabled, then a visible exception is raised upon fai ==Return value== Successful: the Eiffel attribute. + Failing: (EIFFEL_TYPE) 0 ==Notes== @@ -56,3 +57,5 @@ which is deprecated. [[Reference for `eif_reference_function']] }} + +