ISLEman
filename.h
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2015 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17 
18 #ifndef FILENAME_H
19 #define FILENAME_H
20 
21 #include <qdict.h>
22 #include <qlist.h>
23 #include "filedef.h"
24 
26 class FileName : public FileList
27 {
28  public:
29  FileName(const char *fn,const char *name);
30  ~FileName();
31  const char *fileName() const { return name; }
32  const char *fullName() const { return fName; }
33  void generateDiskNames();
34 
35  private:
36  int compareValues(const FileDef *item1,const FileDef *item2) const;
37  QCString name;
38  QCString fName;
39 };
40 
42 class FileNameIterator : public QListIterator<FileDef>
43 {
44  public:
45  FileNameIterator(const FileName &list);
46 };
47 
49 class FileNameList : public QList<FileName>
50 {
51  public:
52  FileNameList();
53  ~FileNameList();
54  void generateDiskNames();
55  private:
56  int compareValues(const FileName *item1,const FileName *item2) const;
57 };
58 
60 class FileNameListIterator : public QListIterator<FileName>
61 {
62  public:
63  FileNameListIterator( const FileNameList &list );
64 };
65 
67 class FileNameDict : public QDict<FileName>
68 {
69  public:
70  FileNameDict(uint size);
71  ~FileNameDict() {}
72 };
73 
74 #endif
A model of a file symbol.
Definition: filedef.h:64
Iterator for FileName objects in a FileNameList.
Definition: filename.h:60
Class representing all files with a certain base name.
Definition: filename.h:26
Iterator for FileDef objects in a FileName list.
Definition: filename.h:42
Definition: qlist.h:126
Class representing a list of FileDef objects.
Definition: filedef.h:240
Class representing a list of FileName objects.
Definition: filename.h:49
Unsorted dictionary of FileName objects.
Definition: filename.h:67
This is an alternative implementation of QCString.
Definition: qcstring.h:131
Definition: qlist.h:54