Option Definition/Generation

define_opt()

Public: Defines process option.

  • $1 - Option name.

  • $2 - Value associated to the option being defined.

  • $3 - Name of variable that will store the information about the option to be added.

Examples

define_opt “-o” “${value}” “optlist”

The function does not return any value

define_cmdline_opt()

Public: Defines process option from command-line option.

  • $1 - Command-line options taken as input of the define_opts or generate_opts method.

  • $2 - Name of option given in the command line.

  • $3 - Name of the variable that will store the newly added option.

Examples

define_cmdline_opt “${cmdline}” “-o” “optlist”

The function does not return any value

define_opt_from_proc_out()

Public: Defines process option from the output of another process.

  • $1 - Option name.

  • $2 - Name of process that will be connected with current one.

  • $3 - Name of output option belonging to the the process to be connected.

  • $4 - Name of the variable to store the new option.

Examples

define_opt_from_proc_out “-in” “process_to_be_connected” “-out” optlist

The function does not return any value

save_opt_list()

Public: Saves option list for a given process.

  • $1 - Name of variable storing the option list.

Examples

save_opt_list optlist

The function does not return any value