HDK
|
Utility class for auto destruction and cleanup of the file resolver. More...
#include <FS_FileResolver.h>
Public Member Functions | |
FS_AutoFileResolverDestroyer (FS_FileResolver *resolver) | |
Constructor. More... | |
~FS_AutoFileResolverDestroyer () | |
FS_FileResolver * | getResolver () const |
Accessor for the resolver it holds. More... | |
void | setResolver (FS_FileResolver *resolver) |
Sets the resolver it cleans up after. More... | |
void | destroyResolver () |
Utility class for auto destruction and cleanup of the file resolver.
Definition at line 260 of file FS_FileResolver.h.
FS_AutoFileResolverDestroyer::FS_AutoFileResolverDestroyer | ( | FS_FileResolver * | resolver | ) |
Constructor.
FS_AutoFileResolverDestroyer::~FS_AutoFileResolverDestroyer | ( | ) |
Destructor. Deletes the resolver it holds (if not NULL), and if it is the same as the current global resolver, it resets it to NULL.
void FS_AutoFileResolverDestroyer::destroyResolver | ( | ) |
Destroys the resolver right away rather than waiting for the destructor to be invoked.
|
inline |
Accessor for the resolver it holds.
Definition at line 273 of file FS_FileResolver.h.
|
inline |
Sets the resolver it cleans up after.
Definition at line 277 of file FS_FileResolver.h.