1 #ifndef CommonTools_Utils_BinarySelectorSetter_h
2 #define CommonTools_Utils_BinarySelectorSetter_h
28 throw Exception(begin) <<
"Grammar error: empty expression stack. Please contact developer.";
30 throw Exception(begin) <<
"Grammar error: empty comparator stack. Please contact developer."
32 std::shared_ptr<ExpressionBase> rhs =
expStack_.back();
34 std::shared_ptr<ExpressionBase> lhs =
expStack_.back();
38 #ifdef BOOST_SPIRIT_DEBUG
39 BOOST_SPIRIT_DEBUG_OUT <<
"pushing binary selector" << std::endl;
ExpressionStack & expStack_
std::vector< std::shared_ptr< ComparisonBase > > ComparisonStack
BinarySelectorSetter(SelectorStack &selStack, ComparisonStack &cmpStack, ExpressionStack &expStack)
void operator()(const char *begin, const char *) const
std::vector< std::shared_ptr< ExpressionBase > > ExpressionStack
std::vector< SelectorPtr > SelectorStack
ComparisonStack & cmpStack_
SelectorStack & selStack_
std::shared_ptr< SelectorBase > SelectorPtr