GCpp general purpose C++ library  version 1.0
GStringList.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GStringList.hh
3  *
4  * Include file for class GStringList.
5  */
6 //======================================================================
7 
8 #ifndef G_STRING_LIST_HH
9 #define G_STRING_LIST_HH
10 
11 #include "GString.hh"
12 #include "GSortListT.hh"
13 #include "GFileFunctions.hh"
14 
15 //======================================================================
16 /*! \class GStringList
17  *
18  * Class defining a list of GString objects.
19  *
20  */
21 
22 class GStringList : public GSortListT<GString>
23 {
24 //----------------------------------------------------------------------
25  /*! \object_doc */
27 //----------------------------------------------------------------------
28 
29  /// iterator type definition
31 
32  protected:
33 
34 
35  public:
36  //------------------------------------------------------------
37  // Constructor / Destructor / Affectation
38 
39  GStringList ( );
40  GStringList ( const u_int fl );
41  GStringList ( const string & str, const string & separ = GSTRING_DEFAULT_SEPARATOR );
42  GStringList ( const GStringList & original );
43 
44  virtual ~GStringList ( );
45 
46  GStringList & operator = ( const GStringList &original );
47 
48  //------------------------------------------------------------
49 
50  virtual int GetFileList ( const string & dir,
51  const string & pattern ); // inline
52  virtual int GetFileList ( const string & pattern ); // inline
53 };
54 
55 //----------------------------------------------------------------------
56 // Inline functions
57 #include "icc/GStringList.icc"
58 
59 //======================================================================
60 #endif
Definition: GListIterT.hh:21
#define GSTRING_DEFAULT_SEPARATOR
! Default separator characters
Definition: GString.hh:17
Definition: GSortListT.hh:28
#define GObject(T)
Definition: GClassDefine.hh:65
Definition: GString.hh:44
virtual int GetFileList(const string &dir, const string &pattern)
Definition: GStringList.icc:46
unsigned int u_int
Definition: GTypes.hh:38
Definition: GStringList.hh:22