|
KiCad PCB EDA Suite
|
RAII helper that sets the VCS context path on construction and restores the previous value on destruction. More...
#include <text_eval_vcs.h>
Public Member Functions | |
| CONTEXT_PATH_SCOPE (const wxString &aPath) | |
| ~CONTEXT_PATH_SCOPE () | |
| CONTEXT_PATH_SCOPE (const CONTEXT_PATH_SCOPE &)=delete | |
| CONTEXT_PATH_SCOPE & | operator= (const CONTEXT_PATH_SCOPE &)=delete |
Private Attributes | |
| wxString | m_previous |
RAII helper that sets the VCS context path on construction and restores the previous value on destruction.
Nests correctly across multiple scopes on the same thread.
Definition at line 154 of file text_eval_vcs.h.
|
explicit |
Definition at line 52 of file text_eval_vcs.cpp.
References m_previous.
Referenced by CONTEXT_PATH_SCOPE(), and operator=().
| TEXT_EVAL_VCS::CONTEXT_PATH_SCOPE::~CONTEXT_PATH_SCOPE | ( | ) |
Definition at line 59 of file text_eval_vcs.cpp.
References m_previous.
|
delete |
References CONTEXT_PATH_SCOPE().
|
delete |
References CONTEXT_PATH_SCOPE().
|
private |
Definition at line 164 of file text_eval_vcs.h.
Referenced by CONTEXT_PATH_SCOPE(), and ~CONTEXT_PATH_SCOPE().