|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <WorkingDirectory.hpp>
Public 成员函数 | |
| WorkingDirectory (StringView path) | |
| operator bool () const | |
| bool | isChanged () const |
| StringView | getCurrentPath () const |
Protected 属性 | |
| std::string | oldpath_ |
| StringView | curpath_ |
工作目录切换器
用于在作用域内临时切换工作目录,退出作用域后自动恢复原目录。
|
inline |