#include <TDirectoryReset.h>
Public Member Functions | |
| TDirectoryReset (::TDirectory *dir=gDirectory) | |
| Constructor with the current directory. | |
| ~TDirectoryReset () | |
| Destructor. | |
Helper class for making sure the current directory is preserved
This class is used in the code to make sure that whenever a function call returns to the user, the current directory (gDirectory) would be the same as it was before the function call. Otherwise the user can have a few surprises...
1.6.1