source: cpp/gdk/neurocls-factory.m4 @ 56

Last change on this file since 56 was 5, checked in by sz, 16 years ago

added the GDK (Genotype Development Kit)

File size: 1.1 KB
Line 
1divert(-1)
2##
3##  NEUROCLASS(c_classname,name,longname,description,prefinputs,prefoutput,preflocat)
4##             $1          $2   $3       $4          $5         $6         $7
5##  SYMBOL(vectordata)
6##
7##  NEUROPROP(id,group,flags,name,type,min,max,def,field)
8##            $1 $2    $3    $4   $5   $6  $7  $8  $9
9##  ENDNEUROCLASS
10##
11
12divert(1)
13#define SETIMPLEMENTATION \
14divert(2)
15divert(-1)
16
17define(`CLASS',`dnl')
18define(`GROUP',`dnl')
19define(`PROP',`dnl')
20define(`XPROP',`dnl')
21define(`ENDCLASS',`dnl')
22
23define(`TABNAME',`NI_$1_tab')
24define(`CLSNAME',`NI_$1')
25define(`VARNAME',`tmp_$1')
26define(`XYNAME',`$1_xy')
27
28define(`SYMBOL',`dnl')
29define(`VISUALHINTS',`dnl')
30
31define(`NEUROCLASS',`define(`numprops',`0')`#'define FIELDSTRUCT' CLSNAME($1) `
32ParamEntry TABNAME($1) []={
33{"$3",1,divert(3),"$2",},divert(1)setImplementation("$2",new CLSNAME($1)); \
34divert(3)')
35
36define(`ENDNEUROCLASS',`divert numprops undivert(3) {0,0,0,},};
37`#'undef FIELDSTRUCT')
38define(`NEUROPROP',`define(`numprops',incr(numprops)){"$1",$2,$3,"$4","$5 $6 $7 $8",FIELD($9),},')
39
40divert
41// do not edit - generated automatically from "f0.def"
42// (to be included in "neurofactory.cpp")
Note: See TracBrowser for help on using the repository browser.