Logo Data Structures and Algorithms with Object-Oriented Design Patterns in C++
next up previous contents index

Member Functions

Since the GeneralTree class is derived from the Tree base class, its interface comprises all of the public interfaces of the base classes. Furthermore, two member functions are added to the inherited interface--AttachSubtree, and DetachSubtree.

Since the GeneralTree class is a concrete class derived from the an abstract base class, it must provide implementations for all of the member functions declared as pure virtual functions in the base class. In the interest of brevity, the declarations of these functions have been elided from Program gif.


next up previous contents index

Bruno Copyright © 1997 by Bruno R. Preiss, P.Eng. All rights reserved.