ParamSet.set

Sets the parameter value for key if key is one of the parameter keys passed on instantiation or added by a subclass.

  1. bool set(cstring key, cstring val)
    class ParamSet
  2. bool set(cstring key, size_t val, mstring dec)

Parameters

key cstring

parameter key (case insensitive)

val cstring

parameter value (will be sliced)

Return Value

Type: bool

true if key is one of parameter keys passed on instantiation or added by a subclass or false otherwise. In case of false nothing has changed.

Meta