extracting "Arguments" from "Instrument"

Posted by Michael Dirkmann on
URL: http://quantlib.414.s1.nabble.com/extracting-Arguments-from-Instrument-tp3059.html

Hi,

is there a way to extract the 'Argument*' from an 'Instrument'?
In my special case I would like to extract the Swaption::arguments* from a
Swaption to provide it to the swaption-function of the G2-model.
Or do I need to setup Swaption::arguments indepenedntly form the Swaption?

TIA

  Michael