GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
TYPED_VARIANT
+
Point of view
All features
ANY
All features
class TYPED_VARIANT [E_]
Summary
top
An object holding values that may be picked from several effective types. A variant object could hold an integer, another a string, another a date.
Direct parents
Inherit list:
REFERENCE
,
VARIANT
Overview
top
Creation features
{
ANY
}
set_item
(i: E_) assign
item
Features
{
ANY
}
out
:
STRING
Create a new string containing terse printable representation of current object.
{
ANY
}
item
: E_
set_item
(i: E_) assign
item
clear
Reset
item
with the default value.
out
:
STRING
effective function
{
ANY
}
top
Create a new string containing terse printable representation of current object.
item
: E_
writable attribute
{
ANY
}
top
set_item
(i: E_) assign
item
effective procedure
{
ANY
}
top
ensure
item
= i
clear
effective procedure
{
ANY
}
top
Reset
item
with the default value.