OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimDirectoryData.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks)
6 //
7 // Description:
8 // Class designed to be used by ossimDirectory class. Should not be used
9 // directly.
10 //
11 //*************************************************************************
12 // $Id: ossimDirectoryData.h 9968 2006-11-29 14:01:53Z gpotts $
13 #ifndef ossimDirectoryData_HEADER
14 #define ossimDirectoryData_HEADER
15 
16 #ifndef _MSC_VER
17 
18 #include <dirent.h>
20 
22 {
23  public:
24  ossimDirectoryData(const ossimFilename& dirname);
26 
27  bool isOk() const { return theDir != NULL; }
28 
29  void setFlags(int flags);
30  int getFlags() const;
31 
32  void rewind();
33  bool read(ossimFilename &filename);
34 
35  private:
36  DIR* theDir;
38  int theFlags;
39 };
40 
41 #endif /* #ifndef _MSC_VER */
42 
43 #endif /* #ifndef ossimDirectoryData_HEADER */
#define OSSIMDLLEXPORT
ossimFilename theDirectoryName