SyB3R - Synthetic Benchmark for 3D Reconstruction
TmpDir.h
1 #ifndef TMPDIR_H
2 #define TMPDIR_H
3 
4 #include <boost/filesystem.hpp>
5 
6 namespace syb3r {
7 namespace tools {
8 
13 class TmpDir
14 {
15  public:
16  TmpDir();
17  ~TmpDir();
18  TmpDir(const TmpDir&) = delete;
19  const TmpDir& operator=(const TmpDir&) = delete;
20 
22  inline const boost::filesystem::path &getPath() const { return m_path; }
23  protected:
24  boost::filesystem::path m_path;
25 };
26 
27 }
28 }
29 
30 #endif // TMPDIR_H
Definition: CameraPathEvaluation.cpp:10
Creates a temporary directory in a suitable location that is deleted when the class instance is destr...
Definition: TmpDir.h:13
const boost::filesystem::path & getPath() const
Returns the path to the temporary directory.
Definition: TmpDir.h:22