GNU
|
Liberty Eiffel
|
Automated Tests
|
Wiki
|
Savannah project
|
Debian packages
|
Documentation
>
libraries
>
EDC_QUERY_OPTION_DEFAULT
+
Point of view
All features
ANY
All features
class EDC_QUERY_OPTION_DEFAULT
Summary
top
Direct parents
Inherit list:
EDC_QUERY_OPTION
Insert list:
SINGLETON
Class invariant
top
current_is_not_an_expanded_type
is_real_singleton
Overview
top
Creation features
{
EDC_CONSTANTS
}
make
Features
{
ANY
}
valid_session
(session:
EDC_SESSION
):
BOOLEAN
Check that the session has enough rights for what the query wants to do (e.g. session.in_transaction for updates, and so on)
{}
make
{
ANY
}
is_equal
(other: EDC_QUERY_OPTION_DEFAULT):
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.
valid_session
(session:
EDC_SESSION
):
BOOLEAN
effective function
{
ANY
}
top
Check that the session has enough rights for what the query wants to do (e.g. session.in_transaction for updates, and so on)
require
session.is_open
make
effective procedure
{}
top
is_equal
(other: EDC_QUERY_OPTION_DEFAULT):
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.