The delegation example's naming conventions

For this technique, if TXXX is the class template, the naming conventions are:

TXXX is the class template.

TXXXImplementation is the implementation.

TXXXTypeSpecificOperationsBase is the abstract base of the type-specific operations.

TXXXTypeSpecificOperations is the class template for the type-specific operations.

Because there is no inheritance between the class template and the implementation class, there is no chance of a name collision. In this way, the method names of the implementation classes don't require a special prefix.

[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