OpendTect-6_4  6.4
dirlist.h
Go to the documentation of this file.
1 #ifndef dirlist_h
2 #define dirlist_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H.Bril
9  Date: 18-4-1996
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "basicmod.h"
16 #include "bufstringset.h"
17 
18 
24 {
25 public:
26 
27  enum Type { AllEntries, FilesOnly, DirsOnly };
28 
29  DirList(const char*,Type t=AllEntries,
30  const char* msk=0);
33  void update();
34 
35  Type type() const { return type_; }
36  const char* dirName() const { return dir_; }
37  const char* dirMask() const { return mask_; }
38  const char* fullPath(int) const;
39 
40 private:
41 
45 
46 };
47 
48 
49 #endif
BufferString dir_
Definition: dirlist.h:43
#define mExpClass(module)
Definition: commondefs.h:160
Type type_
Definition: dirlist.h:42
BufferString mask_
Definition: dirlist.h:44
Set of BufferString objects.
Definition: bufstringset.h:28
const char * dirName() const
Definition: dirlist.h:36
Provides file and directory names in a certain directory.
Definition: dirlist.h:23
Type type() const
Definition: dirlist.h:35
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
const char * dirMask() const
Definition: dirlist.h:37
Type
Definition: dirlist.h:27

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019