indexing
description: "[
Project-wide universal properties.
This class is an ancestor to all developer-written classes.
ANY may be customized for individual projects or teams.
]"
legal: "See notice at end of class."
status: "See notice at end of class."
date: "$Date: 2006-02-06 10:18:37 -0800 (Mon, 06 Feb 2006) $"
revision: "$Revision: 56936 $"
class interface
ANY
create
default_create
feature
generating_type: STRING_8
generator: STRING_8
feature
frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ensure
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 some.same_type (other)
symmetric: Result implies deep_equal (other, some)
frozen equal (some: ANY; other: like arg #1): BOOLEAN
`some'`other'
ensure
definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))
is_equal (other: like Current): BOOLEAN
`other'
require
other_not_void: other /= Void
ensure
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'
ensure
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: like Current): BOOLEAN
`other'
require
other_not_void: other /= Void
ensure
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
feature
conforms_to (other: ANY): BOOLEAN
`other'
require
other_not_void: other /= Void
same_type (other: ANY): BOOLEAN
`other'
require
other_not_void: other /= Void
ensure
definition: Result = (conforms_to (other) and other.conforms_to (Current))
feature
copy (other: like Current)
`other'
require
other_not_void: other /= Void
type_identity: same_type (other)
ensure
is_equal: is_equal (other)
frozen deep_copy (other: like Current)
copy`other'deep_twin
require
other_not_void: other /= Void
ensure
deep_equal: deep_equal (Current, other)
frozen deep_twin: like Current
ensure
deep_equal: deep_equal (Current, Result)
frozen standard_copy (other: like Current)
`other'
require
other_not_void: other /= Void
type_identity: same_type (other)
ensure
is_standard_equal: standard_is_equal (other)
frozen standard_twin: like Current
`other'
ensure
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
frozen twin: like Current
`Current'
twincopycopy
ensure
twin_not_void: Result /= Void
is_equal: Result.is_equal (Current)
feature
frozen default: like Current
frozen default_pointer: POINTER
`POINTER'
`p'default
`p'`POINTER'
default_rescue
frozen do_nothing
feature
io: STD_FILES
out: STRING_8
ANYtagged_out
print (some: ANY)
`some'
frozen tagged_out: STRING_8
ANYout
feature
operating_environment: OPERATING_ENVIRONMENT
invariant
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
indexing
library: "EiffelBase: Library of reusable components for Eiffel."
copyright: "Copyright (c) 1984-2006, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[
Eiffel Software
356 Storke Road, Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
]"
end ANY