indexing
description: "[
Objects that may be stored and retrieved along with all their dependents.
This class may be used as ancestor by classes needing its facilities.
]"
library: "Free implementation of ELKS library"
copyright: "Copyright (c) 1986-2008, Eiffel Software and others"
license: "Eiffel Forum License v2 (see forum.txt)"
date: "$Date: 2008-05-23 17:24:07 -0700 (Fri, 23 May 2008) $"
revision: "$Revision: 170 $"
class interface
STORABLE
create
default_create
ANY
feature
check_instruction: INTEGER_32 is 7
EXCEP_CONST
class_invariant: INTEGER_32 is 6
EXCEP_CONST
com_exception: INTEGER_32 is 28
EXCEP_CONST
create_on_deferred: INTEGER_32 is 17
EXCEP_CONST
developer_exception: INTEGER_32 is 24
EXCEP_CONST
dollar_applied_to_melted_feature: INTEGER_32 is 26
EXCEP_CONST
eiffel_runtime_fatal_error: INTEGER_32 is 25
EXCEP_CONST
eiffel_runtime_panic: INTEGER_32 is 13
EXCEP_CONST
exception_in_signal_handler: INTEGER_32 is 20
EXCEP_CONST
exception_manager: EXCEPTION_MANAGER
EXCEPTION_MANAGER_FACTORY
ensure EXCEPTION_MANAGER_FACTORY
exception_manager_not_void: Result /= Void
external_exception: INTEGER_32 is 18
`errno'
EXCEP_CONST
floating_point_exception: INTEGER_32 is 5
EXCEP_CONST
generating_type: STRING_8
ANY
ensure ANY
generating_type_not_void: Result /= Void
generating_type_not_empty: not Result.is_empty
generator: STRING_8
ANY
ensure ANY
generator_not_void: Result /= Void
generator_not_empty: not Result.is_empty
incorrect_inspect_value: INTEGER_32 is 9
EXCEP_CONST
io_exception: INTEGER_32 is 21
EXCEP_CONST
loop_invariant: INTEGER_32 is 11
EXCEP_CONST
loop_variant: INTEGER_32 is 10
EXCEP_CONST
no_more_memory: INTEGER_32 is 2
EXCEP_CONST
number_of_codes: INTEGER_32 is 31
EXCEP_CONST
old_exception: INTEGER_32 is 30
EXCEP_CONST
operating_system_exception: INTEGER_32 is 22
`errno'
EXCEP_CONST
out_of_memory: INTEGER_32 is 15
EXCEP_CONST
postcondition: INTEGER_32 is 4
EXCEP_CONST
precondition: INTEGER_32 is 3
EXCEP_CONST
rescue_exception: INTEGER_32 is 14
EXCEP_CONST
resumption_failed: INTEGER_32 is 16
EXCEP_CONST
retrieve_by_name (file_name: STRING_8): ?ANY
`file_name'
Retrieve_exception
require
file_name_exists: file_name /= Void
file_name_meaningful: not file_name.is_empty
retrieve_exception: INTEGER_32 is 23
retrieved`IO_MEDIUM'
EXCEP_CONST
retrieved (medium: IO_MEDIUM): ANY
`medium'
Retrieve_exception
require
medium_not_void: medium /= Void
medium_exists: medium.exists
medium_is_open_read: medium.is_open_read
medium_supports_storable: medium.support_storable
ensure
result_exists: Result /= Void
routine_failure: INTEGER_32 is 8
EXCEP_CONST
runtime_check_exception: INTEGER_32 is 29
EXCEP_CONST
runtime_io_exception: INTEGER_32 is 27
EXCEP_CONST
serialization_exception: INTEGER_32 is 31
EXCEP_CONST
signal_exception: INTEGER_32 is 12
EXCEP_CONST
valid_code (c: INTEGER_32): BOOLEAN
`c'
EXCEP_CONST
void_assigned_to_expanded: INTEGER_32 is 19
EXCEP_CONST
void_call_target: INTEGER_32 is 1
EXCEP_CONST
feature
frozen deep_equal (some: ?ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
shallow_implies_deep: standard_equal (some, other) implies Result
both_or_none_void: (some = Void) implies (Result = (other = Void))
same_type: (Result and (some /= Void)) implies (other /= Void and then some.same_type (other))
symmetric: Result implies deep_equal (other, some)
frozen equal (some: ?ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))
frozen is_deep_equal (other: STORABLE): BOOLEAN
`Current'`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
shallow_implies_deep: standard_is_equal (other) implies Result
same_type: Result implies same_type (other)
symmetric: Result implies other.is_deep_equal (Current)
is_equal (other: STORABLE): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
symmetric: Result implies other.is_equal (Current)
consistent: standard_is_equal (other) implies Result
frozen standard_equal (some: ?ANY; other: like arg #1): BOOLEAN
`some'`other'
ANY
ensure ANY
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))
frozen standard_is_equal (other: STORABLE): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
feature
assertion_violation: BOOLEAN
EXCEPTIONS
class_name: ?STRING_8
EXCEPTIONS
conforms_to (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
developer_exception_name: ?STRING_8
EXCEPTIONS
require EXCEPTIONS
applicable: is_developer_exception
exception: INTEGER_32
EXCEPTIONS
exception_trace: ?STRING_8
EXCEPTIONS
is_developer_exception: BOOLEAN
EXCEPTIONS
is_developer_exception_of_name (name: STRING_8): BOOLEAN
`name'
EXCEPTIONS
is_signal: BOOLEAN
EXCEPTIONS
is_system_exception: BOOLEAN
EXCEPTIONS
meaning (except: INTEGER_32): ?STRING_8
`except'
EXCEPTIONS
original_class_name: ?STRING_8
EXCEPTIONS
original_exception: INTEGER_32
EXCEPTIONS
original_recipient_name: ?STRING_8
EXCEPTIONS
original_tag_name: ?STRING_8
EXCEPTIONS
recipient_name: ?STRING_8
EXCEPTIONS
same_type (other: ANY): BOOLEAN
`other'
ANY
require ANY
other_not_void: other /= Void
ensure ANY
definition: Result = (conforms_to (other) and other.conforms_to (Current))
tag_name: ?STRING_8
EXCEPTIONS
feature
catch (code: INTEGER_32)
`code'
EXCEPTIONS
die (code: INTEGER_32)
`code'
EXCEPTIONS
ignore (code: INTEGER_32)
`code'
EXCEPTIONS
message_on_failure
EXCEPTIONS
no_message_on_failure
EXCEPTIONS
raise (name: STRING_8)
`name'
EXCEPTIONS
raise_retrieval_exception (name: STRING_8)
`name'
EXCEPTIONS
feature
basic_store (medium: IO_MEDIUM)
`medium'
require
medium_not_void: medium /= Void
medium_exists: medium.exists
medium_is_open_write: medium.is_open_write
medium_supports_storable: medium.support_storable
general_store (medium: IO_MEDIUM)
`medium'
require
medium_not_void: medium /= Void
medium_exists: medium.exists
medium_is_open_write: medium.is_open_write
medium_supports_storable: medium.support_storable
independent_store (medium: IO_MEDIUM)
`medium'
require
medium_not_void: medium /= Void
medium_exists: medium.exists
medium_is_open_write: medium.is_open_write
medium_supports_storable: medium.support_storable
store_by_name (file_name: STRING_8)
`file_name'
require
file_name_not_void: file_name /= Void
file_name_meaningful: not file_name.is_empty
feature
copy (other: STORABLE)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_equal: is_equal (other)
frozen deep_copy (other: STORABLE)
copy`other'deep_twin
ANY
require ANY
other_not_void: other /= Void
ensure ANY
deep_equal: deep_equal (Current, other)
frozen deep_twin: STORABLE
ANY
ensure ANY
deep_twin_not_void: Result /= Void
deep_equal: deep_equal (Current, Result)
frozen standard_copy (other: STORABLE)
`other'
ANY
require ANY
other_not_void: other /= Void
type_identity: same_type (other)
ensure ANY
is_standard_equal: standard_is_equal (other)
frozen standard_twin: STORABLE
`other'
ANY
ensure ANY
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
frozen twin: STORABLE
`Current'
twincopycopy
ANY
ensure ANY
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
frozen default: ?STORABLE
ANY
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
ANY
default_rescue
ANY
frozen do_nothing
ANY
feature
io: STD_FILES
ANY
ensure ANY
io_not_void: Result /= Void
out: STRING_8
ANY
ensure ANY
out_not_void: Result /= Void
print (some: ?ANY)
`some'
ANY
frozen tagged_out: STRING_8
ANY
ensure ANY
tagged_out_not_void: Result /= Void
feature
operating_environment: OPERATING_ENVIRONMENT
ANY
ensure ANY
operating_environment_not_void: Result /= Void
feature
set_discard_pointers (v: BOOLEAN)
`v'
default_pointer
set_new_independent_format (v: BOOLEAN)
`v'
set_new_recoverable_format (v: BOOLEAN)
`v'
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end STORABLE