Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 30 of file FWModelExpressionSelector.h.
bool FWModelExpressionSelector::select |
( |
FWEventItem * |
iItem, |
|
|
const std::string & |
iExpression |
|
) |
| const |
Throws an FWExpressionException if there is a problem
Definition at line 74 of file FWModelExpressionSelector.cc.
References reco::parser::baseExceptionWhat(), FWEventItem::changeManager(), getHLTprescales::index, fireworks::expression::indexFromNewFormatToOldFormat(), FWEventItem::modelData(), FWEventItem::modelType(), connectstrParser::o, fireworks::expression::oldToNewFormat(), triggerExpression::parse(), FWEventItem::select(), FWEventItem::size(), summarizeEdmComparisonLogfiles::succeeded, and cond::rpcobtemp::temp.
Referenced by python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), python.Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), python.Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), python.Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), python.Vispa.Views.AbstractView.AbstractView::restoreSelection(), and CmsShowEDI::runSelection().
76 using namespace fireworks::expression;
85 using namespace boost::spirit::classic;
90 if(!
parse(
temp.c_str(), grammar.use_parser<0>() >> end_p, space_p).full) {
108 if((*selectorPtr)(
o)) {
long indexFromNewFormatToOldFormat(const std::string &iNewFormat, long iNewFormatIndex, const std::string &iOldFormat)
FWModelChangeManager * changeManager() const
boost::spirit::classic::parser_error< reco::parser::SyntaxErrors > BaseException
Evaluator * parse(const T &text)
const char * baseExceptionWhat(const BaseException &e)
returns the appropriate 'what' message for the exception
boost::shared_ptr< SelectorBase > SelectorPtr
std::string oldToNewFormat(const std::string &iExpression)
const TClass * modelType() const
void select(int iIndex) const
const void * modelData(int iIndex) const