Author:halw

Date:2011-03-06T16:48:28.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@800 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2011-03-06 17:15:12 +00:00
parent 4a8b90af6c
commit eec1759dc7
2 changed files with 23 additions and 15 deletions

View File

@@ -3,21 +3,21 @@
[[Property:weight|-15]] [[Property:weight|-15]]
[[Property:uuid|7cdf93a7-6f63-869a-5443-b8908a086d18]] [[Property:uuid|7cdf93a7-6f63-869a-5443-b8908a086d18]]
==Overview== ==Overview==
<code lang="C"> <code lang="text">
#include "eif_cecil.h" #include "eif_cecil.h"
EIF_BOOLEAN attribute_exists (EIF_REFERENCE object, char * name); EIF_BOOLEAN attribute_exists (EIF_REFERENCE object, char * name);
</code> </code>
==Description== ==Description==
The <code lang="C">attribute_exists()</code> macro returns <code lang="C">EIF_TRUE</code> when the attribute of name <code lang="C">name</code> exists in the Eiffel object (reference) <code lang="C">object</code> . The <code lang="text">attribute_exists()</code> macro returns <code lang="text">EIF_TRUE</code> when the attribute of name <code lang="text">name</code> exists in the Eiffel object (reference) <code lang="text">object</code>.
==Return value== ==Return value==
<code lang="C">EIF_TRUE</code> or <code lang="C">EIF_FALSE</code>. <code lang="text">EIF_TRUE</code> or <code lang="text">EIF_FALSE</code>.
==Conformance== ==Conformance==
ISE Eiffel 4.5 and later. ISE Eiffel 4.5 and later.
{{SeeAlso|<br/>[[Reference for `eif_attribute'.]] }} {{SeeAlso|<br/>[[Reference for `eif_attribute']] }}

View File

@@ -2,20 +2,28 @@
[[Property:link_title|eif_access]] [[Property:link_title|eif_access]]
[[Property:weight|-14]] [[Property:weight|-14]]
[[Property:uuid|2f74eeb4-2508-bf32-adf2-87959cfb2593]] [[Property:uuid|2f74eeb4-2508-bf32-adf2-87959cfb2593]]
==SYNOPSYS== ==Synopsis==
<code> <code lang="text">
'''#include "eif_hector.h" #include "eif_hector.h"
EIF_REFERENCE eif_access (EIF_OBJECT''' ''obj''''');'''</code> EIF_REFERENCE eif_access (EIF_OBJECT obj);
</code>
==DESCRIPTION== ==Description==
The '''eif_access()''' macro accesses the Eiffel object ''obj''. The <code lang="text">eif_access()</code> macro accesses the Eiffel object <code lang="text">obj</code>.
==RETURN VALUE==
It returns the Eiffel reference protected by ''obj'' and which can be passed to Eiffel routines. ==Return value==
==CONFORMANCE== The Eiffel reference (<code lang="text">EIF_REFERENCE</code>) protected by <code lang="text">obj</code> which can be passed to Eiffel routines.
==Conformance==
ISE Eiffel 4.1 and later. ISE Eiffel 4.1 and later.
==SEE ALSO==
'''eif_wean'''(1) , '''eif_adopt'''(1), '''eif_protect'''(1).
{{SeeAlso| <br/>
[[Reference for `eif_wean']]<br/>
[[Reference for `eif_adopt']]<br/>
[[Reference for `eif_protect']] }}