class
PAYPAL_PAYMENT
inherit
KEY_IDENTIFIABLE_STORABLE
undefine
new_lio
redefine
adjust_field_order, print_fields, Except_fields, make_default
end
EL_STRING_CONSTANTS,
EL_SHARED_EURO_EXCHANGE_RATE_TABLE, EL_SHARED_CURRENCY_CODES, SHARED_DATABASE,
PP_SHARED_PAYMENT_PENDING_REASON_ENUM, PP_SHARED_PAYMENT_STATUS_ENUM,
CUSTOMER_LINKED, ADDRESS_LINKED, SUBSCRIPTION_PRICE_CONSTANTS,
EL_MODULE_LOG, EL_MODULE_DATE
undefine
is_equal
end
class
PAYPAL_PAYMENT
inherit
KEY_IDENTIFIABLE_STORABLE
undefine
new_lio
redefine
adjust_field_order, print_fields, Except_fields, make_default
end
CUSTOMER_LINKED
undefine
is_equal
end
ADDRESS_LINKED
undefine
is_equal
end
SUBSCRIPTION_PRICE_CONSTANTS
undefine
is_equal
end
EL_MODULE_LOG
undefine
is_equal
end
EL_MODULE_DATE
undefine
is_equal
end
EL_STRING_CONSTANTS
undefine
is_equal
end
EL_SHARED_EURO_EXCHANGE_RATE_TABLE
undefine
is_equal
end
EL_SHARED_CURRENCY_CODES
undefine
is_equal
end
SHARED_DATABASE
undefine
is_equal
end
PP_SHARED_PAYMENT_PENDING_REASON_ENUM
undefine
is_equal
end
PP_SHARED_PAYMENT_STATUS_ENUM
undefine
is_equal
end
Not a bad idea. But not a use case that pops up often does it?
finnian@MacMini ~/Desktop/Eiffel Apps $ el_eiffel -undefine_counter -sources All\ Eiffel\ sources.pyx -define EIFFEL_LOOP=$EIFFEL/library/Eiffel-Loop
Executable: el_eiffel Version: 1.0.9 (37)
Class: UNDEFINE_PATTERN_COUNTER_APP Option: undefine_counter
Description: "Count the number of classes in the source tree manifest that exhibit multiple inheritance of classes
with an identical pattern of feature undefining."
/home/finnian/dev/Eiffel/Electoral/source
/home/finnian/dev/Eiffel/myching-server/source
/home/finnian/dev/Eiffel/My Ching/source
/home/finnian/dev/Eiffel/PF_HP/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/example/eiffel2java/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/example/graphical/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/example/manage-mp3/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/example/net/eros-server/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/example/net/eros-test-clients/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/example/net/source-common
/home/finnian/dev/Eiffel/library/Eiffel-Loop/test/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/tool/eiffel/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/tool/toolkit/source
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/base
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/build
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/graphic
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/language_interface
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/multimedia
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/network
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/persistency
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/runtime
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/testing
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/text
/home/finnian/dev/Eiffel/library/Eiffel-Loop/library/utility
........................................................
Repetition of undefine pattern occurs in 170 out of 2760 classes
If you always list the same classes, you could create an ancestor
class doing this for you.