GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
FOREIGN_TYPED_OBJECT
+
Point of view
INTERNALS_HANDLER
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
FOREIGN_PARAMETERS
FOREIGN_AGENT
All features
class FOREIGN_TYPED_OBJECT [E_]
Summary
top
Direct parents
Inherit list:
FOREIGN_OBJECT
Overview
top
Creation features
with
(an_item: E_)
Creates a
FOREIGN_TYPED_OBJECT
from
an_item
.
Exported features
item
: E_
set_item
(an_item: E_)
Sets an item to this
FOREIGN_TYPED_OBJECT
.
Type querying
type_of
(an_item: E_):
FOREIGN_TYPE
The type of
an_item
.
match_type
(a_type:
FOREIGN_TYPE
):
BOOLEAN
type
:
FOREIGN_TYPE
item
: E_
writable attribute
top
set_item
(an_item: E_)
effective procedure
top
Sets an item to this
FOREIGN_TYPED_OBJECT
.
If
an_item
exists then
an_item
must match the
type
.
require
a_type_matches_an_item:
an_item /= Void implies
match_type
(
type_of
(an_item))
ensure
item
= an_item
type_of
(an_item: E_):
FOREIGN_TYPE
effective function
top
The type of
an_item
.
match_type
(a_type:
FOREIGN_TYPE
):
BOOLEAN
effective function
top
type
:
FOREIGN_TYPE
writable attribute
top