Update of /cvsroot/quantlibaddin/QuantLibAddin/Addins/C
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24243/Addins/C
Modified Files:
Tag: R000313f0-branch
.cvsignore AddinC.vcproj AddinC_vc8.vcproj Makefile.am
Added Files:
Tag: R000313f0-branch
conversions.cpp conversions.hpp
Log Message:
update C addin
Index: .cvsignore
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/Addins/C/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** .cvsignore 19 May 2006 16:56:16 -0000 1.1
--- .cvsignore 9 Aug 2006 10:46:37 -0000 1.1.2.1
***************
*** 17,24 ****
*.user
capfloor.*
couponvectors.*
date.*
- calendar.*
daycounter.*
exercise.*
--- 17,24 ----
*.user
+ calendar.*
capfloor.*
couponvectors.*
date.*
daycounter.*
exercise.*
***************
*** 28,32 ****
--- 28,34 ----
ohfunctions.*
options.*
+ payoffs.*
prices.*
+ pricingengines.*
processes.*
randomsequencegenerator.*
***************
*** 39,40 ****
--- 41,43 ----
volatilities.*
xibor.*
+
--- NEW FILE: conversions.hpp ---
/*
Copyright (C) 2006 Eric Ehlers
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or modify it under the
terms of the QuantLib license. You should have received a copy of the
license along with this program; if not, please email qua...@li...
The license is also available online at http://quantlib.org/html/license.html
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the license for more details.
*/
#ifndef qla_c_conversions_hpp
#define qla_c_conversions_hpp
#include <ql/date.hpp>
void cToLib(QuantLib::Date &, const long &);
#endif
Index: AddinC_vc8.vcproj
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/Addins/C/AddinC_vc8.vcproj,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -d -r1.3 -r1.3.2.1
*** AddinC_vc8.vcproj 11 Jun 2006 18:16:49 -0000 1.3
--- AddinC_vc8.vcproj 9 Aug 2006 10:46:37 -0000 1.3.2.1
***************
*** 327,347 ****
>
<File
! RelativePath=".\calendar.cpp"
! >
! </File>
! <File
! RelativePath="capfloor.cpp"
! >
! </File>
! <File
! RelativePath="couponvectors.cpp"
! >
! </File>
! <File
! RelativePath="date.cpp"
! >
! </File>
! <File
! RelativePath=".\daycounter.cpp"
>
</File>
--- 327,331 ----
>
<File
! RelativePath="conversions.cpp"
>
</File>
***************
*** 351,407 ****
</File>
<File
- RelativePath="instruments.cpp"
- >
- </File>
- <File
- RelativePath="interpolation.cpp"
- >
- </File>
- <File
- RelativePath="mathf.cpp"
- >
- </File>
- <File
- RelativePath="ohfunctions.cpp"
- >
- </File>
- <File
RelativePath="options.cpp"
>
</File>
<File
! RelativePath="prices.cpp"
! >
! </File>
! <File
! RelativePath="processes.cpp"
! >
! </File>
! <File
! RelativePath="randomsequencegenerator.cpp"
! >
! </File>
! <File
! RelativePath="schedule.cpp"
! >
! </File>
! <File
! RelativePath="shortratemodels.cpp"
! >
! </File>
! <File
! RelativePath="simpleswap.cpp"
>
</File>
<File
! RelativePath="swap.cpp"
>
</File>
<File
! RelativePath="termstructures.cpp"
>
</File>
<File
! RelativePath="utilities.cpp"
>
</File>
--- 335,355 ----
</File>
<File
RelativePath="options.cpp"
>
</File>
<File
! RelativePath="payoffs.cpp"
>
</File>
<File
! RelativePath="pricingengines.cpp"
>
</File>
<File
! RelativePath="processes.cpp"
>
</File>
<File
! RelativePath="session.cpp"
>
</File>
***************
*** 414,421 ****
>
</File>
- <File
- RelativePath="xibor.cpp"
- >
- </File>
</Filter>
<Filter
--- 362,365 ----
***************
*** 424,444 ****
>
<File
! RelativePath=".\calendar.h"
! >
! </File>
! <File
! RelativePath="capfloor.h"
! >
! </File>
! <File
! RelativePath="couponvectors.h"
! >
! </File>
! <File
! RelativePath="date.h"
! >
! </File>
! <File
! RelativePath=".\daycounter.h"
>
</File>
--- 368,372 ----
>
<File
! RelativePath="conversions.hpp"
>
</File>
***************
*** 452,476 ****
</File>
<File
! RelativePath="instruments.h"
! >
! </File>
! <File
! RelativePath="interpolation.h"
! >
! </File>
! <File
! RelativePath="mathf.h"
! >
! </File>
! <File
! RelativePath="ohfunctions.h"
>
</File>
<File
! RelativePath="options.h"
>
</File>
<File
! RelativePath="prices.h"
>
</File>
--- 380,392 ----
</File>
<File
! RelativePath="options.h"
>
</File>
<File
! RelativePath="payoffs.h"
>
</File>
<File
! RelativePath="pricingengines.h"
>
</File>
***************
*** 484,515 ****
</File>
<File
- RelativePath="randomsequencegenerator.h"
- >
- </File>
- <File
- RelativePath="schedule.h"
- >
- </File>
- <File
- RelativePath="shortratemodels.h"
- >
- </File>
- <File
- RelativePath="simpleswap.h"
- >
- </File>
- <File
- RelativePath="swap.h"
- >
- </File>
- <File
- RelativePath="termstructures.h"
- >
- </File>
- <File
- RelativePath="utilities.h"
- >
- </File>
- <File
RelativePath="varies.h"
>
--- 400,403 ----
***************
*** 523,530 ****
>
</File>
- <File
- RelativePath="xibor.h"
- >
- </File>
</Filter>
</Files>
--- 411,414 ----
--- NEW FILE: conversions.cpp ---
/*
Copyright (C) 2006 Eric Ehlers
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or modify it under the
terms of the QuantLib license. You should have received a copy of the
license along with this program; if not, please email qua...@li...
The license is also available online at http://quantlib.org/html/license.html
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the license for more details.
*/
#include <Addins/C/conversions.hpp>
void cToLib(QuantLib::Date &ret, const long &in) {
ret = QuantLib::Date(in);
}
Index: AddinC.vcproj
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/Addins/C/AddinC.vcproj,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** AddinC.vcproj 11 Jun 2006 13:39:19 -0000 1.2
--- AddinC.vcproj 9 Aug 2006 10:46:37 -0000 1.2.2.1
***************
*** 124,140 ****
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
! RelativePath=".\calendar.cpp">
! </File>
! <File
! RelativePath="capfloor.cpp">
! </File>
! <File
! RelativePath="couponvectors.cpp">
! </File>
! <File
! RelativePath="date.cpp">
! </File>
! <File
! RelativePath=".\daycounter.cpp">
</File>
<File
--- 124,128 ----
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
! RelativePath="conversions.cpp">
</File>
<File
***************
*** 142,185 ****
</File>
<File
- RelativePath="instruments.cpp">
- </File>
- <File
- RelativePath="interpolation.cpp">
- </File>
- <File
- RelativePath="mathf.cpp">
- </File>
- <File
- RelativePath="ohfunctions.cpp">
- </File>
- <File
RelativePath="options.cpp">
</File>
<File
! RelativePath="prices.cpp">
! </File>
! <File
! RelativePath="processes.cpp">
! </File>
! <File
! RelativePath="randomsequencegenerator.cpp">
! </File>
! <File
! RelativePath="schedule.cpp">
! </File>
! <File
! RelativePath="shortratemodels.cpp">
! </File>
! <File
! RelativePath="simpleswap.cpp">
</File>
<File
! RelativePath="swap.cpp">
</File>
<File
! RelativePath="termstructures.cpp">
</File>
<File
! RelativePath="utilities.cpp">
</File>
<File
--- 130,146 ----
</File>
<File
RelativePath="options.cpp">
</File>
<File
! RelativePath="payoffs.cpp">
</File>
<File
! RelativePath="pricingengines.cpp">
</File>
<File
! RelativePath="processes.cpp">
</File>
<File
! RelativePath="session.cpp">
</File>
<File
***************
*** 189,195 ****
RelativePath="volatilities.cpp">
</File>
- <File
- RelativePath="xibor.cpp">
- </File>
</Filter>
<Filter
--- 150,153 ----
***************
*** 197,213 ****
Filter="h;hpp;hxx;hm;inl">
<File
! RelativePath=".\calendar.h">
! </File>
! <File
! RelativePath="capfloor.h">
! </File>
! <File
! RelativePath="couponvectors.h">
! </File>
! <File
! RelativePath="date.h">
! </File>
! <File
! RelativePath=".\daycounter.h">
</File>
<File
--- 155,159 ----
Filter="h;hpp;hxx;hm;inl">
<File
! RelativePath="conversions.hpp">
</File>
<File
***************
*** 218,237 ****
</File>
<File
! RelativePath="instruments.h">
! </File>
! <File
! RelativePath="interpolation.h">
! </File>
! <File
! RelativePath="mathf.h">
! </File>
! <File
! RelativePath="ohfunctions.h">
</File>
<File
! RelativePath="options.h">
</File>
<File
! RelativePath="prices.h">
</File>
<File
--- 164,174 ----
</File>
<File
! RelativePath="options.h">
</File>
<File
! RelativePath="payoffs.h">
</File>
<File
! RelativePath="pricingengines.h">
</File>
<File
***************
*** 242,266 ****
</File>
<File
- RelativePath="randomsequencegenerator.h">
- </File>
- <File
- RelativePath="schedule.h">
- </File>
- <File
- RelativePath="shortratemodels.h">
- </File>
- <File
- RelativePath="simpleswap.h">
- </File>
- <File
- RelativePath="swap.h">
- </File>
- <File
- RelativePath="termstructures.h">
- </File>
- <File
- RelativePath="utilities.h">
- </File>
- <File
RelativePath="varies.h">
</File>
--- 179,182 ----
***************
*** 271,277 ****
RelativePath="volatilities.h">
</File>
- <File
- RelativePath="xibor.h">
- </File>
</Filter>
</Files>
--- 187,190 ----
Index: Makefile.am
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/Addins/C/Makefile.am,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
*** Makefile.am 5 Aug 2006 15:44:44 -0000 1.2.2.1
--- Makefile.am 9 Aug 2006 10:46:37 -0000 1.2.2.2
***************
*** 12,27 ****
endif
! libQuantLibAddinC_la_LIBADD = ../../qla/libQuantLibAddin.la
if BUILD_C
noinst_HEADERS = \
defines.h \
qladdin.h \
varies.h \
! varies.hpp
endif
libQuantLibAddinC_la_SOURCES = \
session.cpp \
! varies.cpp
--- 12,41 ----
endif
! libQuantLibAddinC_la_LIBADD = ../../qlo/libQuantLibAddin.la
if BUILD_C
noinst_HEADERS = \
+ conversions.hpp \
defines.h \
+ exercise.h \
+ options.h \
+ payoffs.h \
+ pricingengines.h \
+ processes.h \
qladdin.h \
varies.h \
! varies.hpp \
! volatilities.h
endif
libQuantLibAddinC_la_SOURCES = \
+ conversions.cpp \
+ exercise.cpp \
+ options.cpp \
+ payoffs.cpp \
+ pricingengines.cpp \
+ processes.cpp \
session.cpp \
! varies.cpp \
! volatilities.cpp
|