diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/diagrams.cfg | 10 | ||||
-rw-r--r-- | examples/diagrams_a.h | 4 | ||||
-rw-r--r-- | examples/diagrams_b.h | 5 | ||||
-rw-r--r-- | examples/diagrams_c.h | 6 | ||||
-rw-r--r-- | examples/diagrams_d.h | 7 | ||||
-rw-r--r-- | examples/diagrams_e.h | 5 |
6 files changed, 37 insertions, 0 deletions
diff --git a/examples/diagrams.cfg b/examples/diagrams.cfg new file mode 100644 index 0000000..dd510bd --- /dev/null +++ b/examples/diagrams.cfg @@ -0,0 +1,10 @@ +PROJECT_NAME = "Diagrams" +OUTPUT_DIRECTORY = diagrams +HAVE_DOT = YES +EXTRACT_ALL = YES +GENERATE_LATEX = NO +GENERATE_MAN = NO +ENABLE_PREPROCESSING = YES +INPUT = . +FILE_PATTERNS = diagrams_*.h +QUIET = YES diff --git a/examples/diagrams_a.h b/examples/diagrams_a.h new file mode 100644 index 0000000..047a8ab --- /dev/null +++ b/examples/diagrams_a.h @@ -0,0 +1,4 @@ +#ifndef _DIAGRAMS_A_H +#define _DIAGRAMS_A_H +class A { public: A *m_self; }; +#endif diff --git a/examples/diagrams_b.h b/examples/diagrams_b.h new file mode 100644 index 0000000..5fcd247 --- /dev/null +++ b/examples/diagrams_b.h @@ -0,0 +1,5 @@ +#ifndef _DIAGRAMS_B_H +#define _DIAGRAMS_B_H +class A; +class B { public: A *m_a; }; +#endif diff --git a/examples/diagrams_c.h b/examples/diagrams_c.h new file mode 100644 index 0000000..e4ec11d --- /dev/null +++ b/examples/diagrams_c.h @@ -0,0 +1,6 @@ +#ifndef _DIAGRAMS_C_H +#define _DIAGRAMS_C_H +#include "diagrams_c.h" +class D; +class C : public A { public: D *m_d; }; +#endif diff --git a/examples/diagrams_d.h b/examples/diagrams_d.h new file mode 100644 index 0000000..3e635ce --- /dev/null +++ b/examples/diagrams_d.h @@ -0,0 +1,7 @@ +#ifndef _DIAGRAM_D_H +#define _DIAGRAM_D_H +#include "diagrams_a.h" +#include "diagrams_b.h" +class C; +class D : virtual protected A, private B { public: C m_c; }; +#endif diff --git a/examples/diagrams_e.h b/examples/diagrams_e.h new file mode 100644 index 0000000..5282388 --- /dev/null +++ b/examples/diagrams_e.h @@ -0,0 +1,5 @@ +#ifndef _DIAGRAM_E_H +#define _DIAGRAM_E_H +#include "diagrams_d.h" +class E : public D {}; +#endif |