Home Page ] [ Eiffel Archive ] [ Eiffel Classes and Clusters ]

Arc de Triomphe clipart (2486 bytes)Displaced utility routines


Written by Neil Wilson

disp-1_1.tar.zip (17,789 bytes)


Licence

Gnu Library GPL - see file README.LIB

Requirements

CHARACTER_ROUTINES_C and BASIC_ROUTINES relies on C code written using the SIG Eiffel/S Eiffel-C facilities

Abstract

This cluster contains useful routines that are not included in the ETL versions of the kernel classes.

Usage

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.

Restrictions

Acknowledgements

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)
6 Spring View
Towngate
Ossett
West Yorkshire
WF5 0QB
UK

Home Page ] [ Eiffel Archive ] [ Eiffel Classes and Clusters ]