runtime parameter info

Code related to Runtime Parameter Info.

class flash.flmake.rp_info.RPInfo(warn=1)[source]

Class which keeps track of run time parameters and related info To each runtime parameter we keep track of the following info:

“NAME” of the parameter “TYPE” - REAL, INTEGER, BOOLEAN, STRING “VALUE” - Initial value of parameter “CONST” - Boolean saying if this value is constant “COMMENT” - Info regarding parameter “RANGE” - [ list of range specifications ] range spec = {“min”:min_val,”max”:max_val} or “STRING”

self is a dictionary mapping “LOCATION”,”NAME” to other info self.locations is a dictionary mapping “NAME” to list of locations defining it If warn is non-empty duplicate names are considered WARNING, else duplicate (NAME,LOCATION) is WARNING else it is OK

If it is a warning then RP not added to database

write_default_par()[source]

write out a default.par which has all default values commented

Previous topic

remove

Next topic

run

This Page