summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/test_gen_class.template
blob: d53ae823e51b06622472faf36721cc7b90fb85a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

================================================================================
Class:        ${cls.name}$ (${cls.short_name}$)
================================================================================
Class type:   ${cls.type}$
Parent:       ${cls.parent.name if cls.parent else None}$
Hierarchy:    ${' => '.join([i.name for i in cls.hierarchy])}$
InheritsFull: ${', '.join([i.name for i in cls.inherits_full])}$
Namespace:    ${cls.namespace}$
Namespaces:   ${list(cls.namespaces)}$
File:         ${cls.file}$
Ctor enable:  ${cls.ctor_enable}$
Dtor enable:  ${cls.dtor_enable}$

Constructors:
=============
<!--(for ctor in cls.constructors)-->
 * ${ctor}$
<!--(else)-->
 no constructors available
<!--(end)-->

Methods:
========
<!--(for func in cls.methods)-->
 * ${func.name}$(...) ${func.method_scope}$
<!--(else)-->
 no methods available
<!--(end)-->

Properties:
===========
<!--(for func in cls.properties)-->
 * ${func.name}$ (<!--(for v in func.getter_values)-->${v.type.c_type_default}$ ${v.name}$, <!--(end)-->)
<!--(else)-->
 no properties available
<!--(end)-->

Implements:
===========
<!--(for i in cls.implements)-->
 * ${i.name}$
<!--(else)-->
 no implements available
<!--(end)-->

Events:
=======
<!--(for event in cls.events)-->
 * ${event.name}$ -> ${event.c_name}$
<!--(else)-->
 no events available
<!--(end)-->