8 bool justBlanks =
true;
9 for (std::string::const_iterator
c =
cut.begin();
c !=
cut.end(); ++
c) {
21 bool returnValue =
false;
22 const char* startingFrom =
cut.c_str();
24 returnValue =
parse(startingFrom, grammar.use_parser<0>() >> end_p, space_p).full;
27 <<
"Cut parser error:" <<
baseExceptionWhat(
e) <<
" (char " <<
e.where - startingFrom <<
")\n" 28 <<
"Cut string was " <<
cut;
vector< string > parse(string line, const string &delimiter)
bool cutParser(const edm::TypeWithDict &t, const std::string &cut, SelectorPtr &sel, bool lazy)
boost::spirit::classic::parser_error< reco::parser::SyntaxErrors > BaseException
const char * baseExceptionWhat(const BaseException &e)
returns the appropriate 'what' message for the exception
std::shared_ptr< SelectorBase > SelectorPtr