Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Directory.h

Go to the documentation of this file.
00001 #ifndef _SOLARIS_DIRECTORY_H_
00002 #define _SOLARIS_DIRECTORY_H_
00003 
00004 #include <string>
00005 #include <dirent.h>
00006 #include "OSDependent/OSDependent.h"
00007 
00008 class DirectoryEntry;  // defined in OSDependent/Directory.h
00009 
00010 /*
00011  * Class for directory operations for Solaris.
00012  */
00013 class ClassExport Directory {
00014 private:
00015   bool            _hasFirst;  // has first entry already
00016   std::string     _name;      // name of directory
00017   DIR *           _handle;    // handle to the directory
00018   
00019  public:
00020   Directory(const char *name);
00021   ~Directory();
00022   
00023   int open();
00024   int close();
00025   int rewind();
00026   int seek(int pos);
00027   const char *name() const;
00028   DirectoryEntry *read();
00029 };
00030 
00031 #endif  // _SOLARIS_DIRECTORY_H_

Generated on Mon Oct 7 09:33:29 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001