|
||||
File indexing completed on 2024-04-06 12:13:13
0001 #ifndef FWCore_Utilities_stemFromPath_h 0002 #define FWCore_Utilities_stemFromPath_h 0003 0004 #include <string_view> 0005 0006 namespace edm { 0007 // This functions extracts the stem of a file from the path (= file 0008 // name without the extension). The returned value is a string_view 0009 // to the input string. Caller should ensure that the input string 0010 // object lives long enough. 0011 // 0012 // The reason to have our own function instead of 0013 // std::filesystem is that tehcnically these paths are not 0014 // filesystem paths, but paths in CMS LFN/PFN space that (may) have 0015 // different rules. 0016 std::string_view stemFromPath(std::string_view path); 0017 } // namespace edm 0018 0019 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |