GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
REPOSITORY_LAYOUT
+
Point of view
REPOSITORY_LAYOUT
ANY
INTERNALS_HANDLER
TYPED_INTERNALS
RECYCLING_POOL
REPOSITORY_IMPL
REPOSITORY_LAYOUT
All features
class REPOSITORY_LAYOUT
Summary
top
Used by the update engine of
REPOSITORY_IMPL
to ensure correct object references and cycles handling.
Direct parents
Insert list:
INTERNALS_HANDLER
,
RECYCLABLE
Class invariant
top
transient_or_ref:
trans_ref
/= Void implies
ref
= 0
assigned_are_layouts:
assigned
.for_all(
layouts
.has())
coherence:
solved
implies
internals_set
Overview
top
Creation features
Exported features
type
:
STRING
data type, if useful
capacity
:
INTEGER_32
for native arrays only
ref
:
INTEGER_32
object reference, for reference objects only
trans_ref
:
STRING
object transient reference, for reference objects only
name
:
STRING
object name
value
:
STRING
object value, for basic types only
layouts
:
AVL_DICTIONARY
[REPOSITORY_LAYOUT,
STRING
]
child layouts
assigned
:
HASHED_SET
[
STRING
]
each layout for which the
INTERNALS
object was assigned
solved
:
BOOLEAN
solve
(a_solver:
FUNCTION
[
TUPLE 1
[
INTEGER_32
],
INTERNALS
]):
INTERNALS
internals_set
:
BOOLEAN
True when
internals_memory
was set
type
:
STRING
writable attribute
top
data type, if useful
capacity
:
INTEGER_32
writable attribute
top
for native arrays only
ref
:
INTEGER_32
writable attribute
top
object reference, for reference objects only
trans_ref
:
STRING
writable attribute
top
object transient reference, for reference objects only
name
:
STRING
writable attribute
top
object name
value
:
STRING
writable attribute
top
object value, for basic types only
layouts
:
AVL_DICTIONARY
[REPOSITORY_LAYOUT,
STRING
]
writable attribute
top
child layouts
assigned
:
HASHED_SET
[
STRING
]
writable attribute
top
each layout for which the
INTERNALS
object was assigned
solved
:
BOOLEAN
writable attribute
top
solve
(a_solver:
FUNCTION
[
TUPLE 1
[
INTEGER_32
],
INTERNALS
]):
INTERNALS
effective function
top
ensure
Result /= Void and then Result.object_can_be_retrieved implies
solved
internals_set
:
BOOLEAN
writable attribute
top
True when
internals_memory
was set