My Project
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
filename.h
Go to the documentation of this file.
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