|
ABSTRACT
This paper describes design issues encountered developing a reusable component library. The design applied encapsulation, inheritance, composition and type parameterization. The implementation uses various C++ mechanisms, including: virtual and static member functions, templates, and exceptions.
The resulting library contains about 500 components (mostly template classes and functions) and an optional utility for instantiating templates. The components provide variations of basic collection/container abstractions with various time and space complexities.
A key insight gained from this project: the design process centered on developing a “template for the templates” — designing a component framework and orderly process for generating the template classes.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
ATT89
|
C~-+ Language System Release 2.0 Product Reference Manual, AT&T Select Code 307-146, Jun~ 198 9.
|
| |
Beck90
|
|
| |
Boehm88
|
|
| |
Booch87
|
Beoch, G., Software Components with Ada, Benjamka/Cummings, Reading MA, 1987.
|
| |
Booch90
|
|
| |
Gansner88
|
Gansner, E.R., "Iris" A Class-Based Window Library," C++ Conference, USENIX Association, {>enver CO, October 1988.
|
| |
Gorlen87
|
(~orlen, K., "An Object-Oriented Class Library for C++," C++ Workshop, USENIX Ass~>ciation, Santa Fe NM, November 1987.
|
| |
Lea88
|
Lea, D., "libg++, the GNU C++ Library," 12;++ Conference, USENIX Association, Denver CO, October 1988.
|
| |
Miller88
|
Miller, W.M., "Exception Handling Without Language Extensions," C + + Conference, USENIX Association, Denver CO, October 1988.
|
| |
Shopiro87
|
:~hopiro, J., "Extending the C++ Task System for Real-Time Control," C + + Workshop, USENIX Association, Santa Fe NM, November 1987.
|
| |
Stroustrup86
|
|
| |
Stroustrup87
|
Stroustrup, B., and Shopiro, J., "A Set of C++ Classes for Co-routine Style Programming," C+ + Workshop, USENIX Association, Santa Fe NM, November 1987.
|
| |
Stroustrup88
|
Stroustrup, B., "Parameterized Types for C++," C+ + Conference, USENIX Association, Denver CO, October 1988.
|
| |
Stroustrup89
|
Stroustrup, B., "Exception Handling for C++," C++ at Work, Tyngsboro MA, November 1989.
|
| |
Stroustrup90
|
Stroustrup, B., "Exception Handling for C++ (revised)," C++ Conference, USENIX Association, San Fransico CA, April 1990.
|
CITED BY 11
|
|
|
|
|
|
|
|
|
|
|
Marty Sirkin , Don Batory , Vivek Singhal, Software components in a data structure precompiler, Proceedings of the 15th international conference on Software Engineering, p.437-446, May 17-21, 1993, Baltimore, Maryland, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|