GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
wrappers
>
HISTORY_ITERATOR
+
Point of view
WRAPPER
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
WRAPPER
WRAPPER_HANDLER
All features
class HISTORY_ITERATOR
Summary
top
Direct parents
Inherit list:
ITERATOR
Insert list:
HISTORY_EXTERNALS
Overview
top
Creation features
Exported features
start
Positions the iterator to the first object in the aggregate to be traversed.
item
:
HISTORY_ENTRY
Returns the object at the current position in the sequence.
next
Positions the iterator to the next object in the sequence.
is_off
:
BOOLEAN
Returns True when there are no more objects in the sequence.
generation
:
INTEGER_32
iterable_generation
:
INTEGER_32
is_valid
:
BOOLEAN
Agent-based features:
for_each
(action:
PROCEDURE
[
TUPLE
[TUPLE 1[E_]]])
Apply
action
to every item of
Current
.
for_all
(test:
FUNCTION
[
TUPLE
[TUPLE 1[E_]]]):
BOOLEAN
Do all items satisfy
test
?
exists
(test:
FUNCTION
[
TUPLE
[TUPLE 1[E_]]]):
BOOLEAN
Does at least one item satisfy
test
?
aggregate
(action:
FUNCTION
[
TUPLE
[TUPLE 2[E_, E_], E_]], initial: E_): E_
Aggregate all the elements starting from the initial value.
variable-size types
long
:
INTEGER_64
a query with the same type of c 'long int'.
long_unsigned
:
NATURAL_64
a query with the same type of c 'long unsigned int'.
C type definitions (typedefs)
comparison_fn_t
:
POINTER
typedef comparison_fn_t from /usr/include/stdlib.h Empty by design, used for anchored declarations.
timer_t
:
POINTER
typedef timer_t from /usr/include/time.h Empty by design, used for anchored declarations.
clockid_t
:
INTEGER_32
typedef clockid_t from /usr/include/time.h Empty by design, used for anchored declarations.
time_t
:
INTEGER_64
typedef time_t from /usr/include/time.h Empty by design, used for anchored declarations.
clock_t
:
INTEGER_64
typedef clock_t from /usr/include/time.h Empty by design, used for anchored declarations.
uintmax_t
:
NATURAL_64
typedef uintmax_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
intmax_t
:
INTEGER_64
typedef intmax_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uintptr_t
:
NATURAL_64
typedef uintptr_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
intptr_t
:
INTEGER_64
typedef intptr_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_fast64_t
:
NATURAL_64
typedef uint_fast64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_fast32_t
:
NATURAL_64
typedef uint_fast32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_fast16_t
:
NATURAL_64
typedef uint_fast16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_fast8_t
:
CHARACTER
typedef uint_fast8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_fast64_t
:
INTEGER_64
typedef int_fast64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_fast32_t
:
INTEGER_64
typedef int_fast32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_fast16_t
:
INTEGER_64
typedef int_fast16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_fast8_t
:
CHARACTER
typedef int_fast8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_least64_t
:
NATURAL_64
typedef uint_least64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_least32_t
:
NATURAL_32
typedef uint_least32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_least16_t
:
NATURAL_16
typedef uint_least16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint_least8_t
:
CHARACTER
typedef uint_least8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_least64_t
:
INTEGER_64
typedef int_least64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_least32_t
:
INTEGER_32
typedef int_least32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_least16_t
:
INTEGER_16
typedef int_least16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int_least8_t
:
CHARACTER
typedef int_least8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint64_t
:
NATURAL_64
typedef uint64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint32_t
:
NATURAL_32
typedef uint32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint16_t
:
NATURAL_16
typedef uint16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
uint8_t
:
CHARACTER
typedef uint8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int64_t
:
INTEGER_64
typedef int64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int32_t
:
INTEGER_32
typedef int32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int16_t
:
INTEGER_16
typedef int16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
int8_t
:
CHARACTER
typedef int8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ssize_t
:
INTEGER_64
typedef ssize_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
off64_t
:
INTEGER_64
typedef off64_t from /usr/include/stdio.h Empty by design, used for anchored declarations.
off_t
:
INTEGER_64
typedef off_t from /usr/include/stdio.h Empty by design, used for anchored declarations.
size_t
:
NATURAL_64
typedef size_t from /usr/include/stdlib.h Empty by design, used for anchored declarations.
ptrdiff_t
:
INTEGER_64
typedef ptrdiff_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
error_t
:
INTEGER_32
typedef error_t from /usr/include/errno.h Empty by design, used for anchored declarations.
start
effective procedure
top
Positions the iterator to the first object in the aggregate to be traversed.
ensure
is_valid
item
:
HISTORY_ENTRY
effective function
top
Returns the object at the current position in the sequence.
require
is_valid
not is_off
ensure
generation = old generation
is_valid
next
effective procedure
top
Positions the iterator to the next object in the sequence.
require
is_valid
not is_off
ensure
generation = old generation
is_valid
is_off
:
BOOLEAN
effective function
top
Returns True when there are no more objects in the sequence.
require
is_valid
ensure
generation = old generation
is_valid
generation
:
INTEGER_32
effective function
top
iterable_generation
:
INTEGER_32
writable attribute
top
is_valid
:
BOOLEAN
frozen
effective function
top
for_each
(action:
PROCEDURE
[
TUPLE
[TUPLE 1[E_]]])
effective procedure
top
Apply
action
to every item of
Current
.
See also
for_all
,
exists
,
aggregate
.
for_all
(test:
FUNCTION
[
TUPLE
[TUPLE 1[E_]]]):
BOOLEAN
effective function
top
Do all items satisfy
test
?
See also
for_each
,
exists
,
aggregate
.
exists
(test:
FUNCTION
[
TUPLE
[TUPLE 1[E_]]]):
BOOLEAN
effective function
top
Does at least one item satisfy
test
?
See also
for_each
,
for_all
,
aggregate
.
aggregate
(action:
FUNCTION
[
TUPLE
[TUPLE 2[E_, E_], E_]], initial: E_): E_
effective function
top
Aggregate all the elements starting from the initial value.
See also
for_each
,
for_all
,
exists
.
long
:
INTEGER_64
effective function
top
a query with the same type of c 'long int'.
useful when dealing with code that uses long int variable: just insert th class and mark the type as 'like long'
long_unsigned
:
NATURAL_64
effective function
top
a query with the same type of c 'long unsigned int'.
useful when dealing with code that uses long int variable: just insert th class and mark the type as 'like long_unsigned'
comparison_fn_t
:
POINTER
effective function
top
typedef comparison_fn_t from /usr/include/stdlib.h Empty by design, used for anchored declarations.
ensure
Result.is_default
timer_t
:
POINTER
effective function
top
typedef timer_t from /usr/include/time.h Empty by design, used for anchored declarations.
ensure
Result.is_default
clockid_t
:
INTEGER_32
effective function
top
typedef clockid_t from /usr/include/time.h Empty by design, used for anchored declarations.
ensure
Result.is_default
time_t
:
INTEGER_64
effective function
top
typedef time_t from /usr/include/time.h Empty by design, used for anchored declarations.
ensure
Result.is_default
clock_t
:
INTEGER_64
effective function
top
typedef clock_t from /usr/include/time.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uintmax_t
:
NATURAL_64
effective function
top
typedef uintmax_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
intmax_t
:
INTEGER_64
effective function
top
typedef intmax_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uintptr_t
:
NATURAL_64
effective function
top
typedef uintptr_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
intptr_t
:
INTEGER_64
effective function
top
typedef intptr_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_fast64_t
:
NATURAL_64
effective function
top
typedef uint_fast64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_fast32_t
:
NATURAL_64
effective function
top
typedef uint_fast32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_fast16_t
:
NATURAL_64
effective function
top
typedef uint_fast16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_fast8_t
:
CHARACTER
effective function
top
typedef uint_fast8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_fast64_t
:
INTEGER_64
effective function
top
typedef int_fast64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_fast32_t
:
INTEGER_64
effective function
top
typedef int_fast32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_fast16_t
:
INTEGER_64
effective function
top
typedef int_fast16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_fast8_t
:
CHARACTER
effective function
top
typedef int_fast8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_least64_t
:
NATURAL_64
effective function
top
typedef uint_least64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_least32_t
:
NATURAL_32
effective function
top
typedef uint_least32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_least16_t
:
NATURAL_16
effective function
top
typedef uint_least16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint_least8_t
:
CHARACTER
effective function
top
typedef uint_least8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_least64_t
:
INTEGER_64
effective function
top
typedef int_least64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_least32_t
:
INTEGER_32
effective function
top
typedef int_least32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_least16_t
:
INTEGER_16
effective function
top
typedef int_least16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int_least8_t
:
CHARACTER
effective function
top
typedef int_least8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint64_t
:
NATURAL_64
effective function
top
typedef uint64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint32_t
:
NATURAL_32
effective function
top
typedef uint32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint16_t
:
NATURAL_16
effective function
top
typedef uint16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
uint8_t
:
CHARACTER
effective function
top
typedef uint8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int64_t
:
INTEGER_64
effective function
top
typedef int64_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int32_t
:
INTEGER_32
effective function
top
typedef int32_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int16_t
:
INTEGER_16
effective function
top
typedef int16_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
int8_t
:
CHARACTER
effective function
top
typedef int8_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
ssize_t
:
INTEGER_64
effective function
top
typedef ssize_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
off64_t
:
INTEGER_64
effective function
top
typedef off64_t from /usr/include/stdio.h Empty by design, used for anchored declarations.
ensure
Result.is_default
off_t
:
INTEGER_64
effective function
top
typedef off_t from /usr/include/stdio.h Empty by design, used for anchored declarations.
ensure
Result.is_default
size_t
:
NATURAL_64
effective function
top
typedef size_t from /usr/include/stdlib.h Empty by design, used for anchored declarations.
ensure
Result.is_default
ptrdiff_t
:
INTEGER_64
effective function
top
typedef ptrdiff_t from /usr/include/stdint.h Empty by design, used for anchored declarations.
ensure
Result.is_default
error_t
:
INTEGER_32
effective function
top
typedef error_t from /usr/include/errno.h Empty by design, used for anchored declarations.
ensure
Result.is_default