Update of /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv8920/gensrc/metadata
Modified Files:
quotes.xml termstructures.xml
Log Message:
allowing creation of SimpleQuote with no value
Index: quotes.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/quotes.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** quotes.xml 13 Dec 2006 16:10:29 -0000 1.4
--- quotes.xml 13 Dec 2006 20:16:02 -0000 1.5
***************
*** 13,16 ****
--- 13,105 ----
<!-- Quote, SimpleQuote, and HandleQuote -->
+ <Member name='qlQuoteValue' handleToLib='Quote'>
+ <description>Returns the current value of the given Quote object</description>
+ <libraryFunction>value</libraryFunction>
+ <SupportedPlatforms>
+ <Excel/>
+ </SupportedPlatforms>
+ <ParameterList>
+ <Parameters/>
+ </ParameterList>
+ <ReturnValue>
+ <type>double</type>
+ <tensorRank>scalar</tensorRank>
+ </ReturnValue>
+ </Member>
+
+ <Constructor name='qlSimpleQuote'>
+ <libraryFunction>SimpleQuote</libraryFunction>
+ <SupportedPlatforms>
+ <Excel/>
+ </SupportedPlatforms>
+ <ParameterList>
+ <Parameters>
+ <Parameter name='value' default='QuantLib::Null<QuantLib::Real>()'>
+ <type>double</type>
+ <tensorRank>scalar</tensorRank>
+ <description>quote</description>
+ </Parameter>
+ </Parameters>
+ </ParameterList>
+ </Constructor>
+
+ <Member name='qlSimpleQuoteSetValue' handleToLib='SimpleQuote'>
+ <description>Sets the value of the given SimpleQuote object</description>
+ <libraryFunction>setValue</libraryFunction>
+ <SupportedPlatforms>
+ <Excel/>
+ </SupportedPlatforms>
+ <ParameterList>
+ <Parameters>
+ <Parameter name='value'>
+ <type>double</type>
+ <tensorRank>scalar</tensorRank>
+ <description>the new value</description>
+ </Parameter>
+ </Parameters>
+ </ParameterList>
+ <ReturnValue>
+ <type>double</type>
+ <tensorRank>scalar</tensorRank>
+ </ReturnValue>
+ </Member>
+
+ <Constructor name='qlHandleQuote'>
+ <libraryFunction>Handle<QuantLib::Quote></libraryFunction>
+ <SupportedPlatforms>
+ <Excel/>
+ </SupportedPlatforms>
+ <ParameterList>
+ <Parameters>
+ <Parameter name='quote' libraryClass='Quote'>
+ <type>string</type>
+ <tensorRank>scalar</tensorRank>
+ <description>Quote object ID</description>
+ </Parameter>
+ </Parameters>
+ </ParameterList>
+ </Constructor>
+
+ <Member name='qlHandleQuoteLinkTo' objectClass='Handle<QuantLib::Quote>'>
+ <libraryFunction>linkTo</libraryFunction>
+ <description>relink handle</description>
+ <SupportedPlatforms>
+ <Excel/>
+ </SupportedPlatforms>
+ <ParameterList>
+ <Parameters>
+ <Parameter name='quote' libraryClass='Quote'>
+ <type>string</type>
+ <tensorRank>scalar</tensorRank>
+ <description>Quote object ID</description>
+ </Parameter>
+ </Parameters>
+ </ParameterList>
+ <ReturnValue>
+ <type>void</type>
+ <tensorRank>scalar</tensorRank>
+ </ReturnValue>
+ </Member>
+
<Constructor name='qlForwardValueQuote'>
<libraryFunction>ForwardValueQuote</libraryFunction>
Index: termstructures.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/termstructures.xml,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** termstructures.xml 11 Dec 2006 14:22:15 -0000 1.54
--- termstructures.xml 13 Dec 2006 20:16:02 -0000 1.55
***************
*** 4,8 ****
<xlFunctionWizardCategory>QuantLib - Financial</xlFunctionWizardCategory>
<includes>
- <include>qlo/quotes.hpp</include>
<include>qlo/termstructures.hpp</include>
</includes>
--- 4,7 ----
***************
*** 515,608 ****
</Constructor>
- <!-- Quote, SimpleQuote, and HandleQuote -->
- <Member name='qlQuoteValue' handleToLib='Quote'>
- <description>Returns the current value of the given Quote object</description>
- <libraryFunction>value</libraryFunction>
- <SupportedPlatforms>
- <Excel/>
- </SupportedPlatforms>
- <ParameterList>
- <Parameters/>
- </ParameterList>
- <ReturnValue>
- <type>double</type>
- <tensorRank>scalar</tensorRank>
- </ReturnValue>
- </Member>
-
- <Constructor name='qlSimpleQuote'>
- <libraryFunction>SimpleQuote</libraryFunction>
- <SupportedPlatforms>
- <Excel/>
- </SupportedPlatforms>
- <ParameterList>
- <Parameters>
- <Parameter name='value'>
- <type>double</type>
- <tensorRank>scalar</tensorRank>
- <description>quote</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- </Constructor>
-
- <Member name='qlSimpleQuoteSetValue' handleToLib='SimpleQuote'>
- <description>Sets the value of the given SimpleQuote object</description>
- <libraryFunction>setValue</libraryFunction>
- <SupportedPlatforms>
- <Excel/>
- </SupportedPlatforms>
- <ParameterList>
- <Parameters>
- <Parameter name='value'>
- <type>double</type>
- <tensorRank>scalar</tensorRank>
- <description>the new value</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- <ReturnValue>
- <type>double</type>
- <tensorRank>scalar</tensorRank>
- </ReturnValue>
- </Member>
-
- <Constructor name='qlHandleQuote'>
- <libraryFunction>Handle<QuantLib::Quote></libraryFunction>
- <SupportedPlatforms>
- <Excel/>
- </SupportedPlatforms>
- <ParameterList>
- <Parameters>
- <Parameter name='quote' libraryClass='Quote'>
- <type>string</type>
- <tensorRank>scalar</tensorRank>
- <description>Quote object ID</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- </Constructor>
-
- <Member name='qlHandleQuoteLinkTo' objectClass='Handle<QuantLib::Quote>'>
- <libraryFunction>linkTo</libraryFunction>
- <description>relink handle</description>
- <SupportedPlatforms>
- <Excel/>
- </SupportedPlatforms>
- <ParameterList>
- <Parameters>
- <Parameter name='quote' libraryClass='Quote'>
- <type>string</type>
- <tensorRank>scalar</tensorRank>
- <description>Quote object ID</description>
- </Parameter>
- </Parameters>
- </ParameterList>
- <ReturnValue>
- <type>void</type>
- <tensorRank>scalar</tensorRank>
- </ReturnValue>
- </Member>
-
</Functions>
</Category>
--- 514,517 ----
|