Re: QuantLib Java

Posted by johan-35 on
URL: http://quantlib.414.s1.nabble.com/QuantLib-Java-tp4013p4016.html

Hi,

some quick answers to your questions:
1) When is 0.3.11 likely to be released? I don't know, that's up to quantlib.org. I understand this is the first release expected to have the undated Swig interfaces: That is correct.
2) Is there is a CVS tag or version of the Swig files for Java that work
with the 0.3.10 release, basically  a bundle of the changes Jonah made? I don't think so... why not download quantlib from the cvs and download 0.3.11 version of quantlib AND swig interface files?
3) Indeed, simply because no one has needed to expose this functionality yet!

regards,
Johan Witters

>-----Original Message-----
>From: John Nichol [mailto:[hidden email]]
>Sent: Wednesday, August 31, 2005 02:22 PM
>To: [hidden email]
>Subject: [Quantlib-users] QuantLib Java
>
>Hi,
>
>QuantLib looks very interesting, great work! I am new to QuantLib and
>SWIG so apologies if I am asking stupid or inappropriate questions, have
>spent many hours searching and building and googling to get to where I
>am now!
>
>I have followed Jonah Witters thread "Quantlib available from Java +
>using Eclipse as IDE for building quantlib" and followed though his
>tutorial as best I can with the 0.3.10 version of QuantLib + some
>downloads from CVS.
>
>I have a few questions that I would appreciate some input on
>1) When is 0.3.11 likely to be released? I understand this is the first
>release expected to have the undated Swig interfaces.
>2) Is there is a CVS tag or version of the Swig files for Java that work
>with the 0.3.10 release, basically  a bundle of the changes Jonah made?
>3) Looking at the latest files in CVS it seems there is still a
>functionality missing from the Swig files. E.g. bond.i does not expose
>several important methods like
>
>        const std::vector<boost::shared_ptr<CashFlow> >& cashflows() const;
>        const boost::shared_ptr<CashFlow>& redemption() const;
>        const Calendar& calendar() const;
>        BusinessDayConvention businessDayConvention() const;
>        const DayCounter& dayCounter() const;
>        Frequency frequency() const;
>
>Is this because SWIG does not support exposing this functionality (I
>will ask this on the SWIG list), or simply because no one has needed to
>expose this functionality yet?
>
>I had a go at making redemption() available in the bond.i file but
>wasn't able to get access to the CashFlow object in a useful way. I
>could get a SWIGTYPE_p_CashFlow java object, but I can't see how one
>uses that. My C++ is very very rusty so I am probably just being a muppet!
>
>Thanks,
>
>John
>
>
>
>
>
>
>