Update wikipage eif_attribute_type. (Signed-off-by:jocelyn).

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1511 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2016-03-31 21:03:20 +00:00
parent 41d6d882eb
commit 528e8276ff

View File

@@ -1,39 +1,39 @@
[[Property:title|eif_attribute_type]]
[[Property:weight|-11]]
[[Property:uuid|28b3840f-648f-dc4d-8c83-70532a5e8e63]]
==Synopsis==
<code lang="text">
#include "eif_cecil.h"
int eif_attribute_type (char *attr, EIF_TYPE_ID tid);
</code>
==Description==
The <code lang="text">eif_attribute_type</code> function returns the type of the attribute <code lang="text">attr</code>, from the Eiffel type, which type identifier is <code lang="text">tid</code>.
==Return value==
Sucessful: One of the following:
# <code lang="text">EIF_INTEGER_TYPE</code>
# <code lang="text">EIF_CHARACTER_TYPE</code>
# <code lang="text">EIF_BOOLEAN_TYPE</code>
# <code lang="text">EIF_DOUBLE_TYPE</code>
# <code lang="text">EIF_REAL_TYPE</code>
# <code lang="text">EIF_REFERENCE_TYPE</code>
# <code lang="text">EIF_EXPANDED_TYPE</code>
# <code lang="text">EIF_BIT_TYPE</code>
Failing: <code lang="text">EIF_NO_TYPE</code>
==Conformance==
ISE Eiffel 4.5 and later.
{{SeeAlso| <br/>
[[eif_protect]]<br/>
[[attribute_exists]]<br/>
[[eif_procedure]]<br/>
[[eif_reference_function]] }}
[[Property:title|eif_attribute_type]]
[[Property:weight|-11]]
[[Property:uuid|28b3840f-648f-dc4d-8c83-70532a5e8e63]]
==Synopsis==
<code lang="text">
#include "eif_cecil.h"
int eif_attribute_type (char *attr, EIF_TYPE_ID tid);
</code>
==Description==
The <code lang="text">eif_attribute_type</code> function returns the type of the attribute <code lang="text">attr</code>, from the Eiffel type, which type identifier is <code lang="text">tid</code>.
==Return value==
Sucessful: One of the following:
# <code lang="text">EIF_INTEGER_TYPE</code>
# <code lang="text">EIF_CHARACTER_TYPE</code>
# <code lang="text">EIF_BOOLEAN_TYPE</code>
# <code lang="text">EIF_DOUBLE_TYPE</code>
# <code lang="text">EIF_REAL_TYPE</code>
# <code lang="text">EIF_REFERENCE_TYPE</code>
# <code lang="text">EIF_EXPANDED_TYPE</code>
# <code lang="text">EIF_BIT_TYPE</code>
Failing: <code lang="text">EIF_NO_TYPE</code>
==Conformance==
ISE Eiffel 4.5 and later.
{{SeeAlso| <br/>
[[eif_protect]]<br/>
[[attribute_exists]]<br/>
[[eif_procedure]]<br/>
[[eif_*_function]] }}