Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/formula.h

Source at commit 1322 created 9 years 5 months ago.
By meklort, Add doxygen to utils folder
1/******************************************************************************
2 *
3 * $Id: formula.h,v 1.7 2001/03/19 19:27:40 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 FORMULA_H
19#define FORMULA_H
20
21#include "qtbc.h"
22#include <qlist.h>
23#include <qdict.h>
24
25class Formula
26{
27 public:
28 Formula(const char *text);
29 ~Formula();
30 int getId();
31 QCString getFormulaText() const { return form; }
32
33 private:
34 int number;
35 QCString form;
36};
37
38class FormulaList : public QList<Formula>
39{
40 public:
41 void generateBitmaps(const char *path);
42};
43
44class FormulaListIterator : public QListIterator<Formula>
45{
46 public:
47 FormulaListIterator(const FormulaList &l) :
48 QListIterator<Formula>(l) {}
49};
50
51class FormulaDict : public QDict<Formula>
52{
53 public:
54 FormulaDict(uint size) :
55 QDict<Formula>(size) {}
56 ~FormulaDict() {}
57};
58
59#endif
60

Archive Download this file

Revision: 1322