2 #ifndef _MADARA_COMPOSITE_PREDECREMENT_NODE_H_ 3 #define _MADARA_COMPOSITE_PREDECREMENT_NODE_H_ 5 #ifndef _MADARA_NO_KARL_ 81 #endif // _MADARA_NO_KARL_ This class encapsulates an entry in a KnowledgeBase.
virtual madara::knowledge::KnowledgeRecord item(void) const
Returns the printable character of the node.
virtual void accept(Visitor &visitor) const
Accepts a visitor subclassed from the Visitor class.
Defines a terminal node of that references the current value stored in a variable.
VariableNode * var_
variable holder
A composite node that decrements a right expression.
Provides knowledge logging services to files and terminals.
A multi-threaded logger for logging to one or more destinations.
virtual ~CompositePredecrementNode(void)
Destructor.
CompositeArrayReference * array_
variable index holder
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 madara::knowledge::KnowledgeRecord evaluate(const madara::knowledge::KnowledgeUpdateSettings &settings)
Evaluates the node.
Settings for applying knowledge updates.
Encapsulates a single expression tree.
Copyright (c) 2015 Carnegie Mellon University.
virtual ComponentNode * right(void) const
Returns the right expression.
virtual madara::knowledge::KnowledgeRecord prune(bool &can_change)
Prunes the expression tree of unnecessary nodes.
Defines a terminal node of that references the current value stored in a variable.
CompositePredecrementNode(logger::Logger &logger, ComponentNode *right)
Constructor.