1 #ifndef FWCore_Catalog_FileLocator_h
2 #define FWCore_Catalog_FileLocator_h
9 #include <xercesc/dom/DOM.hpp>
35 typedef std::vector<Rule>
Rules;
40 void parseRule(xercesc::DOMNode* ruleNode,
63 #endif // FWCore_Catalog_FileLocator_h
std::map< std::string, Rules > ProtocolRules
static int s_numberOfInstances
std::string lfn(std::string const &ipfn) const
std::string m_destination
static std::string const input
ProtocolRules m_inverseRules
std::string convert(std::string const &input, ProtocolRules const &rules, bool direct) const
std::string pfn(std::string const &ilfn) const
FileLocator(std::string const &catUrl, bool fallback)
ProtocolRules m_directRules
std::vector< Rule > Rules
void parseRule(xercesc::DOMNode *ruleNode, ProtocolRules &rules)
std::vector< std::string > m_protocols
std::string applyRules(ProtocolRules const &protocolRules, std::string const &protocol, std::string const &destination, bool direct, std::string name) const
std::regex destinationMatch
void init(std::string const &catUrl, bool fallback)