class OmFinalNode

Base class for final nodes. More...

Definition#include <OmHeaders.h>
InheritsOmNode
Inherited byOmBigIntegerNode, OmByteArrayNode, OmFloatNode, OmIntegerNode, OmStringNode, OmWStringNode, OmSymbolNode, OmVariableNode, OmPInstructionNode
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Protected Members


Detailed Description

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)
[virtual]

Disable appending.

OmNode * insert (Iterator it_in, OmNode * adoption_in)
[virtual]

Disable insertion.

OmFinalNode (const OmFinalNode & other_in)
[protected]

Copy constructor.

~OmFinalNode ()
[protected virtual]

Destructor.


Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199.