Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Base Library: Strings (Abstract)

This library cluster has 49 classes.

ECF: base.ecf

String abstractions based on the classes:

to provide the following:

Directory: library/base/text/string

. /buffer

. /buffer/scoped

. /cursor

. /edit

. /escape

. /extra

. /helper

. /immutable

. /share

. /special

. /special/encoded

. /split

buffer

EL_SHARED_STRING_POOLS

Share instances of classes conforming to EL_STRING_POOL [S -> STRING_GENERAL]

EL_STRING_BUFFER

Temporary string buffer

buffer/scoped

EL_BORROWED_STRING_CURSOR

Cursor to use an across loop as an artificial scope in which a temporary string buffer conforming to STRING_GENERAL can be borrowed from a shared pool. After iterating just once the scope finishes and the buffer item is automatically returned to the shared pool stack.

Further Information

Click on class link to see notes.

EL_BORROWED_STRING_SCOPE

Defines an across loop scope in which a string conforming to STRING_GENERAL can be borrowed from a factory pool and then automatically returned after the first and only iteration of the cursor.

EL_STRING_POOL_SCOPE

Defines an across loop scope in which multiple strings can be borrowed from a shared pool and automatically returned when the loop exits after first and only iteration

EL_STRING_POOL_SCOPE_CURSOR

Artificial scope defined by an across loop in which strings can be borrowed from a pool See class EL_STRING_POOL_SCOPE

cursor

EL_IMMUTABLE_STRING_TABLE_CURSOR

Iteration cursor for EL_IMMUTABLE_STRING_TABLE

EL_ITERABLE_SPLIT_CURSOR

Cursor for target string sections split by separator of type G

EL_SPLIT_ON_CHARACTER_CURSOR

EL_ITERABLE_SPLIT_CURSOR implemented with CHARACTER_32 separator

Further Information

Click on class link to see client examples.

EL_SPLIT_ON_STRING_CURSOR

EL_ITERABLE_SPLIT_CURSOR implemented with READABLE_STRING_GENERAL separator

EL_STRING_ITERATION_CURSOR

Interface to classes EL_STRING_8_ITERATION_CURSOR and EL_STRING_32_ITERATION_CURSOR

Further Information

Click on class link to see client examples.

edit

EL_OCCURRENCE_EDITOR

Object that edits substring intervals in a string conforming to STRING_GENERAL

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.

escape

EL_ESCAPE_TABLE

Character escape table initializeable by a string like the following example for C language

"%T:=t, %N:=n, \:=\"

Further Information

Click on class link to see client examples.

EL_ESCAPE_TABLES

Escape tables for common data formats

EL_SHARED_ESCAPE_TABLE

Shared instance of EL_ESCAPE_TABLES

Further Information

Click on class link to see client examples.

EL_STRING_ESCAPER

String escaper

Further Information

Click on class link to see client examples.

EL_STRING_ESCAPER_IMP

String escaper implementation

EL_STRING_GENERAL_UNESCAPER

General string unescaper

Further Information

Click on class link to see client examples.

extra

EL_ITERABLE_SPLIT_FACTORY_ROUTINES

Factory to create the most optimal split-string iterator conforming to EL_ITERABLE_SPLIT for the type of the function argument general conforming to READABLE_STRING_GENERAL.

Further Information

Click on class link to see client examples.

EL_READABLE_STRING_GENERAL_ROUTINES

Routines for classes conforming to READABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_READABLE_STRING_GENERAL_ROUTINES_IMP

Routines for classes conforming to READABLE_STRING_GENERAL

EL_READABLE_STRING_X_ROUTINES

Routines to supplement handling of strings conforming to READABLE_STRING_8 and READABLE_STRING_32

EL_STRING_GENERAL_ROUTINES

Convert instances of ZSTRING to and from STRING_32 or STRING_8.

Further Information

Click on class link to see notes and client examples.

EL_STRING_X_ROUTINES

Routines to supplement handling of STRING_8 STRING_32 strings

helper

EL_APPENDABLE_TO_STRING_GENERAL

Object that can append a text representation of it self to a string conforming to STRING_GENERAL

EL_CACHED_STRING

Cached string

Further Information

Click on class link to see client examples.

EL_CASE_COMPARISON

Case comparison

Further Information

Click on class link to see client examples.

EL_LIST_ITEM_SUBSTRING_CONVERSION

List item substring conversion

EL_STRING_BIT_COUNTABLE

EL_BIT_COUNTABLE applicable to generic class taking a string parameter conforming to READABLE_STRING_GENERAL

EL_STRING_HANDLER

Extended access control class STRING_HANDLER with commonly used string type query functions.

Further Information

Click on class link to see client examples.

EL_STRING_NODE

Abstraction to set a field conforming to STRING_GENERAL from a document node

Further Information

Click on class link to see descendants.

EL_TEMPLATE

Basic string template to substitute variables names with possible forms:

$a_1 OR ${a_1}

and composed of characters in ranges

'a' .. 'z'
'A' .. 'Z'
'0' .. '9'
'_'

For a literal dollar sign use % to escape it, for example: "USD 100 %$"

Further Information

Click on class link to see notes and client examples.

EL_TEMPLATE_LIST

List of literal strings and template substitution place holders

EL_TEXT_PATTERN_I

Abstract text pattern

EL_TYPE_CONVERSION_HANDLER

Allows access to Ctoi_convertor and Ctor_convertor in class READABLE_STRING_GENERAL

immutable

EL_IMMUTABLE_STRING_MANAGER

Injects shared string data into an instance of a string conforming to IMMUTABLE_STRING_GENERAL

EL_SUBSTRING

Substring text item of a shared UTF-8 encoded table manifest formatted as colon delimited keys as for example:

key_1:
   line 1..
   line 2..
key_2:
   line 1..
   line 2..
..

Further Information

Click on class link to see notes.

share

EL_CASE

Word case constants

EL_MODULE_STRING

Shared access to routines of class EL_ZSTRING_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_SHARED_FILLED_STRING_TABLES

Shared instances of tables conforming to EL_FILLED_STRING_TABLE [READABLE_STRING_GENERAL]

EL_SHARED_NATIVE_STRING

Shared instance of EL_NATIVE_STRING

Further Information

Click on class link to see client examples.

special

EL_CODE_STRING

Latin-1 code string that fits into 8 bytes or less and is initializeable from any of the NATURAL_<X> numeric data types.

Further Information

Click on class link to see client examples.

EL_NATIVE_STRING

NATIVE_STRING with support for ZSTRING

special/encoded

EL_URI

Uniform Resource Identifier as defined by RFC 3986

Further Information

Click on class link to see notes and client examples.

EL_URL

Uniform Resource Locator

Further Information

Click on class link to see notes and client examples.

split

EL_ITERABLE_SPLIT

Iterable string split with separator of type G

Further Information

Click on class link to see client examples.

EL_SPLIT_ON_CHARACTER

Split target string conforming to READABLE_STRING_GENERAL with separator of type CHARACTER_32

Further Information

Click on class link to see client examples.

EL_SPLIT_ON_STRING

Split target string conforming to READABLE_STRING_GENERAL with separator of type READABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.