9.8.14 AddParameter

OEParameter* AddParameter(std::string classid)

Adds a parameter to the interface. The type of parameter created depends upon the classid, which must correspond to the classid of one of the classes registered with OEInterface::Factory().

The returned pointer points to the newly created parameter. This memory is OWNED by the OEInterface object. If the add fails NULL will be returned.