1 #ifndef _TREE_ITERATOR_CPP 2 #define _TREE_ITERATOR_CPP 4 #ifndef _MADARA_NO_KARL_ 87 return !(*
this == rhs);
148 return !(*
this == rhs);
151 #endif // _MADARA_NO_KARL_ Encapsulates a MADARA KaRL expression into an evaluatable tree.
bool operator!=(const ExpressionTreeIterator &rhs)
In-equality operator.
ExpressionTreeConstIterator(const ExpressionTreeConstIterator &ts)
Copy ctor - needed for reference counting.
Constant iterator over an expression tree.
Non-const iterator for traversing an expression tree.
bool operator==(const ExpressionTreeConstIterator &rhs)
Equality operator.
ExpressionTreeIterator & operator++(void)
Preincrement operator.
bool operator==(const ExpressionTreeIterator &rhs)
Equality operator.
ExpressionTree operator*(void)
Dereference operator returns a reference to the item contained at the current position.
ExpressionTreeIterator(const ExpressionTreeIterator &ts)
Copy ctor - needed for reference counting.
const ExpressionTree operator*(void) const
Returns a const reference to the item contained at the current position.
madara::utility::Refcounter< ExpressionTreeIteratorImpl > impl_
madara::utility::Refcounter< ExpressionTreeIteratorImpl > impl_
Pointer to actual implementation, i.e., the "bridge", which is reference counted to automate memory m...
ExpressionTreeConstIterator & operator++(void)
Preincrement operator.
Implementation of the ExpressionTreeIterator pattern that is used to define the various iterations al...
bool operator!=(const ExpressionTreeConstIterator &rhs)
Nonequality operator.