Like the GeneralTree, the NaryTree class is derived from the Tree base class. Its interface comprises all of the public interfaces which are common to trees and containers. In addition the inherited functions, the following four additional member functions are defined: AttachKey, DetachKey, AttachSubtree and DetachSubtree.