Go to the documentation of this file. 1 #ifndef FWCore_Catalog_FileLocator_h
2 #define FWCore_Catalog_FileLocator_h
34 typedef std::vector<Rule>
Rules;
61 #endif // FWCore_Catalog_FileLocator_h
static const std::string input
std::string convert(std::string const &input, ProtocolRules const &rules, bool direct) const
std::string pfn(std::string const &ilfn) const
ProtocolRules m_inverseRules
std::vector< std::string > m_protocols
std::string lfn(std::string const &ipfn) const
std::string m_destination
void init(std::string const &catUrl, unsigned iCatalog)
std::map< std::string, Rules > ProtocolRules
std::vector< Rule > Rules
void parseRule(tinyxml2::XMLElement *ruleNode, ProtocolRules &rules)
ProtocolRules m_directRules
FileLocator(std::string const &catUrl, unsigned iCatalog=0)
static int s_numberOfInstances
std::string applyRules(ProtocolRules const &protocolRules, std::string const &protocol, std::string const &destination, bool direct, std::string name) const
std::regex destinationMatch