|
KiCad PCB EDA Suite
|
A temporary file or directory that is removed when the object goes out of scope. More...
#include <gestfich.h>
Public Member Functions | |
| SCOPED_TEMP_PATH ()=default | |
| SCOPED_TEMP_PATH (const SCOPED_TEMP_PATH &)=delete | |
| SCOPED_TEMP_PATH & | operator= (const SCOPED_TEMP_PATH &)=delete |
| ~SCOPED_TEMP_PATH () | |
| bool | MakeFile (const wxString &aPrefix) |
| Create an empty file with a unique name after aPrefix. | |
| bool | MakeDirectory (const wxString &aPrefix) |
| Create an empty directory with a unique name after aPrefix. | |
| const wxString & | Path () const |
Private Attributes | |
| wxString | m_path |
A temporary file or directory that is removed when the object goes out of scope.
Definition at line 61 of file gestfich.h.
|
default |
Referenced by operator=(), and SCOPED_TEMP_PATH().
|
delete |
References SCOPED_TEMP_PATH().
| SCOPED_TEMP_PATH::~SCOPED_TEMP_PATH | ( | ) |
Definition at line 930 of file gestfich.cpp.
References m_path.
| bool SCOPED_TEMP_PATH::MakeDirectory | ( | const wxString & | aPrefix | ) |
Create an empty directory with a unique name after aPrefix.
Definition at line 946 of file gestfich.cpp.
References m_path, and MakeFile().
Referenced by BOOST_AUTO_TEST_CASE(), GenerateIpc2581File(), generateOneODBPackage(), and operator=().
| bool SCOPED_TEMP_PATH::MakeFile | ( | const wxString & | aPrefix | ) |
Create an empty file with a unique name after aPrefix.
Definition at line 939 of file gestfich.cpp.
References m_path.
Referenced by BOOST_AUTO_TEST_CASE(), GenerateIpc2581File(), MakeDirectory(), and operator=().
|
delete |
References MakeDirectory(), MakeFile(), and SCOPED_TEMP_PATH().
|
inline |
Definition at line 75 of file gestfich.h.
References m_path.
Referenced by BOOST_AUTO_TEST_CASE(), GenerateIpc2581File(), and generateOneODBPackage().
|
private |
Definition at line 78 of file gestfich.h.
Referenced by MakeDirectory(), MakeFile(), Path(), and ~SCOPED_TEMP_PATH().