GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
EDC_FIELD_OPTION_PRIMARY_KEY
+
Point of view
All features
ANY
All features
class EDC_FIELD_OPTION_PRIMARY_KEY
Summary
top
Direct parents
Inherit list:
EDC_FIELD_OPTION
Insert list:
SINGLETON
Class invariant
top
current_is_not_an_expanded_type
is_real_singleton
Overview
top
Creation features
{
EDC_CONSTANTS
}
make
Features
{}
make
{
ANY
}
is_equal
(other: EDC_FIELD_OPTION_PRIMARY_KEY):
BOOLEAN
Is
other
attached to an object considered equal to current object?
{}
is_real_singleton
:
BOOLEAN
singleton_memory_pool
:
HASHED_DICTIONARY
[
POINTER
,
STRING
]
This pool is unique in the whole system.
current_is_not_an_expanded_type
:
BOOLEAN
Check that the dynamic type of the
SINGLETON
is not an expanded type.
make
effective procedure
{}
top
is_equal
(other: EDC_FIELD_OPTION_PRIMARY_KEY):
BOOLEAN
effective function
{
ANY
}
top
Is
other
attached to an object considered equal to current object?
require
other /= Void
ensure
commutative:
generating_type = other.generating_type implies Result = other.is_equal(Current)
is_real_singleton
:
BOOLEAN
effective function
{}
top
ensure
assertion_check_only:
Result
singleton_memory_pool
:
HASHED_DICTIONARY
[
POINTER
,
STRING
]
once function
{}
top
This pool is unique in the whole system.
A memory is kept for each singleton type (type, not class) in the system.
current_is_not_an_expanded_type
:
BOOLEAN
effective function
{}
top
Check that the dynamic type of the
SINGLETON
is not an expanded type.