Update of /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16871/gensrc/metadata
Modified Files:
enumtypes.xml vanillaswap.xml
Log Message:
introducing and using Payer/Receiver
Index: vanillaswap.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/vanillaswap.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** vanillaswap.xml 11 Oct 2006 17:22:30 -0000 1.27
--- vanillaswap.xml 12 Oct 2006 14:39:15 -0000 1.28
***************
*** 21,28 ****
<ParameterList>
<Parameters>
! <Parameter name='PayFixed'>
! <type>bool</type>
<tensorRank>scalar</tensorRank>
! <description>TRUE if pay the fixed rate, FALSE to receive it</description>
</Parameter>
<Parameter name='Nominal'>
--- 21,28 ----
<ParameterList>
<Parameters>
! <Parameter name='PayFixed' enumeration='QuantLib::VanillaSwap::Type'>
! <type>string</type>
<tensorRank>scalar</tensorRank>
! <description>PAYER to pay the fixed rate, RECEIVER to receive it</description>
</Parameter>
<Parameter name='Nominal'>
Index: enumtypes.xml
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/gensrc/metadata/enumtypes.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** enumtypes.xml 11 Oct 2006 11:44:32 -0000 1.23
--- enumtypes.xml 12 Oct 2006 14:39:15 -0000 1.24
***************
*** 908,911 ****
--- 908,925 ----
</Enumeration>
+ <Enumeration type='QuantLib::VanillaSwap::Type'>
+ <constructor>true</constructor>
+ <EnumerationDefinitions>
+ <EnumerationDefinition>
+ <string>Payer</string>
+ <value>QuantLib::VanillaSwap::Payer</value>
+ </EnumerationDefinition>
+ <EnumerationDefinition>
+ <string>Receiver</string>
+ <value>QuantLib::VanillaSwap::Receiver</value>
+ </EnumerationDefinition>
+ </EnumerationDefinitions>
+ </Enumeration>
+
<Enumeration type='QuantLib::TimeUnit'>
<constructor>true</constructor>
|