annotate src/doctree.hh @ 501:424e4f409636

add doctree.hh
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 28 Oct 2008 21:27:48 +0100
parents
children 00b31843839b
rev   line source
501
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
1 #ifndef __DOCTREE_HH__
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
2 #define __DOCTREE_HH__
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
3
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
4 class DoctreeNode {
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
5 private:
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
6 int index;
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
7
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
8 public:
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
9 int tagIndex;
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
10 const char *klass;
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
11 const char *id;
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
12 };
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
13
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
14 class Doctree {
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
15 public:
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
16 virtual ~Doctree () = 0;
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
17 virtual const DoctreeNode *top () = 0;
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
18 virtual const DoctreeNode *parent (const DoctreeNode *node) = 0;
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
19 };
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
20
424e4f409636 add doctree.hh
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
21 #endif