Can anybody point me in the right direction to add FixedRateBondForward to the SWIG interface files ?
Apparently Forward is not there either, so I guess I need to add that first. Can someone enlighten me ? Thank you in advance, Simon |
Hi Simon, yes, I think you have to export both. You can take as model the Bond class (which inherits from Instrument, like Forward) and, say, FixedRateBond (which inherits from Bond, like FixedRateBondForward inherits from Forward). You'll have to use the same tricks to hide shared_ptrs. Post again if you get stuck.
Luigi On Fri, Mar 28, 2014 at 10:19 PM, smazzucca <[hidden email]> wrote: Can anybody point me in the right direction to add FixedRateBondForward to <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Thanks, Luigi.
We were stuck and ended up using QLNet for that specific logic. Simon |
Ok. Sorry about the response time. I'm not famous for that... Luigi On Thu, Apr 10, 2014 at 8:52 PM, smazzucca <[hidden email]> wrote: Thanks, Luigi. <https://implementingquantlib.blogspot.com> <https://twitter.com/lballabio> ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |