3 #ifndef _COMPONENT_NODE_CPP_ 4 #define _COMPONENT_NODE_CPP_ 6 #ifndef _MADARA_NO_KARL_ 58 #endif // _MADARA_NO_KARL_ This class encapsulates an entry in a KnowledgeBase.
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 void accept(Visitor &visitor) const
Accepts a visitor subclassed from the Visitor class.
madara::knowledge::KnowledgeRecord KnowledgeRecord
virtual madara::knowledge::KnowledgeRecord item(void) const
Returns the value of the node.
logger::Logger * logger_
handle the context
virtual ~ComponentNode(void)=0
Destructor.
Provides knowledge logging services to files and terminals.
ComponentNode(logger::Logger &logger)
Constructor.
A multi-threaded logger for logging to one or more destinations.
An abstract base class defines a simple abstract implementation of an expression tree node...
Abstract base class for all visitors to all classes that derive from ComponentNode.
virtual ComponentNode * left(void) const
Returns the left expression.