FileName.h
Go to the documentation of this file.
1 
10 #ifndef _utl_FileName_h_
11 #define _utl_FileName_h_
12 
13 #include <boost/filesystem/path.hpp>
14 #include <string>
15 
16 
17 namespace utl {
18 
20  boost::filesystem::path BareFilePath(const boost::filesystem::path& path);
21 
23  std::string BareFileName(const boost::filesystem::path& path);
24 
26  std::string FileExtension(const boost::filesystem::path& path);
27 
29  boost::filesystem::path operator+(const boost::filesystem::path& path,
30  const std::string& extra);
31 
32  namespace File {
33 
34  bool Exists(const std::string& filename);
35 
36  }
37 
38 }
39 
40 
41 #endif
fs::path operator+(const fs::path &thePath, const string &extra)
Definition: FileName.cc:73
bool Exists(const string &filename)
Definition: FileName.cc:88
std::string BareFileName(const fs::path &thePath)
Definition: FileName.cc:46
fs::path BareFilePath(const fs::path &thePath)
Definition: FileName.cc:33
std::string FileExtension(const fs::path &thePath)
Definition: FileName.cc:58
char * filename
Definition: dump1090.h:266

, generated on Tue Sep 26 2023.