Orb/Doxygen/src/classlist.h
changeset 0 42188c7ea2d9
child 4 468f4c8d3d5b
equal deleted inserted replaced
-1:000000000000 0:42188c7ea2d9
       
     1 /******************************************************************************
       
     2  *
       
     3  * 
       
     4  *
       
     5  * Copyright (C) 1997-2008 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 };
       
    58 
       
    59 #endif