1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef CommonTools_Utils_findMethod_h
#define CommonTools_Utils_findMethod_h
#include "FWCore/Reflection/interface/FunctionWithDict.h"
#include "FWCore/Reflection/interface/TypeWithDict.h"
#include <string>
#include "CommonTools/Utils/interface/parser/AnyMethodArgument.h"
namespace reco {
// second pair member is true if a reference is found
// of type edm::Ref, edm::RefToBase or edm::Ptr
std::pair<edm::FunctionWithDict, bool> findMethod(const edm::TypeWithDict& type,
const std::string& name,
const std::vector<reco::parser::AnyMethodArgument>& args,
std::vector<reco::parser::AnyMethodArgument>& fixuppedArgs,
const char* where,
int& oError);
} // namespace reco
#endif
|