Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Base Library: Text Processing

This library cluster has 166 classes.

ECF: base.ecf

Classes providing the following facilities:

Directory: library/base/text

. /character

. /encoding

. /file-naming

. /file-naming/environ

. /general

. /i18n

. /line-processing

. /name-value

. /string

. /string/constants

. /string/edit

. /string/edit/history

. /string/encoded

. /string/escaper

. /string/escaper/bash

. /string/escaper/csv

. /string/escaper/python

. /string/escaper/xml

. /string/escaper/xml/attribute

. /string/helper

. /string/makeable

. /string/numeric

. /string/structures

. /string/structures/list

. /string/structures/table

. /string/styled

. /string/zstring

. /string/zstring/codec

. /string/zstring/codec/iso

. /string/zstring/codec/windows

. /string/zstring/support

character

EL_CHARACTER_ROUTINES

Character routines

EL_LATIN_1

Latin 1

EL_MODULE_CHARACTER

Module character

EL_UTF_16_SEQUENCE

UTF-16 sequence for single unicode character uc

EL_UTF_8_SEQUENCE

UTF-8 sequence for single unicode character uc

EL_UTF_SEQUENCE

UTF sequence for single unicode character.

Further Information

Click on class link to see descendants.

encoding

EL_BASE_64_ROUTINES

Base 64 routines

EL_CONSOLE_ENCODEABLE

Class for appropriately encoding strings for output to console

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

EL_ENCODING_BASE

Base class for EL_ENCODEABLE_AS_TEXT and EL_ENCODING

EL_MODULE_BASE_64

Module base 64

EL_MODULE_UTF

Module utf

Further Information

Click on class link to see client examples.

EL_UTF_CONVERTER

Utf converter

file-naming

EL_DIR_PATH

Directory path name

Further Information

Click on class link to see client examples.

EL_DIR_URI_PATH

Dir uri path

Further Information

Click on class link to see client examples.

EL_FILE_PATH

File path name

Further Information

Click on class link to see client examples.

EL_FILE_PATH_LIST

File path list sortable by path, base name or file size.

Further Information

Click on class link to see client examples.

EL_FILE_URI_PATH

File uri path

Further Information

Click on class link to see client examples.

EL_PATH

Path name

Further Information

Click on class link to see client examples.

EL_PATH_CONSTANTS

Path constants

Further Information

Click on class link to see client examples.

EL_PATH_STEPS

Path steps internally represented as a string of CHARACTER_32 tokens in attribute token_list. Tokens are translated back to strings via the shared once-table Token_table.

Further Information

Click on class link to see notes and client examples.

EL_SHARED_DIRECTORY

Shared directory

EL_URI_PATH

Uri path

file-naming/environ

EL_DIR_PATH_ENVIRON_VARIABLE

Directory path environment variable

Further Information

Click on class link to see client examples.

EL_FILE_PATH_ENVIRON_VARIABLE

File path environment variable

EL_PATH_ENVIRON_VARIABLE

An expandable path environment variable

general

EL_FORMAT_ROUTINES

Format routines

EL_MODULE_FORMAT

Module format

Further Information

Click on class link to see client examples.

EL_NAMEABLE

Nameable

EL_SERIALIZEABLE_AS_XML

Serializeable as xml

Further Information

Click on class link to see notes.

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.

EL_DEFERRED_LOCALE_IMP

Deferred locale imp

EL_MODULE_DEFERRED_LOCALE

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

line-processing

EL_FILE_LINE_SOURCE

Interface for object that interates over the lines of an file object conforming to PLAIN_TEXT_FILE. The lines are assumed to be UTF-8 encoded by default and are converted to ZSTRING items.

Further Information

Click on class link to see descendants.

EL_LINE_SOURCE_ITERATION_CURSOR

Line source iteration cursor

EL_PLAIN_TEXT_LINE_SOURCE

Iterates over lines of a plain text file lines using either the ITERABLE or LINEAR interface. If a UTF-8 BOM is detected the encoding changes accordingly.

Further Information

Click on class link to see client examples.

EL_PLAIN_TEXT_LINE_STATE_MACHINE

A state machine for processing lines from a line source, using a line processing procedure defined by the attribute:

state: PROCEDURE [ZSTRING]

The line processing state can be changed by assigning a new procedure to state. Line processing stops either when state is assigned the procedure final or the last line in the line source is reached.

Further Information

Click on class link to see client examples.

EL_STRING_8_IO_MEDIUM_LINE_SOURCE

String 8 io medium line source

EL_ZSTRING_IO_MEDIUM_LINE_SOURCE

Zstring io medium line source

