8 open(F,$path) || die "Can't open values file $path";
20 @column = split(/,/,$_);
22 my $value_name = $column[0];
24 my $c_type_str = $column[1];
25 my $c_autogen = ($c_type_str =~ /\(a\)/);
27 my $c_type = $c_type_str;
30 my $python_type = $column[2];
31 my $components = $column[3];
32 my $enum_values = $column[4];
35 if($components ne "unitary"){
36 @components = split(/;/,$components);
43 @enums = split(/;/,$enum_values);
49 $h{$value_name} = { C => [$c_autogen,$c_type],
51 python => $python_type,
52 components=>[@components],
60 sub read_properties_file {
65 open(F,$path) || die "Can't open properties file $path";
77 @column = split(/,/,$_);
79 my $property_name = $column[0];
81 my $lic_value = $column[1];
82 my $default_value = $column[2];
84 $h{$property_name} = { lic_value => $lic_value,
85 default_value => $default_value
92 sub read_parameters_file {
97 open(F,$path) || die "Can't open parameters file $path";
109 @column = split(/\,/,$_);
111 my $parameter_name = $column[0];
113 my $enumConst = $column[1];
114 my $data_type = $column[2];
115 my $enum_string = $column[3];
119 @enums = split(/;/,$enum_string);
122 $h{$parameter_name} = { C => $data_type,
123 kindEnum => $enumConst,