1 #ifndef FWCore_Catalog_FileLocator_h
2 #define FWCore_Catalog_FileLocator_h
34 typedef std::vector<Rule>
Rules;
61 #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
void init(std::string const &catUrl, unsigned iCatalog)
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, unsigned iCatalog=0)
ProtocolRules m_directRules
std::vector< Rule > Rules
std::vector< std::string > m_protocols
void parseRule(tinyxml2::XMLElement *ruleNode, ProtocolRules &rules)
std::string applyRules(ProtocolRules const &protocolRules, std::string const &protocol, std::string const &destination, bool direct, std::string name) const
std::regex destinationMatch