File indexing completed on 2024-05-12 04:37:33
0001 {% extends "cpp_implementation.cpp" %} 0002 {% load kdev_filters %} 0003 0004 {% block extra_definitions %} 0005 0006 {% for method in private_functions %} 0007 {# skipping any defined destructor #} 0008 {% if not method.isDestructor %} 0009 0010 {% include "method_definition_cpp.txt" %} 0011 { 0012 {% if method.type %} 0013 return {{ method.default_return_value }}; 0014 {% endif %} 0015 } 0016 0017 {% endif %} 0018 {% endfor %} 0019 0020 {% endblock extra_definitions %} 0021 0022 {% block function_definitions %} 0023 0024 {# doing our own destructor #} 0025 {{ name }}::~{{ name }}() = default; 0026 0027 {% for method in public_functions %} 0028 {# skipping any defined destructor #} 0029 {% if not method.isDestructor %} 0030 0031 {% include "method_definition_cpp.txt" %} 0032 { 0033 {% if method.type %} 0034 return {{ method.default_return_value }}; 0035 {% endif %} 0036 } 0037 0038 {% endif %} 0039 {% endfor %} 0040 0041 {% for method in protected_functions %} 0042 {# skipping any defined destructor #} 0043 {% if not method.isDestructor %} 0044 0045 {% include "method_definition_cpp.txt" %} 0046 { 0047 {% if method.type %} 0048 return {{ method.default_return_value }}; 0049 {% endif %} 0050 } 0051 0052 {% endif %} 0053 {% endfor %} 0054 0055 {% endblock function_definitions %}