3 #ifndef _COMPONENT_NODE_CPP_
4 #define _COMPONENT_NODE_CPP_
6 #ifndef _MADARA_NO_KARL_
madara::knowledge::KnowledgeRecord KnowledgeRecord
An abstract base class defines a simple abstract implementation of an expression tree node.
ComponentNode(logger::Logger &logger)
Constructor.
virtual void accept(Visitor &visitor) const
Accepts a visitor subclassed from the Visitor class.
virtual ComponentNode * right(void) const
Returns the right expression.
void set_logger(logger::Logger &logger)
Sets the logger for printing errors and debugging info.
virtual madara::knowledge::KnowledgeRecord item(void) const
Returns the value of the node.
virtual ComponentNode * left(void) const
Returns the left expression.
virtual ~ComponentNode(void)=0
Destructor.
Abstract base class for all visitors to all classes that derive from ComponentNode.
This class encapsulates an entry in a KnowledgeBase.
A multi-threaded logger for logging to one or more destinations.
Provides knowledge logging services to files and terminals.