![]() |
|
|||
File indexing completed on 2025-01-31 02:19:22
0001 #ifndef FWCore_Framework_TypeMatch_h 0002 #define FWCore_Framework_TypeMatch_h 0003 0004 /** \class edm::TypeMatch 0005 0006 This is intended to be used with the class GetterOfProducts. 0007 GetterOfProducts already forces matching on type. This guarantees that 0008 no duplicates for the same underlying data product are matched. Such 0009 duplication can occur when an EDAlias is involved. 0010 0011 \author C Jones, created 14 March, 2023 0012 0013 */ 0014 0015 #include "DataFormats/Provenance/interface/ProductDescription.h" 0016 0017 namespace edm { 0018 class TypeMatch { 0019 public: 0020 bool operator()(edm::ProductDescription const& productDescription) const { 0021 return not productDescription.isAnyAlias(); 0022 } 0023 }; 0024 } // namespace edm 0025 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |