Changeset View
Changeset View
Standalone View
Standalone View
file_templates/common/cpp_header_onlyfunctions.h
Show All 19 Lines | |||||
20 | {% endblock namespaces_open %} | 20 | {% endblock namespaces_open %} | ||
21 | 21 | | |||
22 | 22 | | |||
23 | {% block forward_declarations %} | 23 | {% block forward_declarations %} | ||
24 | {% endblock forward_declarations %} | 24 | {% endblock forward_declarations %} | ||
25 | 25 | | |||
26 | 26 | | |||
27 | {% block class_declaration_open %} | 27 | {% block class_declaration_open %} | ||
28 | class {{ name }}{% if base_classes %} :{% for base in base_classes %} {{ base.inheritanceMode }} {{ base.baseType }}{% if not forloop.last %},{% endif %}{% endfor %}{% endif %} | 28 | {% include "class_declaration_apidox_cpp.txt" %} | ||
29 | {% include "class_declaration_cpp.txt" %} | ||||
29 | { | 30 | { | ||
30 | {% endblock class_declaration_open %} | 31 | {% endblock class_declaration_open %} | ||
31 | | ||||
32 | {% block class_body %} | 32 | {% block class_body %} | ||
33 | {% if public_functions %} | 33 | {% if public_functions %} | ||
34 | | ||||
34 | public: | 35 | public: | ||
35 | {% for method in public_functions %} | 36 | {% for method in public_functions %} | ||
36 | {% include "method_declaration_cpp.txt" %} | | |||
37 | {% endfor %} | | |||
38 | 37 | | |||
38 | {% include "class_method_declaration_apidox_cpp.txt" %} | ||||
39 | {% include "class_method_declaration_cpp.txt" %} | ||||
40 | | ||||
41 | {% endfor %} | ||||
39 | 42 | | |||
40 | {% endif %} | 43 | {% endif %} | ||
41 | {% if protected_functions %} | 44 | {% if protected_functions %} | ||
45 | | ||||
42 | protected: | 46 | protected: | ||
43 | {% for method in protected_functions %} | 47 | {% for method in protected_functions %} | ||
44 | {% include "method_declaration_cpp.txt" %} | | |||
45 | {% endfor %} | | |||
46 | 48 | | |||
49 | {% include "class_method_declaration_apidox_cpp.txt" %} | ||||
50 | {% include "class_method_declaration_cpp.txt" %} | ||||
51 | | ||||
52 | {% endfor %} | ||||
47 | 53 | | |||
48 | {% endif %} | 54 | {% endif %} | ||
49 | {% if private_functions %} | 55 | {% if private_functions %} | ||
56 | | ||||
50 | private: | 57 | private: | ||
51 | {% for method in private_functions %} | 58 | {% for method in private_functions %} | ||
52 | {% include "method_declaration_cpp.txt" %} | | |||
53 | {% endfor %} | | |||
54 | 59 | | |||
60 | {% include "class_method_declaration_apidox_cpp.txt" %} | ||||
61 | {% include "class_method_declaration_cpp.txt" %} | ||||
62 | | ||||
63 | {% endfor %} | ||||
55 | 64 | | |||
56 | {% endif %} | 65 | {% endif %} | ||
57 | {% endblock class_body %} | 66 | {% endblock class_body %} | ||
58 | | ||||
59 | {% block class_bottom %} | 67 | {% block class_bottom %} | ||
60 | {% endblock %} | 68 | {% endblock %} | ||
61 | | ||||
62 | {% block class_declaration_close %} | 69 | {% block class_declaration_close %} | ||
63 | }; | 70 | }; | ||
64 | {% endblock %} | 71 | {% endblock %} | ||
65 | 72 | | |||
73 | | ||||
66 | {% block outside_class %} | 74 | {% block outside_class %} | ||
67 | {% endblock %} | 75 | {% endblock %} | ||
68 | 76 | | |||
77 | | ||||
69 | {% block namespaces_close %} | 78 | {% block namespaces_close %} | ||
70 | {% include "namespace_close_cpp.txt" %} | 79 | {% include "namespace_close_cpp.txt" %} | ||
71 | {% endblock namespaces_close %} | 80 | {% endblock namespaces_close %} | ||
72 | 81 | | |||
82 | | ||||
73 | {% block outside_namespace %} | 83 | {% block outside_namespace %} | ||
74 | {% endblock %} | 84 | {% endblock %} | ||
75 | 85 | | |||
76 | 86 | | |||
77 | {% block include_guard_close %} | 87 | {% block include_guard_close %} | ||
78 | #endif // {% include "include_guard_cpp.txt" %} | 88 | #endif // {% include "include_guard_cpp.txt" %} | ||
79 | {% endblock include_guard_close %} | 89 | {% endblock include_guard_close %} |