MADARA  3.4.1
CompositeBinaryNode.h
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 #ifndef _MADARA_COMPOSITE_BINARY_NODE_H_
3 #define _MADARA_COMPOSITE_BINARY_NODE_H_
4 
5 #ifndef _MADARA_NO_KARL_
6 
7 #include <string>
8 
10 
11 namespace madara
12 {
13 namespace expression
14 {
21 {
22 public:
31 
35  virtual ~CompositeBinaryNode(void);
36 
41  virtual ComponentNode* left(void) const;
42 
43 protected:
46 };
47 }
48 }
49 
50 #endif // _MADARA_NO_KARL_
51 
52 #endif /* _MADARA_COMPOSITE_BINARY_NODE_H_ */
An abstract base class defines a simple abstract implementation of an expression tree node.
Definition: ComponentNode.h:37
Defines a left and right node (via inheritance from CompositeUnaryNode).
virtual ComponentNode * left(void) const
Returns the left expression.
CompositeBinaryNode(logger::Logger &logger, ComponentNode *left, ComponentNode *right)
Constructor.
ComponentNode * left_
left expression
Encapsulates a single expression tree.
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
Copyright(c) 2020 Galois.