When an instance of this class is destructed, it removes (deletes) the file at the path provided in the constructor.
More...
When an instance of this class is destructed, it removes (deletes) the file at the path provided in the constructor.
You can also manually cause removal of the file by invoking remove()
.
◆ FileRemover()
OpenSim::FileRemover::FileRemover |
( |
std::string |
filepath | ) |
|
|
inline |
◆ ~FileRemover()
OpenSim::FileRemover::~FileRemover |
( |
| ) |
|
|
inline |
◆ remove()
void OpenSim::FileRemover::remove |
( |
| ) |
const |
|
inline |
Remove the file at the path provided in the constructor.
The documentation for this class was generated from the following file:
- OpenSim/Common/CommonUtilities.h