#include <WillGetIfMatch.h>
Public Member Functions | |
bool | operator() (BranchDescription const &branchDescription) |
template<typename U > | |
WillGetIfMatch (U const &match, M *module) | |
Private Attributes | |
std::function< bool(BranchDescription const &)> | match_ |
M * | module_ |
This is intended to be used only by the class GetterOfProducts. See comments in the file GetterOfProducts.h.
Definition at line 20 of file WillGetIfMatch.h.
edm::WillGetIfMatch< T, M >::WillGetIfMatch | ( | U const & | match, |
M * | module | ||
) | [inline] |
bool edm::WillGetIfMatch< T, M >::operator() | ( | BranchDescription const & | branchDescription | ) | [inline] |
Definition at line 29 of file WillGetIfMatch.h.
References edm::WillGetIfMatch< T, M >::match_.
{ if (match_(branchDescription)){ // We plan to implement a call to a function that // registers the products a module will get, but // this has not been implemented yet. This is // where that function would get called when it // is implemented, automatically registering // the gets for the module. (Creating a place to call // this function is the main reason for the existence // of this class). // module_->template willGet<T>(edm::makeInputTag(branchDescription)); return true; } return false; }
std::function<bool(BranchDescription const&)> edm::WillGetIfMatch< T, M >::match_ [private] |
Definition at line 48 of file WillGetIfMatch.h.
Referenced by edm::WillGetIfMatch< T, M >::operator()().
M* edm::WillGetIfMatch< T, M >::module_ [private] |
Definition at line 49 of file WillGetIfMatch.h.