Root/
Source at commit 1322 created 12 years 8 months ago. By meklort, Add doxygen to utils folder | |
---|---|
1 | /******************************************************************************␊ |
2 | *␊ |
3 | * $Id: classlist.h,v 1.8 2001/03/19 19:27:39 root Exp $␊ |
4 | *␊ |
5 | * Copyright (C) 1997-2011 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 CLASSLIST_H␊ |
19 | #define CLASSLIST_H␊ |
20 | ␊ |
21 | #include <qlist.h>␊ |
22 | #include <qdict.h>␊ |
23 | ␊ |
24 | #include "classdef.h"␊ |
25 | #include "sortdict.h"␊ |
26 | ␊ |
27 | class ClassList : public QList<ClassDef>␊ |
28 | { ␊ |
29 | public:␊ |
30 | ClassList();␊ |
31 | ~ClassList();␊ |
32 | ␊ |
33 | int compareItems(GCI item1,GCI item2);␊ |
34 | };␊ |
35 | ␊ |
36 | class ClassListIterator : public QListIterator<ClassDef>␊ |
37 | {␊ |
38 | public:␊ |
39 | ClassListIterator(const ClassList &list);␊ |
40 | };␊ |
41 | ␊ |
42 | class ClassDict : public QDict<ClassDef>␊ |
43 | {␊ |
44 | public:␊ |
45 | ClassDict(int size) : QDict<ClassDef>(size) {}␊ |
46 | ~ClassDict() {}␊ |
47 | };␊ |
48 | ␊ |
49 | class ClassSDict : public SDict<ClassDef>␊ |
50 | {␊ |
51 | public:␊ |
52 | ClassSDict(int size=17) : SDict<ClassDef>(size) {}␊ |
53 | ~ClassSDict() {}␊ |
54 | int compareItems(GCI item1,GCI item2);␊ |
55 | void writeDeclaration(OutputList &ol,const ClassDef::CompoundType *filter=0,␊ |
56 | const char *header=0,bool localNames=FALSE);␊ |
57 | void writeDocumentation(OutputList &ol);␊ |
58 | bool declVisible(const ClassDef::CompoundType *filter=0) const;␊ |
59 | };␊ |
60 | ␊ |
61 | #endif␊ |
62 |