PATTERN TEMPLATE LIBRARY

USER GUIDE

Code Farms Inc.

March 1997


IMPORTANT

The Pattern Template Library (PTL) is based on intrusive data structures (see [1]), and it is coded (and must be used) in a completely different way than any other class library you may have seen. This manual is very short, but it is important that you read it without skipping any parts. Otherwise, you are likely to run into difficulties when using the library.

The manual will take you through the following steps:

  • Chap.1: Installation.
  • Chap.2: Basic concepts on which the library is built.
  • Chap.3: Discussion on the smart iterators used in the library.
  • Chap.4: A full example, using several aggregates.
  • Chap.5: Template Manager avoids complex inheritance statements.
  • Chap.6: Classes currently available from the library.
  • Chap.7: Example: using the template manager and several patterns.
  • Chap.8: Adding new patterns to the library.
  • Chap.9: Missing patterns.
  • Chap.10: Error handling.
  • References.

If you are interested in the overall design philosophy of this library or in the comparision of this approach with container-based class libraries such as STL or Rogue Wave, read article [1].

Classes from this library can be mixed with classes from any other class library.

Note: If you browse through the documentation and some figures seem to be missing, you just clicked too fast. If you want to see the figures, wait until the hourglass prompt disappears before you proceed to the next item.


continue ...

Code Farms Home Page