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:
std::string string
Definition: nybbler.cc:12
void split_path(std::string const &path, std::vector< std::string > &components)
Definition: split_path.cc:13