Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Base Library: Text Processing

This library cluster has 130 classes.

ECF: base.ecf

Classes providing the following:

Directory: library/base/text

. /character

. /character/32-bit

. /character/8-bit

. /command-line

. /convert

. /convert/power-2

. /convert/types

. /encoding

. /encoding/base-64

. /encoding/share

. /encoding/uri

. /encoding/utf

. /error

. /format

. /i18n

. /i18n/reflective

. /i18n/share

. /line-traversal

. /name-value

. /naming

. /styled

character

EL_CHARACTER_ROUTINES

expanded class of character routines

EL_SHARED_UNICODE_PROPERTY

Shared instance of CHARACTER_PROPERTY

Further Information

Click on class link to see client examples.

EL_UTF_16_SEQUENCE

UTF-16 sequence for single unicode character uc

EL_UTF_SEQUENCE

UTF sequence for single unicode character.

Further Information

Click on class link to see descendants.

character/32-bit

EL_CHARACTER_32

CHARACTER_32_REF with conversion to ZSTRING by * operator

Further Information

Click on class link to see client examples.

EL_CHARACTER_32_CONSTANTS

Character constants that be multiplied as a ZSTRING instance with the * operator

Further Information

Click on class link to see client examples.

EL_CHARACTER_32_ROUTINES

Expanded class of CHARACTER_32 routines

Further Information

Click on class link to see client examples.

EL_UC_ROUTINES

Unicode routines

EL_UNICODE_PROPERTY

Extensions to ISE class CHARACTER_PROPERTY

character/8-bit

EL_ASCII

ASCII NATURAL_32 codes

EL_CHARACTER_8

CHARACTER_8_REF with conversion to STRING_8 by * operator

Further Information

Click on class link to see client examples.

EL_CHARACTER_8_CONSTANTS

Character constants that be multiplied as a STRING_8 instance with * operator. Use char function for uncommon characters.

Further Information

Click on class link to see client examples.

EL_CHARACTER_8_ROUTINES

Expanded class of CHARACTER_8 routines

Further Information

Click on class link to see client examples.

EL_LATIN_1

Latin 1

EL_MODULE_ASCII

Shared access to base class ASCII

EL_SHARED_UTF_8_SEQUENCE

Shared instance of EL_UTF_8_SEQUENCE

EL_UTF_8_SEQUENCE

UTF-8 sequence for single unicode CHARACTER_32. Accessible via EL_SHARED_UTF_8_SEQUENCE

Further Information

Click on class link to see client examples.

command-line

EL_COMMAND_LINE_ARGUMENTS

Object to query command line arguments. Accessible via EL_MODULE_ARGS

Further Information

Click on class link to see notes and client examples.

EL_MODULE_ARGS

Shared access to routines of class EL_COMMAND_LINE_ARGUMENTS

Further Information

Click on class link to see client examples.

convert

EL_MAKEABLE_FROM_STRING

Object is makeable from string conforming to STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_MODULE_CONVERT_STRING

Shared access to instance of class EL_STRING_CONVERSION_TABLE

Further Information

Click on class link to see client examples.

EL_READABLE_STRING_GENERAL_TO_NUMERIC

Convert READABLE_STRING_GENERAL to type conforming to NUMERIC

EL_READABLE_STRING_GENERAL_TO_REAL

Convert READABLE_STRING_GENERAL to type REAL_32 or REAL_64

EL_READABLE_STRING_GENERAL_TO_TYPE

Convert READABLE_STRING_GENERAL to type G

EL_STRING_CONVERSION_TABLE

Table of converters conforming to EL_READABLE_STRING_GENERAL_TO_TYPE [ANY] for converting strings conforming to READABLE_STRING_GENERAL to common data types

Further Information

Click on class link to see notes.

EL_STRING_CONVERSION_TABLE_IMPLEMENTATION

Implementation details for EL_STRING_CONVERSION_TABLE

EL_STRING_TO_PATH_TYPE

Convert READABLE_STRING_GENERAL string to type conforming to EL_PATH

EL_TO_STRING_GENERAL_TYPE

Convert READABLE_STRING_GENERAL string to type conforming to STRING_GENERAL

convert/power-2

EL_BASE_32_CONVERTER

Convert base 32 numeric strings to NUMERIC types

Further Information

Click on class link to see notes and client examples.

EL_BASE_POWER_2_CONVERTER

Convert binary, octal or hexadecimal strings to NUMERIC types

EL_BINARY_CONVERTER

