HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FS_AutoFileResolverDestroyer Class Reference

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_FileResolvergetResolver () const
 Accessor for the resolver it holds. More...
 
void setResolver (FS_FileResolver *resolver)
 Sets the resolver it cleans up after. More...
 
void destroyResolver ()
 

Detailed Description

Utility class for auto destruction and cleanup of the file resolver.

Definition at line 260 of file FS_FileResolver.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void FS_AutoFileResolverDestroyer::destroyResolver ( )

Destroys the resolver right away rather than waiting for the destructor to be invoked.

FS_FileResolver* FS_AutoFileResolverDestroyer::getResolver ( ) const
inline

Accessor for the resolver it holds.

Definition at line 273 of file FS_FileResolver.h.

void FS_AutoFileResolverDestroyer::setResolver ( FS_FileResolver resolver)
inline

Sets the resolver it cleans up after.

Definition at line 277 of file FS_FileResolver.h.


The documentation for this class was generated from the following file: