MADARA  3.4.1
CompositeUnaryNode.cpp
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 #ifndef _COMPOSITE_NODE_CPP_
3 #define _COMPOSITE_NODE_CPP_
4 
5 #ifndef _MADARA_NO_KARL_
6 
8 
11  : ComponentNode(logger), right_(right)
12 {
13 }
14 
15 // Dtor
17 {
18  delete right_;
19 }
20 
21 // Return the right child pointer
24 {
25  return right_;
26 }
27 
28 #endif // _MADARA_NO_KARL_
29 
30 #endif /* _COMPOSITE_NODE_CPP_ */
An abstract base class defines a simple abstract implementation of an expression tree node.
Definition: ComponentNode.h:37
virtual ~CompositeUnaryNode(void)
Destructor.
CompositeUnaryNode(logger::Logger &logger, ComponentNode *right)
Constructor.
virtual ComponentNode * right(void) const
Returns the right expression.
A multi-threaded logger for logging to one or more destinations.
Definition: Logger.h:165
Provides knowledge logging services to files and terminals.
Definition: GlobalLogger.h:12