Update of /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29770/gensrc/metadata
Modified Files:
date.xml
Added Files:
settings.xml
Log Message:
avoiding usage of QuantLib deprecated functions
Index: date.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/date.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** date.xml 29 Jul 2006 15:32:32 -0000 1.9
--- date.xml 17 Aug 2006 10:09:35 -0000 1.10
***************
*** 12,51 ****
<Functions>
- <Procedure name='qlEvaluationDate'>
- <description>returns the current value of the Evaluation Date</description>
- <alias>QuantLib::Settings::instance().evaluationDate</alias>
- <supportedPlatforms>
- <supportedPlatform>excel</supportedPlatform>
- </supportedPlatforms>
- <ParameterList>
- <Parameters/>
- </ParameterList>
- <ReturnValue libraryType='QuantLib::Date'>
- <type>long</type>
- <tensorRank>scalar</tensorRank>
- </ReturnValue>
- </Procedure>
-
- <Procedure name='qlSetEvaluationDate'>
- <description>sets the value of the Evaluation Date</description>
- <alias>QuantLib::setEvaluationDate</alias>
- <supportedPlatforms>
- <supportedPlatform>excel</supportedPlatform>
- </supportedPlatforms>
- <ParameterList>
- <Parameters>
- <Parameter name='evalDate' libraryType='QuantLib::Date'>
- <type>long</type>
- <tensorRank>scalar</tensorRank>
- <description>new value for the evaluation date</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- <ReturnValue libraryType='QuantLib::Date'>
- <type>long</type>
- <tensorRank>scalar</tensorRank>
- </ReturnValue>
- </Procedure>
-
<Procedure name='qlIsIMMdate' >
<description>returns whether or not the given date is an IMM date.</description>
--- 12,15 ----
--- NEW FILE: settings.xml ---
<Category name='settings'>
<description>global settings functions</description>
<displayName>Settings</displayName>
<xlFunctionWizardCategory>QuantLib - Date</xlFunctionWizardCategory>
<copyright>
Copyright (C) 2006 Ferdinando Ametrano
</copyright>
<Functions>
<Procedure name='qlEvaluationDate'>
<description>returns the current value of the Evaluation Date</description>
<alias>QuantLib::Settings::instance().evaluationDate</alias>
<supportedPlatforms>
<supportedPlatform>excel</supportedPlatform>
</supportedPlatforms>
<ParameterList>
<Parameters/>
</ParameterList>
<ReturnValue libraryType='QuantLib::Date'>
<type>long</type>
<tensorRank>scalar</tensorRank>
</ReturnValue>
</Procedure>
<Procedure name='qlSetEvaluationDate'>
<description>sets the value of the Evaluation Date</description>
<alias>QuantLibAddin::setEvaluationDate</alias>
<supportedPlatforms>
<supportedPlatform>excel</supportedPlatform>
</supportedPlatforms>
<ParameterList>
<Parameters>
<Parameter name='evalDate' libraryType='QuantLib::Date'>
<type>long</type>
<tensorRank>scalar</tensorRank>
<description>new value for the evaluation date</description>
</Parameter>
</Parameters>
</ParameterList>
<ReturnValue libraryType='QuantLib::Date'>
<type>long</type>
<tensorRank>scalar</tensorRank>
</ReturnValue>
</Procedure>
</Functions>
</Category>
|