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

Constructors

Two constructors are declared in Program gif The first takes a single unsigned int argument M and creates an empty B-tree of order M. The second constructor takes two arguments, an unsigned int and a pointer to an BTree. The integer argument specifies the order, M, of the tree to be constructed. The second argument specifies the parent of the node.


next up previous contents index

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