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.
]"
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
ANY
create
default_create
feature
generating_type: STRING_8
ensure
generating_type_not_void: Result /= Void
generating_type_not_empty: not Result.is_empty
generator: STRING_8
ensure
generator_not_void: Result /= Void
generator_not_empty: not Result.is_empty
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 (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'
ensure
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: like Current): BOOLEAN
`Current'`other'
require
other_not_void: other /= Void
ensure
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: 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_twin_not_void: Result /= Void
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
ensure
io_not_void: Result /= Void
out: STRING_8
ensure
out_not_void: Result /= Void
print (some: ?ANY)
`some'
frozen tagged_out: STRING_8
ensure
tagged_out_not_void: Result /= Void
feature
operating_environment: OPERATING_ENVIRONMENT
ensure
operating_environment_not_void: Result /= Void
invariant
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end ANY