split_path.h
Go to the documentation of this file.
1 #ifndef cetlib_split_path_h
2 #define cetlib_split_path_h
3 
4 // ======================================================================
5 //
6 // split_path: Split the string 'path' into components delimited by a
7 // single colon. Adjacent colons result in an empty string.
8 //
9 // ======================================================================
10 
11 #include <string>
12 #include <vector>
13 
14 namespace cet {
15  void split_path(std::string const& path,
16  std::vector<std::string>& components);
17 }
18 
19 // ======================================================================
20 
21 #endif /* cetlib_split_path_h */
22 
23 // Local Variables:
24 // mode: c++
25 // End:
dictionary components
const std::string path
Definition: plot_BEN.C:43
void split_path(std::string const &path, std::vector< std::string > &components)
enum BeamMode string