2
2
Design overview
3
3
===============
4
4
5
- ------------------------
6
- The view from 10000 fits
7
- ------------------------
8
-
9
5
pygccxml has 4 packages:
10
6
11
- * :mod: `declarations <pygccxml.declarations> ` package defines classes that describe
12
- C++ declarations and types
7
+ * :mod: `declarations <pygccxml.declarations> `
8
+
9
+ This package defines classes that describe C++ declarations and types.
10
+
11
+ * :mod: `parser <pygccxml.parser> `
12
+
13
+ This package defines classes that parse `GCC-XML `_
14
+ or `CastXML `_ generated files. It also defines a few classes that will help
15
+ you unnecessary parsing of C++ source files.
13
16
14
- * :mod: `parser <pygccxml.parser> ` package defines classes that parse `GCC-XML `_
15
- generated files. Also it defines few classes that will help you to eliminate
16
- unnecessary parsing of C++ source files.
17
+ * :mod: `binary_parsers <pygccxml.binary_parsers> `
17
18
18
- * :mod: `binary_parsers <pygccxml.binary_parsers> ` package extracts some
19
- information from binary files ( `.so `, `.dll `, `.map ` ) and merges it with
20
- the declarations tree.
19
+ This package extracts information from binary files (`.so `, `.dll `, `.map `)
20
+ and merges it with the declarations tree.
21
21
22
- * `` utils `` package defines few functions, I found useful in the whole project.
22
+ * :mod: ` utils <pygccxml.utils> `
23
23
24
- -------------------------
24
+ This package defines a few functions useful for the whole project,
25
+ but which are mainly used internally by pygccxml.
26
+
27
+ ------------------------
25
28
``declarations `` package
26
- -------------------------
29
+ ------------------------
27
30
28
31
Please take a look on the `UML diagram `_. This `UML diagram `_ describes almost all
29
32
classes defined in the package and their relationship. ``declarations `` package
@@ -275,6 +278,13 @@ This is not the only bug, which could be fixed, there are few of them. pygccxml
275
278
introduces few classes, which knows how to deal with specific bug. More over, those
276
279
bugs are fixed, only if I am 101% sure, that this is the right thing to do.
277
280
281
+ -----------------
282
+ ``utils `` package
283
+ -----------------
284
+
285
+ Use internally by pygccxml.
286
+ Some methods/classes may be still usefull: loggers, find_xml_generator
287
+
278
288
-------
279
289
Summary
280
290
-------
@@ -287,6 +297,7 @@ information please read API documentation.
287
297
.. _`SourceForge` : http://sourceforge.net/index.php
288
298
.. _`Python` : http://www.python.org
289
299
.. _`GCC-XML` : http://www.gccxml.org
300
+ .. _`CastXML` : https://github.com/CastXML/CastXML
290
301
.. _`UML diagram` : declarations_uml.png
291
302
.. _`parser package UML diagram` : parser_uml.png
292
303
.. _`ReleaseForge` : http://releaseforge.sourceforge.net
0 commit comments