Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
22
tools/track_analyzing/temporary_file.hpp
Normal file
22
tools/track_analyzing/temporary_file.hpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class TemporaryFile
|
||||
{
|
||||
public:
|
||||
TemporaryFile();
|
||||
TemporaryFile(std::string const & namePrefix, std::string const & nameSuffix);
|
||||
|
||||
TemporaryFile(TemporaryFile const &) = delete;
|
||||
TemporaryFile & operator=(TemporaryFile const &) = delete;
|
||||
|
||||
~TemporaryFile();
|
||||
|
||||
std::string const & GetFilePath() const { return m_filePath; }
|
||||
|
||||
void WriteData(std::string const & data);
|
||||
|
||||
private:
|
||||
std::string m_filePath;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue