Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

stSaveDirectory Class Reference
[OOFILE file and directory manipulation.]

#include <ooffiles.h>

Collaboration diagram for stSaveDirectory:

Collaboration graph
[legend]
List of all members.

Detailed Description

Save the current directory and restore when we leave scope.

Very useful when you need to change current directory if ANSI file I/O being used that only opens files in the current dir, not handling paths.


Public Member Functions

 stSaveDirectory ()
 creating instance automatically inits our dir to the current directory.

 ~stSaveDirectory ()
 Return to the directory that was current when instance created.


Constructor & Destructor Documentation

stSaveDirectory::stSaveDirectory  ) 
 

creating instance automatically inits our dir to the current directory.

stSaveDirectory::~stSaveDirectory  ) 
 

Return to the directory that was current when instance created.

Note:
Default ctor for member mSavedDir automatically inits our dir to the current directory.


The documentation for this class was generated from the following files:
Generated on Fri Jan 2 01:29:38 2004 for OOFILE by doxygen 1.3.5