name-value

EL_COLON_FIELD_ROUTINES

Colon field routines

EL_MODULE_COLON_FIELD

Module colon field

Further Information

Click on class link to see client examples.

string

EL_BOYER_MOORE_SEARCHER_32

Efficient Boyer-Moore Search for Unicode Strings See: codeproject.com Article

EL_CACHED_STRING

Cached string

EL_CASE_COMPARISON

Case comparison

EL_TEXT_PATTERN_I

Abstract text pattern

string/constants

EL_MODULE_ASCII

Module ascii

EL_MODULE_STRING_32

Module string 32

Further Information

Click on class link to see client examples.

EL_MODULE_STRING_8

Module string 8

Further Information

Click on class link to see client examples.

EL_MODULE_URL

Module url

Further Information

Click on class link to see client examples.

EL_MODULE_ZSTRING

Module zstring

EL_SHARED_ONCE_STRINGS

Shared once strings

Further Information

Click on class link to see client examples.

EL_STRING_32_CONSTANTS

Constants for class STRING_32

EL_STRING_8_CONSTANTS

Constants for class STRING

Further Information

Click on class link to see client examples.

EL_ZSTRING_CONSTANTS

Constants for class EL_ZSTRING (AKA ZSTRING)

Further Information

Click on class link to see client examples.

string/edit

EL_STRING_32_EDITOR

Edit strings of type STRING_32 by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See {EL_STRING_EDITOR}.delete_interior for an example of an editing procedure

Further Information

Click on class link to see client examples.

EL_STRING_8_EDITOR

Edit strings of type STRING_8 by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See {EL_STRING_EDITOR}.delete_interior for an example of an editing procedure

Further Information

Click on class link to see client examples.

EL_STRING_EDITOR

Edit strings by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See delete_interior for an example of an editing procedure

Further Information

Click on class link to see descendants.

EL_ZSTRING_EDITOR

Edit strings of type EL_ZSTRING by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See {EL_STRING_EDITOR}.delete_interior for an example of an editing procedure

Further Information

Click on class link to see client examples.

string/edit/history

EL_STRING_32_EDITION_HISTORY

String 32 edition history

EL_STRING_8_EDITION_HISTORY

String 8 edition history

Further Information

Click on class link to see client examples.

EL_STRING_EDITION

String edition

EL_STRING_EDITION_HISTORY

String edition_item history

EL_ZSTRING_EDITION_HISTORY

String 32 edition history

Further Information

Click on class link to see client examples.

string/encoded

EL_ENCODED_STRING_8

A string with a mix of literal characters and characters represented as an escape sequence starting with character escape_character.

EL_MODULE_URI

Module uri

EL_PROTOCOL_CONSTANTS

Protocol constants

Further Information

Click on class link to see client examples.

EL_URI_ROUTINES

Uri routines

EL_URI_STRING_8

A unicode string percent-encoded according to specification RFC 3986. See: https://en.wikipedia.org/wiki/Percent-encoding

Further Information

Click on class link to see client examples.

EL_URL_QUERY_STRING_8

Url query string 8

Further Information

Click on class link to see client examples.

EL_URL_QUERY_TABLE

Abstraction to set name value pairs decoded from URL query string

EL_URL_ROUTINES

Url routines

EL_URL_STRING_8

URL encoded string with unescaped path separator

Further Information

Click on class link to see client examples.

string/escaper

EL_STRING_32_ESCAPER

String 32 escaper

Further Information

Click on class link to see client examples.

EL_STRING_8_ESCAPER

String 8 escaper

EL_STRING_GENERAL_ESCAPER

String general escaper

EL_ZSTRING_ESCAPER

Zstring escaper

Further Information

Click on class link to see client examples.

string/escaper/bash

EL_BASH_PATH_GENERAL_ESCAPER

Bash path general escaper

EL_BASH_PATH_STRING_32_ESCAPER

Bash path string 32 escaper

Further Information

Click on class link to see client examples.

EL_BASH_PATH_ZSTRING_ESCAPER

Bash path zstring escaper

Further Information

Click on class link to see client examples.

string/escaper/csv

EL_COMMA_SEPARATED_VALUE_ESCAPER

Escape characters for value in comma separated format

Further Information

Click on class link to see client examples.

string/escaper/python

EL_PYTHON_GENERAL_ESCAPER

Python general escaper

EL_PYTHON_ZSTRING_ESCAPER

Python zstring escaper

Further Information

Click on class link to see client examples.

string/escaper/xml

EL_XML_ESCAPING_CONSTANTS

Xml escaping constants

Further Information

Click on class link to see client examples.

EL_XML_GENERAL_ESCAPER

Xml general escaper

Further Information

Click on class link to see client examples.

EL_XML_STRING_32_ESCAPER

XML STRING_32 escaper

Further Information

Click on class link to see client examples.

EL_XML_STRING_8_ESCAPER

XML STRING_8 escaper

EL_XML_ZSTRING_ESCAPER

Xml zstring escaper

Further Information

Click on class link to see client examples.

string/escaper/xml/attribute

EL_XML_ATTRIBUTE_VALUE_GENERAL_ESCAPER

Xml attribute value general escaper

EL_XML_ATTRIBUTE_VALUE_ZSTRING_ESCAPER

Xml attribute value zstring escaper

string/helper

EL_STRING_32_ROUTINES

String 32 routines

Further Information

Click on class link to see client examples.

EL_STRING_8_ROUTINES

String 8 routines

EL_STRING_X_ROUTINES

String x routines

EL_ZSTRING_ROUTINES

Convenience routines for EL_ZSTRING

Further Information

Click on class link to see client examples.

string/makeable

EL_MAKEABLE_FROM_STRING_32

Makeable from string 32

EL_MAKEABLE_FROM_STRING_8

Makeable from string 8

EL_MAKEABLE_FROM_STRING_GENERAL

Abstraction for a class that is makeable from a string and also convertible to a string

Further Information

Click on class link to see descendants and client examples.

EL_MAKEABLE_FROM_ZSTRING

Makeable from zstring

Further Information

Click on class link to see client examples.

string/numeric

EL_BINARY_STRING_CONVERSION

Conversion of binary numeric strings to numbers

EL_HEXADECIMAL_STRING_CONVERSION

Conversion of hexadecimal numeric strings to numbers

EL_MODULE_BINARY

Access to shared instance of class EL_BINARY_STRING_CONVERSION

EL_MODULE_HEXADECIMAL

Access to shared instance of class EL_HEXADECIMAL_STRING_CONVERSION

Further Information

Click on class link to see client examples.

EL_MODULE_OCTAL

Access to shared instance of class EL_OCTAL_STRING_CONVERSION

EL_OCTAL_STRING_CONVERSION

Conversion of octal numeric strings to numbers

EL_POWER_2_BASE_NUMERIC_STRING_CONVERSION

Conversion of binary, octal or hexadecimal numeric strings to numbers

string/structures

EL_NAME_VALUE_PAIR

Parses string for name value pair using specified delimiter

EL_OCCURRENCE_INTERVALS

List of all occurrence intervals of a search_string in a string conforming to STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_STRING_POOL

String recycling pool

string/structures/list

EL_CHAIN_STRING_LIST_COMPILER

Object to compile a list of strings using a supplied value function for item chain. The value function need only return a string conforming to STRING_GENERAL or else any object with a meaningful implementation of the out function.

EL_JOINED_STRINGS

Abstraction for joining strings using CHAIN routines

EL_LINE_LIST

Line list

EL_LINKED_STRING_LIST

Linked string list

EL_SPLIT_STRING_LIST

List of split items of a string conforming to STRING_GENERAL delimited by delimiter

This is a more efficient way to process split strings as it doesn't create a new string instance for each split part.

Further Information

Click on class link to see client examples.

EL_SPLIT_ZSTRING_LIST

List of EL_ZSTRING split parts delimited by delimiter

This is a more efficient way to process split strings as it doesn't create a new string instance for each split part.

Further Information

Click on class link to see client examples.

EL_STRING_32_LIST

List of STRING_32 strings

EL_STRING_8_LIST

List of STRING_8 strings

Further Information

Click on class link to see client examples.

EL_STRING_GENERAL_CHAIN

String general chain

EL_STRING_LIST

List of strings conforming to STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_ZSTRING_LIST

List of EL_ZSTRING strings

Further Information

Click on class link to see client examples.

string/structures/table

EL_STRING_HASH_TABLE

Hash table with keys conforming to READABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_URL_QUERY_HASH_TABLE

Hash table of URL query string name-value pairs

Further Information

Click on class link to see client examples.

EL_ZSTRING_HASH_TABLE

Zstring hash table

Further Information

Click on class link to see client examples.

string/styled

EL_HYPERLINKABLE

Hyperlinkable

EL_MIXED_FONT_STYLEABLE_I

Mixed font styleable i

EL_MIXED_STYLE_TEXT_LIST

list of strings that should be rendered with either a regular, bold or fixed font

EL_MONOSPACED_STYLED_TEXT

String to be styled with fixed width font in a styleable component

