How formatters operate

The protocol for scanning and formatting is provided by two groups of classes:

Each TFormattable class provides a wrapper for a specific type of data, allowing it to be manipulated by the formatter for that type of data. The TFormatter classes perform the actual conversions, working with the data as an instance of TFormattable. Each TFormatter derived class manipulates a specific type of TFormattable derived class.


TFormattable provides a wrapper for data, allowing it to be formatted by a TFormatter. The system provides the following TFormattable derived classes to wrap a specific type of data:

TFormatter is the abstract base class for all formatter classes. The two primary member functions are Format and Scan:

Each concrete formatter class manipulates a specific type of formattable data. The system provides the following formatter classes derived from TFormatter:


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker