The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs. More...
#include <DDFilter.h>
Classes | |
struct | SpecificCriterion |
Public Member Functions | |
bool | accept (const DDExpandedView &) const |
true, if the DDExpandedNode fulfills the filter criteria More... | |
DDSpecificsFilter () | |
void | setCriteria (const DDValue &nameVal, DDCompOp, DDLogOp l=DDLogOp::AND, bool asString=true, bool merged=true) |
~DDSpecificsFilter () | |
Public Member Functions inherited from DDFilter | |
DDFilter () | |
virtual | ~DDFilter () |
Protected Member Functions | |
bool | accept_impl (const DDExpandedView &) const |
Protected Attributes | |
std::vector< SpecificCriterion > | criteria_ |
std::vector< DDLogOp > | logOps_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const DDSpecificsFilter &f) |
The DDGenericFilter is a runtime-parametrized Filter looking on DDSpecifcs.
Definition at line 32 of file DDFilter.h.
DDSpecificsFilter::DDSpecificsFilter | ( | ) |
Definition at line 238 of file DDFilter.cc.
DDSpecificsFilter::~DDSpecificsFilter | ( | ) |
Definition at line 242 of file DDFilter.cc.
|
virtual |
true, if the DDExpandedNode fulfills the filter criteria
Implements DDFilter.
Definition at line 256 of file DDFilter.cc.
References accept_impl().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().
|
protected |
Definition at line 261 of file DDFilter.cc.
References AND, begin, criteria_, end, DDLogicalPart::hasDDValue(), DDExpandedView::logicalPart(), logOps_, DDExpandedView::mergedSpecificsV(), OR, query::result, and DDExpandedView::specificsV().
Referenced by accept().
void DDSpecificsFilter::setCriteria | ( | const DDValue & | nameVal, |
DDCompOp | op, | ||
DDLogOp | l = DDLogOp::AND , |
||
bool | asString = true , |
||
bool | merged = true |
||
) |
Definition at line 245 of file DDFilter.cc.
References criteria_, and logOps_.
Referenced by ListIds::analyze(), ListGroups::analyze(), HcalParametersFromDD::build(), GEMGeometryParsFromDD::build(), ME0GeometryBuilderFromDDD::build(), GEMGeometryBuilderFromDDD::build(), RPCGeometryParsFromDD::build(), RPCGeometryBuilderFromDDD::build(), CSCGeometryParsFromDD::build(), DTGeometryBuilderFromDDD::build(), DTGeometryParsFromDD::build(), CaloTrkProcessing::CaloTrkProcessing(), DDDCmsTrackerContruction::construct(), DTGeometryParserFromDDD::DTGeometryParserFromDDD(), ECalSD::ECalSD(), MaterialBudgetHcalHistos::fillBeginJob(), EcalTBHodoscopeGeometryLoaderFromDDD::getDDFilter(), HCalSD::HCalSD(), HcalTB06BeamSD::HcalTB06BeamSD(), HFFibre::HFFibre(), HFShowerFibreBundle::HFShowerFibreBundle(), HFShowerPMT::HFShowerPMT(), FastTimeDDDConstants::initialize(), HGCalDDDConstants::initialize(), DreamSD::initMap(), HcalTB02SD::initMap(), ECalSD::initMap(), MaterialAccountingGroup::MaterialAccountingGroup(), MuonDDDConstants::MuonDDDConstants(), CocoaAnalyzer::ReadXMLFile(), PrintGeomMatInfo::update(), and PrintGeomInfoAction::update().
|
friend |
|
protected |
Definition at line 71 of file DDFilter.h.
Referenced by accept_impl(), and setCriteria().
|
protected |
Definition at line 72 of file DDFilter.h.
Referenced by accept_impl(), and setCriteria().