Updated Glossario.tex
[GoMoku3D.git] / network_test_diagram / generation_settings
blobd46cc8c3cbbca1c79243243c835b9bd37a3d7aa2
2   cpp_default_defs 
3   cpp_h_extension "h" cpp_src_extension "cpp" java_extension "java" php_extension "php" idl_extension "idl"
5   type_forms 15 // uml cpp java idl cpp_in cpp_out cpp_inout cpp_return
6     "void" "void" "void" "void" "${type}" "${type} &" "${type}" "${type}"
7     "any" "void *" "Object" "any" "const ${type}" "${type}" "${type} &" "${type}"
8     "bool" "bool" "boolean" "boolean" "${type}" "${type} &" "${type} &" "${type}"
9     "char" "char" "char" "char" "${type}" "${type} &" "${type} &" "${type}"
10     "uchar" "unsigned char" "char" "octet" "${type}" "${type} &" "${type} &" "${type}"
11     "byte" "unsigned char" "byte" "octet" "${type}" "${type} &" "${type} &" "${type}"
12     "short" "short" "short" "short" "${type}" "${type} &" "${type} &" "${type}"
13     "ushort" "unsigned short" "short" "unsigned short" "${type}" "${type} &" "${type} &" "${type}"
14     "int" "int" "int" "long" "${type}" "${type} &" "${type} &" "${type}"
15     "uint" "unsigned int" "int" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
16     "long" "long" "long" "long" "${type}" "${type} &" "${type} &" "${type}"
17     "ulong" "unsigned long" "long" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
18     "float" "float" "float" "float" "${type}" "${type} &" "${type} &" "${type}"
19     "double" "double" "double" "double" "${type}" "${type} &" "${type} &" "${type}"
20     "string" "string" "String" "string" "${type}" "${type} &" "${type} &" "${type}"
21   
22   relations_stereotypes 5 // uml cpp java idl
23     "sequence" "vector" "Vector" "sequence"
24     "vector" "vector" "Vector" "sequence"
25     "list" "list" "List" "sequence"
26     "set" "set" "Set" "sequence"
27     "map" "map" "Map" "sequence"
28   
29   classes_stereotypes 13 // uml cpp java php idl
30     "class" "class" "class" "class" "valuetype"
31     "interface" "class" "interface" "interface" "interface"
32     "exception" "class" "class" "class" "exception"
33     "enum" "enum" "enum" "enum" "enum"
34     "enum_pattern" "enum" "enum_pattern" "enum" "enum"
35     "struct" "struct" "class" "class" "struct"
36     "union" "union" "class" "class" "union"
37     "typedef" "typedef" "ignored" "ignored" "typedef"
38     "boundary" "class" "class" "class" "interface"
39     "control" "class" "class" "class" "valuetype"
40     "entity" "class" "class" "class" "valuetype"
41     "actor" "ignored" "ignored" "ignored" "ignored"
42     "@interface" "ignored" "@interface" "ignored" "ignored"
43   
44   cpp_enum_default_type_forms "${type}" "${type} &" "${type} &" "${type}" // in out inout return
45   other_cpp_types_default_type_forms "const ${type} &" "${type} &" "${type} &" "${type}" // in out inout return
47   cpp_default_h_content "#ifndef ${NAMESPACE}_${NAME}_H
48 #define ${NAMESPACE}_${NAME}_H
50 ${comment}
51 ${includes}
52 ${declarations}
53 ${namespace_start}
54 ${definition}
55 ${namespace_end}
56 #endif
58   cpp_default_src_content "${comment}
59 ${includes}
60 ${namespace_start}
61 ${members}
62 ${namespace_end}"
63   cpp_default_class_decl "${comment}${template}class ${name}${inherit} {
64 ${members}};
65 ${inlines}
67   cpp_default_external_class_decl "${name}
68 #include <${name}.h>
70   cpp_default_struct_decl "${comment}${template}struct ${name}${inherit} {
71 ${members}};
72 ${inlines}
74   cpp_default_union_decl "${comment}${template}union ${name} {
75 ${members}};
76 ${inlines}
78   cpp_default_enum_decl "${comment}enum ${name} {
79 ${items}
82   cpp_default_typedef_decl "${comment}typedef ${type} ${name};
84   cpp_default_attribute_declaration "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
85 " // multiplicity 1
86   "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
87 " // multiplicity * a..b
88   "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
89 " // multiplicity [..]
90   cpp_default_enum_item_declaration "  ${name}${value},${comment}"
91   cpp_association_aggregation_declaration
92     "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${value};
93 " // multiplicity 1
94     "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type} *> ${name}${value};
95 " // multiplicity * a..b
96     "    ${comment}${static}${mutable}${volatile}${const}${type} * ${name}${multiplicity}${value};
97 " // multiplicity [..]
98   cpp_aggregation_by_value_declaration
99     "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${value};
100 " // multiplicity 1
101     "    ${comment}${static}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
102 " // multiplicity * a..b
103     "    ${comment}${static}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
104 " // multiplicity [..]
105   cpp_get "get_${name}" inline const value_const public
106   cpp_set "set_${name}" public
107   cpp_default_operation_declaration "    ${comment}${friend}${static}${inline}${virtual}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
109   cpp_default_operation_definition "${comment}${inline}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
110   ${body}}
112   java_default_src_content "${comment}
113 ${package}
114 ${imports}
115 ${definition}"
116   java_default_class_decl "${comment}${@}${visibility}${final}${abstract}class ${name}${extends}${implements} {
117 ${members}}
119   java_default_external_class_decl "${name}"
120   java_default_interface_decl "${comment}${@}${visibility}interface ${name}${extends} {
121 ${members}}
123   java5_default_enum_decl "${comment}${@}${visibility}${final}${abstract}enum ${name}${implements} {
124 ${items};
125 ${members}}
127   java_default_enum_decl "${comment}${@}${visibility}final class ${name} {
128 ${members}
129   private final int value;
131   public int value() {
132     return value;
133   }
135   public static ${name} fromInt(int value) {
136     switch (value) {
137 ${cases}    default: throw new Error();
138     }
140   }
141   private ${name}(int v) { value = v; };
144   java_default_attribute_declaration "  ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
145 " // multiplicity 1
146   "  ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
147 " // multiplicity * a..b
148   "  ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
149 " // multiplicity N
150   java5_default_enum_item_declaration "  ${@}${name}${value},${comment}"
151   java_default_enum_item_declaration "  ${comment}${@}public static final int _${name}${value};
152 public static final ${class} ${name} = new ${class}(_${name});
154   java_default_enum_case "    case _${name}: return ${name};
156   java_association_aggregation_declaration
157     "  ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
158 " // multiplicity 1
159     "  ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
160 " // multiplicity * a..b
161     "  ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
162 " // multiplicity N
163   java_get "get${Name}" final public
164   java_set "set${Name}" public
165   java_default_operation_definition "  ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
166   ${body}}
168   php_default_src_content "<?php
169 ${comment}
170 ${definition}
173   php_default_class_decl "${comment}${final}${visibility}${abstract}class ${name}${extends}${implements} {
174 ${members}}
176   php_default_enum_decl "${comment}final ${visibility}class ${name} {
177 ${items}}
179   php_default_external_class_decl "${name}"
180   php_default_interface_decl "${comment}${visibility}interface ${name} {
181 ${members}}
183   php_default_attribute_declaration "  ${comment}${visibility}${const}${static}${var}${name}${value};
185   php_default_enum_item_decl "  const ${name}${value};${comment}
187   php_default_relation_declaration"  ${comment}${visibility}${const}${static}${var}${name}${value};
189   php_get "get${Name}" final
190   php_set "set${Name}"
191   php_default_operation_definition "  ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}
193   ${body}}
195   idl_default_src_content "#ifndef ${MODULE}_${NAME}_H
196 #define ${MODULE}_${NAME}_H
198 ${comment}
199 ${includes}
200 ${module_start}
201 ${definition}
202 ${module_end}
203 #endif
205   idl_default_interface_decl "${comment}${abstract}${local}interface ${name}${inherit} {
206 ${members}};
208   idl_default_valuetype_decl "${comment}${abstract}${custom}valuetype ${name}${inherit} {
209 ${members}};
211   idl_default_struct_decl "${comment}struct ${name} {
212 ${members}};
214   idl_default_typedef_decl "${comment}typedef ${type} ${name};
216   idl_default_exception_decl "${comment}exception ${name} {
217 ${members}};
219   idl_default_union_decl "${comment}union ${name} switch(${switch}) {
220 ${members}};
222   idl_default_enum_decl "${comment}enum ${name} {
223 ${items}};
225   idl_default_external_class_decl "${name}
226 #include \"${name}.idl\"
228   idl_default_attribute_declaration "  ${comment}${readonly}${attribute}${type} ${name};
229 " // multiplicity 1
230   "  ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
231 " // multiplicity * a..b
232   "  ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
233 " // multiplicity N
234   idl_default_valuetype_attribute_declaration "  ${comment}${visibility}${type} ${name};
235 " // multiplicity 1
236   "  ${comment}${visibility}${stereotype}<${type}> ${name};
237 " // multiplicity * a..b
238   "  ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
239 " // multiplicity N
240   idl_default_const_declaration "  ${comment}const ${type} ${name}${value};
241 " // multiplicity 1
242   "  ${comment}const ${stereotype}<${type}> ${name}${value};
243 " // multiplicity * a..b
244   "  ${comment}const ${stereotype}<${type},${multiplicity}> ${name}${value};
245 " // multiplicity N
246   idl_default_enum_item_declaration "  ${name},${comment}"
247   idl_default_union_item_declaration "  ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
248   "  ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
249   "  ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
250   idl_association_aggregation_declaration
251     "  ${comment}${readonly}${attribute}${type} ${name};
252 " // multiplicity 1
253     "  ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
254 " // multiplicity * a..b
255     "  ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
256 " // multiplicity N
257   idl_valuetype_association_aggregation_declaration
258     "  ${comment}${visibility}${type} ${name};
259 " // multiplicity 1
260     "  ${comment}${visibility}${stereotype}<${type}> ${name};
261 " // multiplicity * a..b
262     "  ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
263 " // multiplicity N
264   idl_union_association_aggregation_declaration
265     "  ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
266     "  ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
267     "  ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
268   idl_get "get_${name}"
269   idl_set "set_${name}"  twoways
270   idl_default_operation_declaration "  ${comment}${oneway}${type} ${name}${(}${)}${raisesnl}${raises};
272   uml_get_name uml uml_set_name uml