Variables | |
string | CODE_TEMPLATE |
infile = sys.stdin | |
outfile = sys.stdout | |
string | paramchange = '\n' |
string | setdefaults = '\n' |
string | setparam = '\n' |
string | TEMPLATE_PARAMETER_CHANGE |
string | TEMPLATE_SETDEFAULTS |
string | TEMPLATE_SETPARAM = ''' getNH().setParam(node_name + "/{varname}", cfg["{varname}"].getValue<{typ}>());''' |
typ = line.split(',')[1].strip().split('_')[0] | |
varname = line.split('"')[1] | |
list | varnames_and_types = [] |
string generate_nerian_config_cpp.CODE_TEMPLATE |
Definition at line 24 of file generate_nerian_config_cpp.py.
generate_nerian_config_cpp.infile = sys.stdin |
Definition at line 90 of file generate_nerian_config_cpp.py.
generate_nerian_config_cpp.outfile = sys.stdout |
Definition at line 91 of file generate_nerian_config_cpp.py.
string generate_nerian_config_cpp.paramchange = '\n' |
Definition at line 105 of file generate_nerian_config_cpp.py.
string generate_nerian_config_cpp.setdefaults = '\n' |
Definition at line 107 of file generate_nerian_config_cpp.py.
string generate_nerian_config_cpp.setparam = '\n' |
Definition at line 106 of file generate_nerian_config_cpp.py.
string generate_nerian_config_cpp.TEMPLATE_PARAMETER_CHANGE |
Definition at line 75 of file generate_nerian_config_cpp.py.
string generate_nerian_config_cpp.TEMPLATE_SETDEFAULTS |
Definition at line 82 of file generate_nerian_config_cpp.py.
string generate_nerian_config_cpp.TEMPLATE_SETPARAM = ''' getNH().setParam(node_name + "/{varname}", cfg["{varname}"].getValue<{typ}>());''' |
Definition at line 80 of file generate_nerian_config_cpp.py.
generate_nerian_config_cpp.typ = line.split(',')[1].strip().split('_')[0] |
Definition at line 101 of file generate_nerian_config_cpp.py.
generate_nerian_config_cpp.varname = line.split('"')[1] |
Definition at line 100 of file generate_nerian_config_cpp.py.
list generate_nerian_config_cpp.varnames_and_types = [] |
Definition at line 97 of file generate_nerian_config_cpp.py.