Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 29 of file FWModelExpressionSelector.h.
void FWModelExpressionSelector::select |
( |
FWEventItem * |
iItem, |
|
|
const std::string & |
iExpression, |
|
|
Color_t |
iColor = -1 |
|
) |
| const |
Throws an FWExpressionException if there is a problem
Definition at line 73 of file FWModelExpressionSelector.cc.
References reco::parser::baseExceptionWhat(), edm::TypeWithDict::byName(), FWEventItem::changeManager(), FWEventItem::ModelInfo::displayProperties(), alignCSCRings::e, cmsHarvester::index, fireworks::expression::indexFromNewFormatToOldFormat(), FWEventItem::modelData(), FWEventItem::modelInfo(), FWEventItem::modelType(), python.connectstrParser::o, fireworks::expression::oldToNewFormat(), triggerExpression::parse(), FWEventItem::select(), FWDisplayProperties::setColor(), FWEventItem::setDisplayProperties(), FWEventItem::size(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.AbstractView.AbstractView::restoreSelection(), and CmsShowEDI::runSelection().
75 using namespace fireworks::expression;
84 using namespace boost::spirit::classic;
88 if(!
parse(
temp.c_str(), grammar.use_parser<0>() >> end_p, space_p).full) {
102 if((*selectorPtr)(
o)) {
long indexFromNewFormatToOldFormat(const std::string &iNewFormat, long iNewFormatIndex, const std::string &iOldFormat)
void setColor(Color_t iColor)
FWModelChangeManager * changeManager() const
const FWDisplayProperties & displayProperties() const
static TypeWithDict byName(std::string const &className)
boost::spirit::classic::parser_error< reco::parser::SyntaxErrors > BaseException
Evaluator * parse(const T &text)
void setDisplayProperties(int iIndex, const FWDisplayProperties &) const
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
ModelInfo modelInfo(int iIndex) const