ExternView(3U) | InterViews Reference Manual | ExternView(3U) |
ExternView, PreorderView, InorderView, PostorderView - base class for external representation objects and subclasses for common traversals
#include <Unidraw/Components/externview.h>
ExternView is the abstract base class for external representation objects. Generally speaking, external representation objects convey domain-specific information outside the editor. They are simply component views that extract information from their subject and externalize it as a stream of bytes; thus the ExternView base class is derived from ComponentView.
There are three predefined ExternView subclasses: PreorderView, InorderView, and PostorderView. These subclasses manage subviews and support three common traversals of the external view hierarchy.
PreorderView, InorderView, and PostorderView redefine their Definition operations to perform preorder, inorder, and postorder traversals of their children, respectively. Each child's Definition operation is called during the traversal. Note that every child must be an instance of the same ExternView subclass to ensure a consistent traversal order.
Component(3U), ComponentView(3U), Iterator(3U), ostream(3C++)
19 January 1991 | Unidraw |