~ubuntu-branches/ubuntu/trusty/quantlib-refman-html/trusty

« back to all changes in this revision

Viewing changes to html/class_quant_lib_1_1_index.html

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2007-12-25 12:30:57 UTC
  • mfrom: (1.2.8 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20071225123057-s8kt5k39yusaaw69
Tags: 0.9.0-1
* New upstream release
* As before, re-packaged upstream file QuantLib-docs-0.9.0.html.tar.gz 
  as described in the copyright file included with the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
</div>
22
22
<div id="menu">
23
23
 
24
 
<h3 class="navbartitle">Version 0.8.1</h3>
 
24
<h3 class="navbartitle">Version 0.9.0</h3>
25
25
 
26
26
<hr>
27
27
 
49
49
<li class="navlink"><a href="files.html">File List</a></li>
50
50
<li class="navlink"><a href="functions.html">Compound Members</a></li>
51
51
<li class="navlink"><a href="globals.html">File Members</a></li>
52
 
<li class="navlink"><a href="todo.html">Todo List</a></li>
53
52
<li class="navlink"><a href="bug.html">Known Bugs</a></li>
54
53
<li class="navlink"><a href="caveats.html">Caveats</a></li>
55
54
<li class="navlink"><a href="test.html">Test Suite</a></li>
56
 
<li class="navlink"><a href="deprecated.html">Deprecated Features</a></li>
57
55
<li class="navlink"><a href="examples.html">Examples</a></li>
58
56
</ul>
59
57
</div>
61
59
<div id="content">
62
60
<!--Doxygen-generated content-->
63
61
 
64
 
<!-- Generated by Doxygen 1.5.2 -->
 
62
<!-- Generated by Doxygen 1.5.4 -->
65
63
<div class="nav">
66
 
<b>QuantLib</b>::<a class="el" href="class_quant_lib_1_1_index.html">Index</a></div>
 
64
<a class="el" href="namespace_quant_lib.html">QuantLib</a>::<a class="el" href="class_quant_lib_1_1_index.html">Index</a></div>
67
65
<h1>Index Class Reference</h1><!-- doxytag: class="QuantLib::Index" --><!-- doxytag: inherits="QuantLib::Observable" --><code>#include &lt;ql/index.hpp&gt;</code>
68
66
<p>
69
 
Inheritance diagram for Index:<p><center><img src="class_quant_lib_1_1_index__inherit__graph.png" border="0" usemap="#_index__inherit__map" alt="Inheritance graph"></center>
 
67
<div class="dynheader">
 
68
Inheritance diagram for Index:</div>
 
69
<div class="dynsection">
 
70
<p><center><img src="class_quant_lib_1_1_index__inherit__graph.png" border="0" usemap="#_index__inherit__map" alt="Inheritance graph"></center>
70
71
<map name="_index__inherit__map">
71
 
<area shape="rect" href="class_quant_lib_1_1_interest_rate_index.html" title="base class for interest rate indexes" alt="" coords="829,156,971,180"><area shape="rect" href="class_quant_lib_1_1_observable.html" title="Object that notifies its changes to a set of observables." alt="" coords="851,7,949,31"><area shape="rect" href="class_quant_lib_1_1_ibor_index.html" title="base class for Inter&#45;Bank&#45;Offered&#45;Rate indexes (e.g. Libor, etc.)" alt="" coords="425,231,511,255"><area shape="rect" href="class_quant_lib_1_1_swap_index.html" title="base class for swap&#45;rate indexes" alt="" coords="1245,231,1341,255"><area shape="rect" href="class_quant_lib_1_1_cdor.html" title="CDOR rate" alt="" coords="5,305,59,329"><area shape="rect" href="class_quant_lib_1_1_euribor.html" title="Euribor index" alt="" coords="83,305,152,329"><area shape="rect" href="class_quant_lib_1_1_euribor365.html" title="Actual/365 Euribor index." alt="" coords="176,305,272,329"><area shape="rect" href="class_quant_lib_1_1_e_u_r_libor.html" title="EUR LIBOR rate" alt="" coords="296,305,379,329"><area shape="rect" href="class_quant_lib_1_1_jibar.html" title="JIBAR rate" alt="" coords="403,305,456,329"><area shape="rect" href="class_quant_lib_1_1_libor.html" title="base class for all BBA LIBOR indexes but the EUR ones" alt="" coords="480,305,536,329"><area shape="rect" href="class_quant_lib_1_1_tibor.html" title="JPY TIBOR index" alt="" coords="560,305,616,329"><area shape="rect" href="class_quant_lib_1_1_t_r_libor.html" title="TRY LIBOR rate" alt="" coords="640,305,715,329"><area shape="rect" href="class_quant_lib_1_1_zibor.html" title="CHF ZIBOR rate" alt="" coords="739,305,795,329"><area shape="rect" href="class_quant_lib_1_1_euribor_swap_fix_avs3_m.html" title="EuriborSwapFixA vs 3M index base class" alt="" coords="819,305,989,329"><area shape="rect" href="class_quant_lib_1_1_euribor_swap_fix_avs6_m.html" title="EuriborSwapFixA vs 6M index base class" alt="" coords="1013,305,1184,329"><area shape="rect" href="class_quant_lib_1_1_euribor_swap_fix_bvs3_m.html" title="EuriborSwapFixB vs 3M index base class" alt="" coords="1208,305,1379,329"><area shape="rect" href="class_quant_lib_1_1_euribor_swap_fix_bvs6_m.html" title="EuriborSwapFixB vs 6M index base class" alt="" coords="1403,305,1573,329"><area shape="rect" href="class_quant_lib_1_1_euribor_swap_fix_i_f_rvs3_m.html" title="EuriborSwapFixIFR vs 3M index base class" alt="" coords="1597,305,1779,329"><area shape="rect" href="class_quant_lib_1_1_euribor_swap_fix_i_f_rvs6_m.html" title="EuriborSwapFixIFR vs 6M index base class" alt="" coords="1803,305,1984,329"></map>
72
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_quant_lib_1_1_index-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
 
72
<area shape="rect" href="class_quant_lib_1_1_inflation_index.html" title="Base class for inflation&#45;rate indexes,." alt="" coords="5,161,115,188"><area shape="rect" href="class_quant_lib_1_1_interest_rate_index.html" title="base class for interest rate indexes" alt="" coords="139,161,277,188"><area shape="rect" href="class_quant_lib_1_1_observable.html" title="Object that notifies its changes to a set of observables." alt="" coords="87,7,180,33"></map>
 
73
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
 
74
 
 
75
<p>
 
76
<a href="class_quant_lib_1_1_index-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
73
77
purely virtual base class for indexes 
74
78
<p>
 
79
<dl compact><dt><b><a class="el" href="caveats.html#_caveats000012">Warning:</a></b></dt><dd>this class performs no check that the provided/requested fixings are for dates in the past, i.e. for dates less than or equal to the evaluation date. It is up to the client code to take care of possible inconsistencies due to "seeing in the future" </dd></dl>
75
80
<table border="0" cellpadding="0" cellspacing="0">
76
81
<tr><td></td></tr>
77
82
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
78
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#0d2675713373f2539534cddfcfb22b52">name</a> () const=0</td></tr>
 
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#7f04e718c6856c4d3d77a496b6acad0d">name</a> () const =0</td></tr>
79
84
 
80
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the name of the index.  <a href="#0d2675713373f2539534cddfcfb22b52"></a><br></td></tr>
81
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50b393670cb5180b20b27beed91eb2bd"></a><!-- doxytag: member="QuantLib::Index::fixingCalendar" ref="50b393670cb5180b20b27beed91eb2bd" args="() const" -->
82
 
<a class="el" href="class_quant_lib_1_1_calendar.html">Calendar</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#50b393670cb5180b20b27beed91eb2bd">fixingCalendar</a> () const</td></tr>
 
85
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the name of the index.  <a href="#7f04e718c6856c4d3d77a496b6acad0d"></a><br></td></tr>
 
86
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="017c78ebe125418dde1aacb7c610265a"></a><!-- doxytag: member="QuantLib::Index::fixingCalendar" ref="017c78ebe125418dde1aacb7c610265a" args="() const =0" -->
 
87
virtual <a class="el" href="class_quant_lib_1_1_calendar.html">Calendar</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#017c78ebe125418dde1aacb7c610265a">fixingCalendar</a> () const =0</td></tr>
83
88
 
84
89
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the calendar defining valid fixing dates <br></td></tr>
85
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="526581682e2dc610bc8337e62e87e001"></a><!-- doxytag: member="QuantLib::Index::isValidFixingDate" ref="526581682e2dc610bc8337e62e87e001" args="(const Date &amp;fixingDate) const" -->
86
 
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#526581682e2dc610bc8337e62e87e001">isValidFixingDate</a> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;fixingDate) const</td></tr>
 
90
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="baaf5b4d83d8e96c321a71b3eec62a78"></a><!-- doxytag: member="QuantLib::Index::isValidFixingDate" ref="baaf5b4d83d8e96c321a71b3eec62a78" args="(const Date &amp;fixingDate) const =0" -->
 
91
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#baaf5b4d83d8e96c321a71b3eec62a78">isValidFixingDate</a> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;fixingDate) const =0</td></tr>
87
92
 
88
93
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns TRUE if the fixing date is a valid one <br></td></tr>
89
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Real&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#bb58b7c91d70543816678f0413ed547e">fixing</a> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;fixingDate, bool forecastTodaysFixing=false) const=0</td></tr>
90
 
 
91
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the fixing at the given date  <a href="#bb58b7c91d70543816678f0413ed547e"></a><br></td></tr>
92
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#d2204c9750ebae2fa5e47fdde6d0af3e">addFixing</a> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;fixingDate, Real fixing)</td></tr>
93
 
 
94
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stores the historical fixing at the given date  <a href="#d2204c9750ebae2fa5e47fdde6d0af3e"></a><br></td></tr>
 
94
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#3fe8532d0a96ae0ba25ac781e150aa37">fixing</a> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;fixingDate, bool forecastTodaysFixing=false) const =0</td></tr>
 
95
 
 
96
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the fixing at the given date  <a href="#3fe8532d0a96ae0ba25ac781e150aa37"></a><br></td></tr>
 
97
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#7a90b939ae6213878841b3a7d08776bd">addFixing</a> (const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;fixingDate, <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> fixing, bool forceOverwrite=false)</td></tr>
 
98
 
 
99
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stores the historical fixing at the given date  <a href="#7a90b939ae6213878841b3a7d08776bd"></a><br></td></tr>
 
100
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#7508199daa86b2f60ad153454b944558">addFixings</a> (const <a class="el" href="class_quant_lib_1_1_time_series.html">TimeSeries</a>&lt; <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> &gt; &amp;t, bool forceOverwrite=false)</td></tr>
 
101
 
 
102
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stores historical fixings from a <a class="el" href="class_quant_lib_1_1_time_series.html" title="Container for historical data.">TimeSeries</a>  <a href="#7508199daa86b2f60ad153454b944558"></a><br></td></tr>
95
103
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class DateIterator, class ValueIterator&gt; </td></tr>
96
 
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#64dcfec8b37db0ff6eeabffa988cd3da">addFixings</a> (DateIterator dBegin, DateIterator dEnd, ValueIterator vBegin)</td></tr>
 
104
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#159ac96c9db8c1414e15bf18f08b18be">addFixings</a> (DateIterator dBegin, DateIterator dEnd, ValueIterator vBegin, bool forceOverwrite=false)</td></tr>
97
105
 
98
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stores historical fixings at the given dates  <a href="#64dcfec8b37db0ff6eeabffa988cd3da"></a><br></td></tr>
 
106
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stores historical fixings at the given dates  <a href="#159ac96c9db8c1414e15bf18f08b18be"></a><br></td></tr>
99
107
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45034f65c461ffc15eb4679b02dde6c1"></a><!-- doxytag: member="QuantLib::Index::clearFixings" ref="45034f65c461ffc15eb4679b02dde6c1" args="()" -->
100
108
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_quant_lib_1_1_index.html#45034f65c461ffc15eb4679b02dde6c1">clearFixings</a> ()</td></tr>
101
109
 
102
110
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clears all stored historical fixings <br></td></tr>
103
 
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
104
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f1ed03a737a75f4ce678edf42fe3dc7b"></a><!-- doxytag: member="QuantLib::Index::fixingCalendar_" ref="f1ed03a737a75f4ce678edf42fe3dc7b" args="" -->
105
 
<a class="el" href="class_quant_lib_1_1_calendar.html">Calendar</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>fixingCalendar_</b></td></tr>
106
 
 
107
111
</table>
108
112
<hr><h2>Member Function Documentation</h2>
109
 
<a class="anchor" name="0d2675713373f2539534cddfcfb22b52"></a><!-- doxytag: member="QuantLib::Index::name" ref="0d2675713373f2539534cddfcfb22b52" args="() const=0" -->
 
113
<a class="anchor" name="7f04e718c6856c4d3d77a496b6acad0d"></a><!-- doxytag: member="QuantLib::Index::name" ref="7f04e718c6856c4d3d77a496b6acad0d" args="() const =0" -->
110
114
<div class="memitem">
111
115
<div class="memproto">
112
116
      <table class="memname">
124
128
<p>
125
129
Returns the name of the index. 
126
130
<p>
127
 
<dl compact><dt><b><a class="el" href="caveats.html#_caveats000011">Warning:</a></b></dt><dd>This method is used for output and comparison between indexes. It is <b>not</b> meant to be used for writing switch-on-type code. </dd></dl>
128
 
 
129
 
<p>
130
 
Implemented in <a class="el" href="class_quant_lib_1_1_interest_rate_index.html#1d89c28bd42ba9a52da008bb69367171">InterestRateIndex</a>.
 
131
<dl compact><dt><b><a class="el" href="caveats.html#_caveats000013">Warning:</a></b></dt><dd>This method is used for output and comparison between indexes. It is <b>not</b> meant to be used for writing switch-on-type code. </dd></dl>
 
132
 
 
133
<p>Implemented in <a class="el" href="class_quant_lib_1_1_b_m_a_index.html#37627d5d5bba7f4a8690c71c2ab3cb07">BMAIndex</a>, <a class="el" href="class_quant_lib_1_1_inflation_index.html#37627d5d5bba7f4a8690c71c2ab3cb07">InflationIndex</a>, and <a class="el" href="class_quant_lib_1_1_interest_rate_index.html#37627d5d5bba7f4a8690c71c2ab3cb07">InterestRateIndex</a>.</p>
 
134
 
131
135
</div>
132
136
</div><p>
133
 
<a class="anchor" name="bb58b7c91d70543816678f0413ed547e"></a><!-- doxytag: member="QuantLib::Index::fixing" ref="bb58b7c91d70543816678f0413ed547e" args="(const Date &amp;fixingDate, bool forecastTodaysFixing=false) const=0" -->
 
137
<a class="anchor" name="3fe8532d0a96ae0ba25ac781e150aa37"></a><!-- doxytag: member="QuantLib::Index::fixing" ref="3fe8532d0a96ae0ba25ac781e150aa37" args="(const Date &amp;fixingDate, bool forecastTodaysFixing=false) const =0" -->
134
138
<div class="memitem">
135
139
<div class="memproto">
136
140
      <table class="memname">
137
141
        <tr>
138
 
          <td class="memname">virtual Real fixing           </td>
 
142
          <td class="memname">virtual <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> fixing           </td>
139
143
          <td>(</td>
140
144
          <td class="paramtype">const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;&nbsp;</td>
141
145
          <td class="paramname"> <em>fixingDate</em>, </td>
159
163
returns the fixing at the given date 
160
164
<p>
161
165
the date passed as arguments must be the actual calendar date of the fixing; no settlement days must be used. 
162
 
<p>
163
 
Implemented in <a class="el" href="class_quant_lib_1_1_interest_rate_index.html#700a136096f8caff21a6244efa074658">InterestRateIndex</a>.
 
166
<p>Implemented in <a class="el" href="class_quant_lib_1_1_inflation_index.html#815d0c772e8124096a2a6bad10638c8a">InflationIndex</a>, <a class="el" href="class_quant_lib_1_1_zero_inflation_index.html#1c776ca10de744b29a4d051102003eb9">ZeroInflationIndex</a>, <a class="el" href="class_quant_lib_1_1_yo_y_inflation_index.html#1c776ca10de744b29a4d051102003eb9">YoYInflationIndex</a>, and <a class="el" href="class_quant_lib_1_1_interest_rate_index.html#1c776ca10de744b29a4d051102003eb9">InterestRateIndex</a>.</p>
 
167
 
164
168
</div>
165
169
</div><p>
166
 
<a class="anchor" name="d2204c9750ebae2fa5e47fdde6d0af3e"></a><!-- doxytag: member="QuantLib::Index::addFixing" ref="d2204c9750ebae2fa5e47fdde6d0af3e" args="(const Date &amp;fixingDate, Real fixing)" -->
 
170
<a class="anchor" name="7a90b939ae6213878841b3a7d08776bd"></a><!-- doxytag: member="QuantLib::Index::addFixing" ref="7a90b939ae6213878841b3a7d08776bd" args="(const Date &amp;fixingDate, Real fixing, bool forceOverwrite=false)" -->
167
171
<div class="memitem">
168
172
<div class="memproto">
169
173
      <table class="memname">
170
174
        <tr>
171
 
          <td class="memname">void addFixing           </td>
 
175
          <td class="memname">virtual void addFixing           </td>
172
176
          <td>(</td>
173
177
          <td class="paramtype">const <a class="el" href="class_quant_lib_1_1_date.html">Date</a> &amp;&nbsp;</td>
174
178
          <td class="paramname"> <em>fixingDate</em>, </td>
176
180
        <tr>
177
181
          <td class="paramkey"></td>
178
182
          <td></td>
179
 
          <td class="paramtype">Real&nbsp;</td>
180
 
          <td class="paramname"> <em>fixing</em></td><td>&nbsp;</td>
 
183
          <td class="paramtype"><a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a>&nbsp;</td>
 
184
          <td class="paramname"> <em>fixing</em>, </td>
 
185
        </tr>
 
186
        <tr>
 
187
          <td class="paramkey"></td>
 
188
          <td></td>
 
189
          <td class="paramtype">bool&nbsp;</td>
 
190
          <td class="paramname"> <em>forceOverwrite</em> = <code>false</code></td><td>&nbsp;</td>
181
191
        </tr>
182
192
        <tr>
183
193
          <td></td>
184
194
          <td>)</td>
185
 
          <td></td><td></td><td width="100%"></td>
 
195
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
186
196
        </tr>
187
197
      </table>
188
198
</div>
194
204
the date passed as arguments must be the actual calendar date of the fixing; no settlement days must be used. 
195
205
</div>
196
206
</div><p>
197
 
<a class="anchor" name="64dcfec8b37db0ff6eeabffa988cd3da"></a><!-- doxytag: member="QuantLib::Index::addFixings" ref="64dcfec8b37db0ff6eeabffa988cd3da" args="(DateIterator dBegin, DateIterator dEnd, ValueIterator vBegin)" -->
 
207
<a class="anchor" name="7508199daa86b2f60ad153454b944558"></a><!-- doxytag: member="QuantLib::Index::addFixings" ref="7508199daa86b2f60ad153454b944558" args="(const TimeSeries&lt; Real &gt; &amp;t, bool forceOverwrite=false)" -->
 
208
<div class="memitem">
 
209
<div class="memproto">
 
210
      <table class="memname">
 
211
        <tr>
 
212
          <td class="memname">void addFixings           </td>
 
213
          <td>(</td>
 
214
          <td class="paramtype">const <a class="el" href="class_quant_lib_1_1_time_series.html">TimeSeries</a>&lt; <a class="el" href="group__types.html#g4bdf4bfe76b9ffa6fa64c47d8bfa0c78">Real</a> &gt; &amp;&nbsp;</td>
 
215
          <td class="paramname"> <em>t</em>, </td>
 
216
        </tr>
 
217
        <tr>
 
218
          <td class="paramkey"></td>
 
219
          <td></td>
 
220
          <td class="paramtype">bool&nbsp;</td>
 
221
          <td class="paramname"> <em>forceOverwrite</em> = <code>false</code></td><td>&nbsp;</td>
 
222
        </tr>
 
223
        <tr>
 
224
          <td></td>
 
225
          <td>)</td>
 
226
          <td></td><td></td><td width="100%"></td>
 
227
        </tr>
 
228
      </table>
 
229
</div>
 
230
<div class="memdoc">
 
231
 
 
232
<p>
 
233
stores historical fixings from a <a class="el" href="class_quant_lib_1_1_time_series.html" title="Container for historical data.">TimeSeries</a> 
 
234
<p>
 
235
the dates in the <a class="el" href="class_quant_lib_1_1_time_series.html" title="Container for historical data.">TimeSeries</a> must be the actual calendar dates of the fixings; no settlement days must be used. 
 
236
</div>
 
237
</div><p>
 
238
<a class="anchor" name="159ac96c9db8c1414e15bf18f08b18be"></a><!-- doxytag: member="QuantLib::Index::addFixings" ref="159ac96c9db8c1414e15bf18f08b18be" args="(DateIterator dBegin, DateIterator dEnd, ValueIterator vBegin, bool forceOverwrite=false)" -->
198
239
<div class="memitem">
199
240
<div class="memproto">
200
241
      <table class="memname">
214
255
          <td class="paramkey"></td>
215
256
          <td></td>
216
257
          <td class="paramtype">ValueIterator&nbsp;</td>
217
 
          <td class="paramname"> <em>vBegin</em></td><td>&nbsp;</td>
 
258
          <td class="paramname"> <em>vBegin</em>, </td>
 
259
        </tr>
 
260
        <tr>
 
261
          <td class="paramkey"></td>
 
262
          <td></td>
 
263
          <td class="paramtype">bool&nbsp;</td>
 
264
          <td class="paramname"> <em>forceOverwrite</em> = <code>false</code></td><td>&nbsp;</td>
218
265
        </tr>
219
266
        <tr>
220
267
          <td></td>
237
284
<div class="footer">
238
285
<div class="endmatter">
239
286
Documentation generated by
240
 
<a href="http://www.doxygen.org">Doxygen</a> 1.5.2
 
287
<a href="http://www.doxygen.org">Doxygen</a> 1.5.4
241
288
</div>
242
289
</div>
243
290