Inherit from ST_FORMATTING_ROUTINES and use its format routines.
Gobo Eiffel String Library
Copyright (c) 2004-2005, Object-Tools and others
Eiffel Forum License v2 (see forum.txt)
-- Create new formatter with default escape character '$'.
-- (From ST_FORMATTER)
-- Create new scientific formatter with c as escape character.
-- (From ST_FORMATTER)
-- Does a_format contain valid formatting specifications and
-- do a_parameters comply to these formatting specifications?
-- (From ST_FORMATTER)
-- Copy of a_format where the formatting specifications
-- have been replaced by their corresponding formatted
-- parameters from a_parameters
--
-- (a_parameters must be an array of references and should
-- not contain expanded types. SE will core dump if you try
-- to do that. Furthermore, in SE 2.1 expanded types such as
-- INTEGER_32 do not conform to ANY anymore. So, instead of
-- expanded parameters such as INTEGER_32 we should pass a
-- 'DS_CELL [INTEGER_32]'.)
-- (From ST_FORMATTER)
-- Copy of a_format where the single formatting specification
-- have been replaced by formatted version of a_parameter
--
-- (In SE 2.1 expanded types such as INTEGER_32 do not conform
-- to ANY anymore. So, instead of expanded parameters such
-- as INTEGER_32 we should pass a 'DS_CELL [INTEGER_32]'.)
-- (From ST_FORMATTER)
-- Append to a_stream the string a_format where the
-- formatting specifications have been replaced by their
-- corresponding formatted parameters from a_parameters.
--
-- (a_parameters must be an array of references and should
-- not contain expanded types. SE will core dump if you try
-- to do that. Furthermore, in SE 2.1 expanded types such as
-- INTEGER_32 do not conform to ANY anymore. So, instead of
-- expanded parameters such as INTEGER_32 we should pass a
-- 'DS_CELL [INTEGER_32]'.)
-- (From ST_FORMATTER)
C-like formatters that receive a string and parameters
as input and return the formatted output.