MADARA  3.2.3
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 
22 // Return the right child pointer
25 {
26  return right_;
27 }
28 
29 #endif // _MADARA_NO_KARL_
30 
31 #endif /* _COMPOSITE_NODE_CPP_ */
ComponentNode * right_
Right expression.
Provides knowledge logging services to files and terminals.
Definition: GlobalLogger.h:11
A multi-threaded logger for logging to one or more destinations.
Definition: Logger.h:88
CompositeUnaryNode(logger::Logger &logger, ComponentNode *right)
Constructor.
virtual ~CompositeUnaryNode(void)
Destructor.
An abstract base class defines a simple abstract implementation of an expression tree node...
Definition: ComponentNode.h:36
virtual ComponentNode * right(void) const
Returns the right expression.