File 'lib/fmtIf.cls' (part of 'AutoDOC')

Description (short)
Internal interface to formatter
Written by
Andreas Kupries
Description
Internal interface to the formatter object
Keywords
formatter interface, internal interface to formatter

Class 'formatterInterface'

Description
All classes wishing to use the application specified formatter object have to derive from this class to get the necessary functionality for accessing it.
Options
formatter
Methods
public
Fmt (args)
TrackFormatter (o oldValue)
formatterInterface ()
Membervariables
public
fmt

Options

-formatter
Reference to the used formatter. Automatically transfered into an internal variable for hopefully faster access (one hash lookup, not two).

Methods

Fmt (args)

Method for accessing the formatter functionality. Added because I like '$fmt do_something ...' better than '$fmt do_something ...'.
Argument: args The arguments given to the formatter.

TrackFormatter (o oldValue)

Internal method. Called by the generic option tracking mechanism for any change made to formatter. Propagates the new value to the internal shadow.
Argument: o The name of the changed option, here always -formatter.
Argument: oldValue The value of the option before the change. Ignored here.

formatterInterface ()

Constructor, initializes the option and its shadow.


Membervariables

fmt
Internal shadow of option formatter.

Generated by AutoDoc 2.4 at 09/28/2001, invoked by Andreas Kupries,,,