[ Home Page ] [ Eiffel Archive ] [ Eiffel Classes and Clusters ]
Displaced utility routinesWritten by Neil Wilson
disp-1_1.tar.zip (17,789 bytes)
Gnu Library GPL - see file README.LIB
CHARACTER_ROUTINES_C and BASIC_ROUTINES relies on C code written using the SIG Eiffel/S Eiffel-C facilities
This cluster contains useful routines that are not included in the ETL versions of the kernel classes.
All the classes are 'mixins' in that they are designed to augment the feature set of the classes you are building. The easiest way to make use of them is to inherit directly from the mixin class, probably re-exporting all the features to NONE, eg.
...
inherit
STRING_ROUTINES
export
{NONE} all
end
...
If you require less 'pollution' in your class name-space then the best way to use these classes is via a once function in a NONE exported feature block, eg.
...
feature {NONE}
str: STRING_ROUTINES is
-- Extra string facilities
once
!!Result
end; -- str
...
The routines can then be accessed via the 'str' object without having to worry whether the object has been created or not.
If you have any faults, problems, incompatibilities or improvements then please drop me an email message at the following address:
Neil Wilson (neil@aldur.demon.co.uk)[ Home Page ] [ Eiffel Archive ] [ Eiffel Classes and Clusters ]