MADARA  3.4.1
CompositeBinaryNode.cpp
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 #ifndef _COMPOSITE_LR_NODE_CPP_
3 #define _COMPOSITE_LR_NODE_CPP_
4 
5 #ifndef _MADARA_NO_KARL_
6 
8 
9 // Ctor
12  : CompositeUnaryNode(logger, right), left_(left)
13 {
14 }
15 
16 // Dtor
18 {
19  delete left_;
20 }
21 
22 // Return the left child pointer
25 {
26  return left_;
27 }
28 
29 #endif // _MADARA_NO_KARL_
30 
31 #endif /* _COMPOSITE_LR_NODE_CPP_ */
An abstract base class defines a simple abstract implementation of an expression tree node.
Definition: ComponentNode.h:37
virtual ComponentNode * left(void) const
Returns the left expression.
CompositeBinaryNode(logger::Logger &logger, ComponentNode *left, ComponentNode *right)
Constructor.
Encapsulates a single expression tree.
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