1 {% include
'copyright_block.txt' %}
3 #include "{{cpp_class}}.h"
5 {% for filename in cpp_includes
%}
6 #include "{{filename}}"
12 {{cpp_class
}}::{{cpp_class
}}()
14 {% for member in members
if member
.cpp_default_value
%}
15 {{member
.setter_name
}}({{member
.cpp_default_value
}});
19 DEFINE_TRACE({{cpp_class
}})
21 {% for member in members
if member
.is_traceable
%}
22 visitor
->trace(m_
{{member
.cpp_name
}});
24 {% if parent_cpp_class
%}
25 {{parent_cpp_class
}}::trace(visitor
);