Convert binary numeric strings to NUMERIC types

Further Information

Click on class link to see client examples.

EL_HEXADECIMAL_CONVERTER

Convert hexadecimal numeric strings to NUMERIC types

Further Information

Click on class link to see client examples.

EL_OCTAL_CONVERTER

Convert octal numeric strings to NUMERIC types

Further Information

Click on class link to see client examples.

convert/types

EL_STRING_TO_BOOLEAN

Convert READABLE_STRING_GENERAL to type BOOLEAN

EL_STRING_TO_CHARACTER_32

Convert READABLE_STRING_GENERAL to type CHARACTER_32

EL_STRING_TO_CHARACTER_8

Convert READABLE_STRING_GENERAL to type CHARACTER_8

EL_STRING_TO_DIR_PATH

Convert READABLE_STRING_GENERAL to type DIR_PATH

EL_STRING_TO_DIR_URI_PATH

Convert READABLE_STRING_GENERAL to type EL_DIR_URI_PATH

EL_STRING_TO_FILE_PATH

Convert READABLE_STRING_GENERAL to type FILE_PATH

EL_STRING_TO_FILE_URI_PATH

Convert READABLE_STRING_GENERAL to type EL_FILE_URI_PATH

EL_STRING_TO_IMMUTABLE_STRING_32

Convert READABLE_STRING_GENERAL to type IMMUTABLE_STRING_32

EL_STRING_TO_IMMUTABLE_STRING_8

Convert READABLE_STRING_GENERAL to type IMMUTABLE_STRING_8

EL_STRING_TO_INTEGER_16

Convert READABLE_STRING_GENERAL to type INTEGER_16

EL_STRING_TO_INTEGER_32

Convert READABLE_STRING_GENERAL to type INTEGER_32

EL_STRING_TO_INTEGER_64

Convert READABLE_STRING_GENERAL to type INTEGER_64

EL_STRING_TO_INTEGER_8

Convert READABLE_STRING_GENERAL to type INTEGER_8

EL_STRING_TO_NATURAL_16

Convert READABLE_STRING_GENERAL to type NATURAL_16

EL_STRING_TO_NATURAL_32

Convert READABLE_STRING_GENERAL to type NATURAL_32

EL_STRING_TO_NATURAL_64

Convert READABLE_STRING_GENERAL to type NATURAL_64

EL_STRING_TO_NATURAL_8

Convert READABLE_STRING_GENERAL to type NATURAL_8

EL_STRING_TO_REAL_32

Convert READABLE_STRING_GENERAL to type REAL_32

EL_STRING_TO_REAL_64

Convert READABLE_STRING_GENERAL to type REAL_64

EL_STRING_TO_STRING_32

Convert READABLE_STRING_GENERAL to type STRING_32

EL_STRING_TO_STRING_8

Convert READABLE_STRING_GENERAL to type STRING_8

EL_STRING_TO_ZSTRING

Convert READABLE_STRING_GENERAL to type EL_ZSTRING

encoding

EL_ENCODEABLE_AS_TEXT

Object that encodes text using an encoding specified by encoding field

Further Information

Click on class link to see client examples.

EL_ENCODING

Windows, Latin, or UTF encoding

Further Information

Click on class link to see client examples.

EL_ENCODING_BASE

Base class for EL_ENCODEABLE_AS_TEXT and EL_ENCODING

Further Information

Click on class link to see client examples.

EL_ENCODING_TYPE

Encoding constants

Further Information

Click on class link to see client examples.

encoding/base-64

EL_BASE_64_CODEC

Base 64 routines accessible via EL_MODULE_BASE_64

EL_BASE_64_DECODER

Decodes base 64 encoded text as type SPECIAL [NATURAL_8]

EL_BASE_64_ENCODER

Encodes a byte array as base 64 encoded text

EL_BASE_64_ENCODE_DECODE

Base class for base-64 encoder and decoder

EL_MODULE_BASE_64

Shared access to instance of EL_BASE_64_CODEC

Further Information

Click on class link to see client examples.

encoding/share

EL_MODULE_ENCODING

Shared instance of class EL_ENCODING

Further Information

Click on class link to see notes.

EL_MODULE_URI

Module uri

Further Information

Click on class link to see client examples.

EL_MODULE_UTF_8

Access to routines of EL_UTF_CONVERTER_IMP

Further Information

Click on class link to see client examples.

EL_PROTOCOL_CONSTANTS

Protocol constants

