QuantLib SWIG in Java

Posted by Billy Ng-5 on
URL: http://quantlib.414.s1.nabble.com/QuantLib-SWIG-in-Java-tp7163.html


What is the difference between these two structures?
Is %template (1) creating a template structure in Java?
whereas (2) is a template for i-file generating different Java Code?

Billy Ng

1.
%template(Callability) boost::shared_ptr<Callability>;
2.
%rename(Name) Name##Ptr;
class Name##Ptr : public boost::shared_ptr<YieldTermStructure>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users