Debian Codegraph @

examples/specific/namespacefile.h

raw symbols SCIP
1
2 namespace foo {
3
4 /** This appears in the documentation */
5 class Bar {
6
7 public:
8 //! \brief namespaced class function
9 virtual void publicFunction() const = 0;
10
11 virtual void undocumentedPublicFunction() const = 0;
12
13 //! A protected class
14 class PublicClass {};
15
16 class UndocumentedPublicClass {};
17
18 protected:
19
20 //! A protected function
21 void protectedFunction() {};
22
23 void undocumentedProtectedFunction() {};
24
25 //! A protected class
26 class ProtectedClass {};
27
28 class UndocumentedProtectedClass {};
29
30 private:
31
32 //! This is a private function
33 virtual void privateFunction() const = 0;
34
35 virtual void undocumentedPrivateFunction() const = 0;
36
37 //! A private class
38 class PrivateClass {};
39
40 class UndocumentedPrivateClass {};
41 };
42
43 /** This also appears */
44 int baz();
45
46 /** More examples in a nested namespace */
47 namespace ns {
48
49 typedef int MyInt;
50
51 enum Letters {
52 A, /**< A documented enumeration constant */
53 B,
54 C
55 };
56
57 /** Documentation here */
58 struct FooStruct {};
59
60 class FooClass {
61
62 class InnerFoo {};
63
64 };
65 }
66
67 }
68
69 /** This is outside the namespace */
70 class OuterBar {
71
72 /** This appears as a sub class */
73 class InnerBar {};
74
75 };
76
77 /** Function outside of the namespace */
78 void outerFunction() {};