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"
status: "See notice at end of class."
legal: "See notice at end of class."
date: "$Date: 2013-01-25 11:49:00 -0800 (Fri, 25 Jan 2013) $"
revision: "$Revision: 712 $"
generator_not_void: Result /= Void
generator_not_empty: not Result.is_empty
generating_type: TYPE [detachable like Current]
Result := {detachable like Current}
generating_type_not_void: Result /= Void
conforms_to (other: ANY): BOOLEAN
other_not_void: other /= Void
same_type (other: ANY): BOOLEAN
other_not_void: other /= Void
definition: Result = (conforms_to (other) and
other.conforms_to (Current))
is_equal (other: like Current): BOOLEAN
other_not_void: other /= Void
symmetric: Result implies other ~ Current
consistent: standard_is_equal (other) implies Result
frozen standard_is_equal (other: like Current): BOOLEAN
other_not_void: other /= Void
same_type: Result implies same_type (other)
symmetric: Result implies other.standard_is_equal (Current)
frozen equal (a: detachable ANY; b: like a): BOOLEAN
Result := b /= Void and then
definition: Result = (a = Void and b = Void) or else
((a /= Void and b /= Void) and then
frozen standard_equal (a: detachable ANY; b: like a): BOOLEAN
Result := b /= Void and then
definition: Result = (a = Void and b = Void) or else
((a /= Void and b /= Void) and then
frozen is_deep_equal (other: like Current): BOOLEAN
other_not_void: other /= Void
shallow_implies_deep: standard_is_equal (other) implies Result
same_type: Result implies same_type (other)
symmetric: Result implies other.is_deep_equal (Current)
frozen deep_equal (a: detachable ANY; b: like a): BOOLEAN
Result := b /= Void and then a.is_deep_equal (b)
shallow_implies_deep: standard_equal (a, b) implies Result
both_or_none_void: (a = Void) implies (Result = (b = Void))
same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b))
symmetric: Result implies deep_equal (b, a)
frozen twin: like Current
twin_not_void: Result /= Void
is_equal: Result ~ Current
copy (other: like Current)
other_not_void: other /= Void
type_identity: same_type (other)
is_equal: Current ~ other
frozen standard_copy (other: like Current)
other_not_void: other /= Void
type_identity: same_type (other)
is_standard_equal: standard_is_equal (other)
frozen clone (other: detachable ANY): like other
frozen standard_clone (other: detachable ANY): like other
"Use `standard_twin' instead."
Result := other.standard_twin
equal: standard_equal (Result, other)
frozen standard_twin: like Current
standard_twin_not_void: Result /= Void
equal: standard_equal (Result, Current)
frozen deep_twin: like Current
deep_twin_not_void: Result /= Void
deep_equal: deep_equal (Current, Result)
frozen deep_clone (other: detachable ANY): like other
"Use `deep_twin' instead."
Result := other.deep_twin
deep_equal: deep_equal (other, Result)
frozen deep_copy (other: like Current)
other_not_void: other /= Void
deep_equal: deep_equal (Current, other)
frozen internal_correct_mismatch
if attached {MISMATCH_CORRECTOR} Current as l_corrector then
l_corrector.correct_mismatch
create l_msg.make_from_string ("Mismatch: ")
l_msg.append (generating_type.name)
l_exc.raise_retrieval_exception (l_msg)
Result.set_output_default
io_not_void: Result /= Void
out_not_void: Result /= Void
frozen tagged_out: STRING
tagged_out_not_void: Result /= Void
print (o: detachable ANY)
Operating_environment: OPERATING_ENVIRONMENT
operating_environment_not_void: Result /= Void
frozen default: detachable like Current
frozen default_pointer: POINTER
frozen as_attached: attached like Current
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
copyright: "Copyright (c) 1984-2012, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
5949 Hollister Ave., Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com