PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/python/performance/hierarchy/Simple.i

#
Swig | 52 lines | 43 code | 9 blank | 0 comment | 0 complexity | eec55fc8c1338b2b91e79d8621252838 MD5 | raw file
 1%inline %{
 2
 3class A {
 4public:
 5    A () {}
 6    ~A () {}
 7    void func () {}
 8};
 9
10class B : public A {
11public:
12    B () {}
13    ~B () {}
14};
15
16class C : public B {
17public:
18    C () {}
19    ~C () {}
20};
21
22class D : public C {
23public:
24    D () {}
25    ~D () {}
26};
27
28class E : public D {
29public:
30    E () {}
31    ~E () {}
32};
33
34class F : public E {
35public:
36    F () {}
37    ~F () {}
38};
39
40class G : public F {
41public:
42    G () {}
43    ~G () {}
44};
45
46class H : public G {
47public:
48    H () {}
49    ~H () {}
50};
51
52%}