|
|
Base class for final nodes.
This class provides a simple support to inherit from OmNode by redefining all the children insertion operations so that they become invalid. Thus, such a 'final node' always is a leaf with an empty list of children. Note only insertion operations have to be disabled, since the others would apply normally for a list of zero children.
OmFinalNode () |
Default constructor.
OmNode * append (OmNode * adoption_in) |
Disable appending.
OmNode * insert (Iterator it_in, OmNode * adoption_in) |
Disable insertion.
OmFinalNode (const OmFinalNode & other_in) |
Copy constructor.
~OmFinalNode () |
Destructor.
Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199. |