See notice at end of class.
See notice at end of class.
-- Create string of length n filled with c.
-- Initialize from the characters of s.
-- (Useful in proper descendants of class STRING_8,
-- to initialize a string-like object from a manifest string.)
-- Initialize from contents of c_string,
-- a string created by some C function
-- Object of a type conforming to the type of s,
-- initialized with attributes from s
-- Reset contents of string from contents of c_string,
-- a string created by some C function.
-- Reset contents of string from substring of c_string,
-- a string created by some C function.
-- Create string of length n filled with c.
-- Initialize from contents of c_string,
-- a string created by some C function
-- Initialize from the characters of s.
-- (Useful in proper descendants of class STRING_8,
-- to initialize a string-like object from a manifest string.)
-- Position of first occurrence of c at or after start_index;
-- 0 if none.
-- (From STRING_GENERAL)
-- Special data zone
-- (From TO_SPECIAL)
-- Numeric code of character at position i
-- (From STRING_GENERAL)
-- Constant string "false"
-- Position of first occurrence of other at or after start
-- with 0..fuzz mismatches between the string and other.
-- 0 if there are no fuzzy matches
-- Position of first occurrence of c at or after start_index;
-- 0 if none.
-- Character at position i
-- (From TABLE)
-- Character at position i
-- (From TABLE)
-- Does string share the text of other?
-- Index of first occurrence of other at or after start_index;
-- 0 if none
-- Position of first occurrence of other at or after start_pos
-- and to or before end_pos;
-- 0 if none.
-- Constant string "true"
-- Actual number of characters making up the string
-- (From STRING_GENERAL)
-- Number of times c appears in the string
-- (From BAG)
-- Proposed number of additional items
--| Result is a reasonable value, resulting from a space-time tradeoff.
-- (From RESIZABLE)
-- Percentage by which structure will grow automatically
-- (From RESIZABLE)
-- Minimal number of additional items
-- (From RESIZABLE)
-- Is current object less than or equal to other?
-- (From PART_COMPARABLE)
-- Is current object greater than other?
-- (From PART_COMPARABLE)
-- Is current object greater than or equal to other?
-- (From PART_COMPARABLE)
-- The greater of current object and other
-- (From COMPARABLE)
-- The smaller of current object and other
-- (From COMPARABLE)
-- If current object equal to other, 0;
-- if smaller, -1; if greater, 1
-- (From COMPARABLE)
-- Is string lexicographically lower than other?
-- (From PART_COMPARABLE)
-- Is string made of same character sequence as other regardless of casing
-- (possibly with a different capacity)?
-- Is string made of same character sequence as other
-- (possibly with a different capacity)?
-- (From ANY)
-- Is structure empty?
-- (From STRING_GENERAL)
-- May current object be hashed?
-- (True if it is not its type's default.)
-- (From HASHABLE)
-- Has v been inserted by the most recent insertion?
-- (By default, the value returned is equivalent to calling
-- has (v). However, descendants might be able to provide more
-- efficient implementations.)
-- (From COLLECTION)
-- Must search operations use equal rather than =
-- for comparing references? (Default: no, use =.)
-- (From CONTAINER)
-- (From CONTAINER)
-- May new items be added? (Answer: yes.)
-- (From COLLECTION)
-- Does Current contain other?
-- Does Current represent a BOOLEAN?
-- Does Current represent an INTEGER_32?
-- Does Current represent an INTEGER_16?
-- Does Current represent an INTEGER_32?
-- Does Current represent an INTEGER_64?
-- Does Current represent an INTEGER_8?
-- Does Current represent a NATURAL_32?
-- Does Current represent a NATURAL_16?
-- Does Current represent a NATURAL_32?
-- Does Current represent a NATURAL_64?
-- Does Current represent a NATURAL_8?
-- Does Current represent a number sequence?
-- Current is a STRING_32 instance
-- (From STRING_GENERAL)
-- Current is not a STRING_8 instance
-- (From STRING_GENERAL)
-- Is Current convertible to STRING_8 without information loss?
-- (From STRING_GENERAL)
-- Is v a valid code for a CHARACTER_32?
-- (From STRING_GENERAL)
-- Is i within the bounds of the string?
-- (From STRING_GENERAL)
-- Ensure that future search operations will use equal
-- rather than = for comparing references.
-- (From CONTAINER)
-- Ensure that future search operations will use =
-- rather than equal for comparing references.
-- (From CONTAINER)
-- Append the string representation of b at end.
-- Append the string representation of d at end.
-- Append the string representation of i at end.
-- Append the string representation of r at end.
-- Append a copy of s, if not void, at end.
-- Append a copy of s at end.
-- (From STRING_GENERAL)
-- Append c at end.
-- (From COLLECTION)
-- Append a copy of 's' at the end of a copy of Current,
-- Then return the Result.
-- Add s to left of position i in current string.
ELKS 2001: use insert_string instead
-- Prepend the string representation of b at front.
-- Prepend the string representation of d at front.
-- Prepend the string representation of i at front.
-- Prepend the string representation of r at front.
-- Prepend a copy of s, if not void, at front.
-- Replace character at position i by c.
-- (From TABLE)
-- Replace characters from start_index to end_index with s.
-- Replace every occurrence of original with new.
-- Copy characters of other within bounds start_pos and
-- end_pos to current string starting at index index_pos.
-- Fill with as many items of other as possible.
-- The representations of other and current structure
-- need not be the same.
-- (From COLLECTION)
-- Remove first occurrence of c, if any.
-- (From COLLECTION)
-- Remove all occurrences of c.
-- (From COLLECTION)
-- Remove all leading occurrences of c.
-- Remove all trailing occurrences of c.
-- Remove i-th character.
-- (From STRING_GENERAL)
-- Remove all characters from start_index
-- to end_index inclusive.
-- Adapt the size to accommodate count characters.
-- Rearrange string so that it can accommodate
-- at least newsize characters.
-- Do not lose any previously entered character.
-- (From STRING_GENERAL)
-- Change the capacity to accommodate at least
-- Growth_percentage more items.
--| Trades space for time:
--| allocates fairly large chunks of memory but not very often.
-- (From RESIZABLE)
-- Convert Current as a STRING_32.
-- (From STRING_GENERAL)
-- Convert Current as a STRING_8. If a code of Current is
-- node a valid code for a STRING_8 it is replaced with the null
-- character.
-- (From STRING_GENERAL)
-- Create an instance of SYSTEM_STRING using characters
-- of Current between indices 1 and count.
-- (From STRING_GENERAL)
-- Convert Current as a STRING_32.
-- (From STRING_GENERAL)
-- Convert Current as a STRING_8.
-- (From STRING_GENERAL)
-- Center justify Current using count as width.
-- Justify a string based on a pivot
-- and the position it needs to be in
-- the final string.
-- This will grow the string if necessary
-- to get the pivot in the correct place.
-- Left justify Current using count as witdth.
-- Representation as a linear structure
-- (From CONTAINER)
-- Boolean value;
-- "True" yields True, "False" yields False
-- (case-insensitive)
-- A reference to a C form of current string.
-- Useful only for interfacing with C software.
-- "Double" value;
-- for example, when applied to "123.0", will yield 123.0 (double)
-- Duplicate a string within itself
-- ("hello").multiply(3) => "hellohellohello"
-- Copy of substring containing all characters at indices
-- between start_index and end_index
-- (From STRING_GENERAL)
-- Original attribute values of mismatched object
-- (From MISMATCH_CORRECTOR)
EiffelBase: Library of reusable components for Eiffel.
Copyright (c) 1984-2006, Eiffel Software and others
Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)
Eiffel Software
356 Storke Road, Goleta, CA 93117 USA
Telephone 805-685-1006, Fax 805-685-6869
Website http://www.eiffel.com
Customer support http://support.eiffel.com
Sequences of characters, accessible through integer indices
in a contiguous range.