GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
tutorial
>
ITEM_COLLECTOR
+
Point of view
All features
ANY
All features
class ITEM_COLLECTOR
Summary
top
collector of items in the constraints
Direct parents
Insert list:
ANY
Overview
top
Creation features
{
ANY
}
make
Features
{
ANY
}
item_set
:
HASHED_SET
[
ITEM_ITEM
]
the collected items
var_set
:
HASHED_SET
[
ITEM_VAR
]
the collected vars
make
clear
has_var
:
BOOLEAN
has_item
:
BOOLEAN
put
(item:
ITEM
)
records the item in item_set or in var_set depending on the real type of item that can be
ITEM_VAR
or
ITEM_ITEM
item_set
:
HASHED_SET
[
ITEM_ITEM
]
writable attribute
{
ANY
}
top
the collected items
var_set
:
HASHED_SET
[
ITEM_VAR
]
writable attribute
{
ANY
}
top
the collected vars
make
effective procedure
{
ANY
}
top
ensure
not
has_item
or
has_var
clear
effective procedure
{
ANY
}
top
ensure
not
has_item
or
has_var
has_var
:
BOOLEAN
effective function
{
ANY
}
top
ensure
Result =
var_set
.count > 0
has_item
:
BOOLEAN
effective function
{
ANY
}
top
ensure
Result =
item_set
.count > 0
put
(item:
ITEM
)
effective procedure
{
ANY
}
top
records the item in item_set or in var_set depending on the real type of item that can be
ITEM_VAR
or
ITEM_ITEM