EL_STYLED_TEXT

String to be styled with a regular or bold font in a styleable component

string/zstring

EL_ZSTRING

Usually referenced with the alias 'ZSTRING', this string is a memory efficient alternative to using STRING_32. When an application mainly uses characters from the ISO-8859-15 character set, the memory saving can be as much as 70%, while the execution efficiency is roughly the same as for STRING_8. For short strings the saving is much less: about 50%. ISO-8859-15 covers most Western european languages.

Further Information

Click on class link to see notes and client examples.

EL_ZSTRING_CONVERTER

Convenience class for converting any string of type READABLE_STRING_GENERAL to type EL_ZSTRING

string/zstring/codec

EL_SHARED_UTF_8_ZCODEC

Shared utf 8 zcodec

Further Information

Click on class link to see client examples.

EL_SHARED_ZCODEC

Defines codec to be used by class EL_ZSTRING for encoding characters in area

Further Information

Click on class link to see client examples.

EL_UTF_8_ZCODEC

Converts to and from UTF-8

EL_ZCODEC

Base class for Latin, Windows and UTF-8 codecs

Further Information

Click on class link to see client examples.

EL_ZCODEC_FACTORY

Factory for character codecs

string/zstring/codec/iso

EL_ISO_8859_10_ZCODEC

Codec for ISO_8859_10 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_11_ZCODEC

Codec for ISO_8859_11 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_13_ZCODEC

Codec for ISO_8859_13 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_14_ZCODEC

Codec for ISO_8859_14 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_15_ZCODEC

Codec for ISO_8859_15 automatically generated from decoder.c in VTD-XML source

Further Information

Click on class link to see client examples.

EL_ISO_8859_1_ZCODEC

Iso 8859 1 zcodec

Further Information

Click on class link to see client examples.

EL_ISO_8859_2_ZCODEC

Codec for ISO_8859_2 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_3_ZCODEC

Codec for ISO_8859_3 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_4_ZCODEC

Codec for ISO_8859_4 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_5_ZCODEC

Codec for ISO_8859_5 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_6_ZCODEC

Codec for ISO_8859_6 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_7_ZCODEC

Codec for ISO_8859_7 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_8_ZCODEC

Codec for ISO_8859_8 automatically generated from decoder.c in VTD-XML source

EL_ISO_8859_9_ZCODEC

Codec for ISO_8859_9 automatically generated from decoder.c in VTD-XML source

string/zstring/codec/windows

EL_WINDOWS_1250_ZCODEC

Codec for WINDOWS_1250 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1251_ZCODEC

Codec for WINDOWS_1251 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1252_ZCODEC

Codec for WINDOWS_1252 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1253_ZCODEC

Codec for WINDOWS_1253 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1254_ZCODEC

Codec for WINDOWS_1254 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1255_ZCODEC

Codec for WINDOWS_1255 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1256_ZCODEC

Codec for WINDOWS_1256 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1257_ZCODEC

Codec for WINDOWS_1257 automatically generated from decoder.c in VTD-XML source

EL_WINDOWS_1258_ZCODEC

Codec for WINDOWS_1258 automatically generated from decoder.c in VTD-XML source

string/zstring/support

EL_EXTENDABLE_UNENCODED_CHARACTERS

Extendable unencoded characters

EL_READABLE_ZSTRING

Read only interface to class EL_ZSTRING

Further Information

Click on class link to see client examples.

EL_UNENCODED_CHARACTERS

Representation of consecutive substrings in a STRING_32 string that could not be encoded using a latin character set. The substring are held in the array unecoded: SPECIAL [CHARACTER_32] Each substring is prececded by two 32 bit characters representing the lower and upper index.

EL_UNENCODED_CHARACTERS_INDEX

Fast lookup of code in unencoded intervals array

EL_ZCODE_CONVERSION

For use with class EL_ZSTRING which redefines {READABLE_STRING_GENERAL}.code as z_code. A z_code is a hybrid of a Latin-x or Windows-x encoding and a UCS4 encoding. (We only refer to "latin" from here on)

Occassionaly a unicode character might clash with the range 0 .. 255 reserved for latin encodings. To get around this we set the sign bit to 1 to distinguish it. We can do this because the sign bit is unused in UCS4 unicode.

EL_ZSTRING_8_IMP

Zstring 8 imp

EL_ZSTRING_IMPLEMENTATION

Zstring implementation

EL_ZSTRING_SEARCHER

Zstring searcher

EL_ZSTRING_UNESCAPER

Z-code escape table for use with class EL_ZSTRING. See routine escape.

Further Information

Click on class link to see client examples.