Further Information

Click on class link to see client examples.

EL_SHARED_ENCODINGS

Shared instance of class EL_SYSTEM_ENCODINGS

Further Information

Click on class link to see client examples.

EL_SHARED_ENCODING_TABLE

Shared table of ENCODING objects by code_page

EL_SYSTEM_ENCODINGS

System encodings accessible via EL_SHARED_ENCODINGS

encoding/uri

EL_URI_CHARACTER_QUERY_ROUTINES

Character query routines for URI's

EL_URI_IMPLEMENTATION

Implementation routeins for class EL_URI

EL_URI_QUERY_HASH_TABLE

Abstract table of URI query string name-value pairs

Further Information

Click on class link to see descendants.

EL_URI_QUERY_PAIRS_SPLIT

Splits query part of URI string on & character to get decoded name value pairs

EL_URI_QUERY_TABLE

Abstraction to set name value pairs decoded from URI query string

EL_URI_ROUTINES

Expanded version of class EL_URI_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_URI_ROUTINES_IMP

Uri routines

encoding/utf

EL_UTF_16_LE_CONVERTER

Little Endian UTF-16 string converter

Further Information

Click on class link to see client examples.

EL_UTF_8_CONVERTER

UTF-8 string converter as expanded version of EL_UTF_8_CONVERTER_IMP for local use

Further Information

Click on class link to see client examples.

EL_UTF_8_CONVERTER_IMP

UTF-8 string converter accessible from EL_MODULE_UTF_8

EL_UTF_CONVERTER

UTF string converter

Further Information

Click on class link to see client examples.

EL_UTF_CONVERTER_IMP

UTF string converter

error

EL_ERROR_DESCRIPTION

Error description line list with ID

Further Information

Click on class link to see client examples.

EL_FALLIBLE

Object that is capable of making mistakes or being wrong

Further Information

Click on class link to see client examples.

format

EL_FORMAT_DOUBLE

FORMAT_DOUBLE with ability to initialize from a format likeness string

Further Information

Click on class link to see notes.

EL_FORMAT_FACTORY

Factory for EL_FORMAT_DOUBLE and EL_FORMAT_INTEGER formats initialized using format likeness strings. Accessible via EL_SHARED_FORMAT_FACTORY. See class EL_FORMAT_LIKENESS

EL_FORMAT_INTEGER

FORMAT_INTEGER with ability to spell numbers in English from 0 to 99

Further Information

Click on class link to see notes and client examples.

EL_FORMAT_LIKENESS

Parses a formatting string that has a likeness to the output

Further Information

Click on class link to see descendants.

EL_FORMAT_ROUTINES

Format routines for INTEGER_32

EL_MODULE_FORMAT

Shared access to routines of class EL_FORMAT_ROUTINES

Further Information

Click on class link to see client examples.

EL_SHARED_FORMAT_FACTORY

Shared instance of EL_FORMAT_FACTORY

Further Information

Click on class link to see client examples.

i18n

EL_DEFERRED_LOCALE_I

Object available via {EL_MODULE_DEFERRED_LOCALE}.Locale that allows strings in descendants of EL_MODULE_DEFERRED_LOCALE to be optionally localized at an application level by including class EL_MODULE_LOCALE from the i18n.ecf library. By default translation returns the key as a ZSTRING

Localized strings are referred to using the shorthand syntax:

Locale * "<text>"

Originally this class was introduced to prevent circular library dependencies.

Further Information

Click on class link to see client examples.

EL_DEFERRED_LOCALE_IMP

Default locale implemention for unlocalized applications

EL_LOCALIZEABLE

Object that is localizeable

EL_LOCALIZED

Object that is localizeable according to language attribute

EL_QUANTITY_TEMPLATE

Localized string dependent on quantity attribute: zero, singluar, plural

Further Information

Click on class link to see client examples.

i18n/reflective

EL_LOCALE_TEXTS_TABLE

Table of items conforming to EL_REFLECTIVE_LOCALE_TEXTS for each language in Locale.all_languages

EL_PHRASE_TEXTS

Common phrases and titles accessible via EL_SHARED_PHRASE as Phrase

Further Information

Click on class link to see client examples.

EL_REFLECTIVE_LOCALE_TEXTS

Reflective initialization of localized string fields based on deferred Locale conforming to EL_DEFERRED_LOCALE_I

Further Information

Click on class link to see descendants, notes and client examples.

EL_SYMBOL_TEXTS

Decimal point character and other common symbols accessible via {EL_SHARED_SYMBOL}.Symbol

Further Information

Click on class link to see client examples.

EL_WORD_TEXTS

Deferred i18n of common words accessible via EL_SHARED_WORD as Word

Further Information

Click on class link to see client examples.

i18n/share

EL_LOCALE_CONSTANTS

Localization constants

Further Information

Click on class link to see client examples.

EL_MODULE_DEFERRED_LOCALE

Shared access to Locale object with deferred localization implementation. See class EL_DEFERRED_LOCALE_I.

Further Information

Click on class link to see client examples.

EL_SHARED_PHRASE

Shared instance of class EL_PHRASE_TEXTS

EL_SHARED_SYMBOL

Shared instance of class EL_SYMBOL_TEXTS

EL_SHARED_WORD

Shared instance of class EL_WORD_TEXTS

line-traversal

EL_FILE_GENERAL_LINE_SOURCE

Interface for object that interates over the lines of an file object conforming to PLAIN_TEXT_FILE. The line items conform to STRING_GENERAL

EL_LINE_SOURCE_ITERATION_CURSOR

Line source iteration cursor

EL_PLAIN_TEXT_FILE_STATE_MACHINE

Line state machine for STRING_8 lines read from PLAIN_TEXT_FILE

EL_READABLE_STRING_STATE_MACHINE

State machine for processing strings conforming to READABLE_STRING_GENERAL

EL_STRING_STATE_MACHINE

State machine for handling strings conforming to STRING_GENERAL

Further Information

Click on class link to see client examples.

name-value

EL_ASSIGNMENT_ROUTINES

Parse name value pair with syntax

<name> = <value>

OR

<name> = "<value>"

Further Information

Click on class link to see client examples.

EL_COLON_FIELD_ROUTINES

Parse name value pair with syntax

<name>: <value>

OR

<name>: "<value>"

Further Information

Click on class link to see client examples.

EL_NAME_VALUE_PAIR

Parses string for name value pair using specified delimiter

Further Information

Click on class link to see notes and client examples.

EL_NAME_VALUE_PAIR_ROUTINES

Parse name value pair based on delimiter

EL_ZSTRING_TABLE

Table of EL_ZSTRING strings with immutable keys of type IMMUTABLE_STRING_8 and createable from parsed general text with format

key_1:
   Value One Line 1
   Value One Line 2
   ..
key_2:
   Value Two
   etc

Further Information

Click on class link to see client examples.

naming

EL_CAMEL_CASE_TRANSLATER

Translating: CamelCase <--> camel_case

EL_ENGLISH_NAME_TRANSLATER

Translate English/Eiffel names: "English name" <-> english_name (first letter is capitalized)

EL_KEBAB_CASE_TRANSLATER

Translating: kebab-case <--> kebab_case

Further Information

Click on class link to see client examples.

EL_NAMEABLE

Object that is nameable with string conforming to READABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_NAME_TRANSLATER

Object to translate foreign attribute names to the standard Eiffel snake-case convention and also to export snake-case name to a foreign convention.

Further Information

Click on class link to see descendants and client examples.

EL_NAME_TRANSLATER_TABLE

Name translater table

EL_NAMING_CONVENTIONS

Factory for shared naming convention translaters

EL_NAMING_ROUTINES

Object with attribute names that are translateable TO and FROM another naming convention There are also routines to derive a name from the class generator name.

Accessible from shared object_or_type Naming in class EL_MODULE_NAMING

Further Information

Click on class link to see tests.

EL_SHARED_NAME_TRANSLATER_TABLE

Shared instance of EL_NAME_TRANSLATER_TABLE

EL_SNAKE_CASE_TRANSLATER

Translating: Snake_Case <--> snake_case

Further Information

Click on class link to see client examples.

styled

EL_DESCRIBABLE

Object that is describable by a EL_STYLED_TEXT_LIST list of strings where each string is mapped to a text style defined by class EL_TEXT_STYLE.

EL_STYLED_TEXT_LIST

A list of strings each associated with a text style defined by class EL_TEXT_STYLE.

feature -- Styles

   Regular: INTEGER = 1

   Bold: INTEGER = 2

   Monospaced: INTEGER = 3

   Monospaced_bold: INTEGER = 4

When rendered the strings are usually joined together first separated by a space character. It is up to the rendering class what font to use for the text style. See EL_HYPERLINK_AREA for example.

EL_TEXT_STYLE

Text style constants