1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
3
<title>LibOFX: ofx_request.hh Source File</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.4.6 -->
7
<!-- Generated by Doxygen 1.5.3 -->
10
10
<li><a href="main.html"><span>Main Page</span></a></li>
11
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
12
<li><a href="annotated.html"><span>Data Structures</span></a></li>
13
<li id="current"><a href="files.html"><span>Files</span></a></li>
17
<li><a href="files.html"><span>File List</span></a></li>
18
<li><a href="globals.html"><span>Globals</span></a></li>
13
<li class="current"><a href="files.html"><span>Files</span></a></li>
20
16
<h1>ofx_request.hh</h1><a href="fx-0_88_82_2lib_2ofx__request_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
21
17
<a name="l00002"></a>00002 <span class="comment"> ofx_request.hh </span>
22
18
<a name="l00003"></a>00003 <span class="comment"> -------------------</span>
36
32
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define OFX_REQUEST_H</span>
37
33
<a name="l00022"></a>00022 <span class="preprocessor"></span>
38
34
<a name="l00023"></a>00023 <span class="preprocessor">#include <string></span>
39
<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="libofx-0_88_82_2inc_2libofx_8h.html">libofx.h</a>"</span>
40
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="fx-0_88_82_2lib_2ofx__aggregate_8hh.html">ofx_aggregate.hh</a>"</span>
35
<a name="l00024"></a>00024 <span class="preprocessor">#include "<a class="code" href="libofx-0_89_80_2inc_2libofx_8h.html" title="Main header file containing the LibOfx API.">libofx.h</a>"</span>
36
<a name="l00025"></a>00025 <span class="preprocessor">#include "<a class="code" href="fx-0_88_82_2lib_2ofx__aggregate_8hh.html" title="Declaration of OfxAggregate which allows you to construct a single OFX aggregate...">ofx_aggregate.hh</a>"</span>
41
37
<a name="l00026"></a>00026
42
38
<a name="l00027"></a>00027 <span class="keyword">using namespace </span>std;
43
39
<a name="l00028"></a>00028
44
<a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="classOfxRequest.html">OfxRequest</a>: <span class="keyword">public</span> <a class="code" href="classOfxAggregate.html">OfxAggregate</a>
40
<a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="classOfxRequest.html" title="A generic request.">OfxRequest</a>: <span class="keyword">public</span> <a class="code" href="classOfxAggregate.html" title="A single aggregate as described in the OFX 1.02 specification.">OfxAggregate</a>
45
41
<a name="l00037"></a>00037 {
46
42
<a name="l00038"></a>00038 <span class="keyword">public</span>:
47
<a name="l00045"></a><a class="code" href="classOfxRequest.html#1e44a0bea2084ac4805e478f43e42837">00045</a> <a class="code" href="classOfxRequest.html#1e44a0bea2084ac4805e478f43e42837">OfxRequest</a>(<span class="keyword">const</span> <a class="code" href="structOfxFiLogin.html">OfxFiLogin</a>& fi): <a class="code" href="classOfxAggregate.html">OfxAggregate</a>(<span class="stringliteral">"OFX"</span>), <a class="code" href="classOfxRequest.html#656e286ea5ffc6918a71cd521c5b95d3">m_login</a>(fi) {}
43
<a name="l00045"></a><a class="code" href="classOfxRequest.html#edf28b52122ebc61fab21bda14e611ea">00045</a> <a class="code" href="classOfxRequest.html#edf28b52122ebc61fab21bda14e611ea">OfxRequest</a>(<span class="keyword">const</span> <a class="code" href="structOfxFiLogin.html" title="Information sufficient to log into an financial institution.">OfxFiLogin</a>& fi): <a class="code" href="classOfxAggregate.html" title="A single aggregate as described in the OFX 1.02 specification.">OfxAggregate</a>(<span class="stringliteral">"OFX"</span>), <a class="code" href="classOfxRequest.html#9c831dd85c20955e6d062e8b5f660e00">m_login</a>(fi) {}
48
44
<a name="l00046"></a>00046
49
45
<a name="l00047"></a>00047 <span class="comment">//protected:</span>
50
46
<a name="l00048"></a>00048 <span class="keyword">public</span>:
51
<a name="l00055"></a>00055 <a class="code" href="classOfxAggregate.html">OfxAggregate</a> <a class="code" href="classOfxRequest.html#af46e4046c4baddbb096b1eb1b4c46a8">SignOnRequest</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
47
<a name="l00055"></a>00055 <a class="code" href="classOfxAggregate.html" title="A single aggregate as described in the OFX 1.02 specification.">OfxAggregate</a> <a class="code" href="classOfxRequest.html#b653f985a56f4cff3e87a82c700f4450">SignOnRequest</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
52
48
<a name="l00056"></a>00056
53
<a name="l00068"></a>00068 <a class="code" href="classOfxAggregate.html">OfxAggregate</a> <a class="code" href="classOfxRequest.html#a544b825f95778918ab737d985466eb2">RequestMessage</a>(<span class="keyword">const</span> string& msgtype, <span class="keyword">const</span> string& trntype, <span class="keyword">const</span> <a class="code" href="classOfxAggregate.html">OfxAggregate</a>& aggregate ) <span class="keyword">const</span>;
49
<a name="l00068"></a>00068 <a class="code" href="classOfxAggregate.html" title="A single aggregate as described in the OFX 1.02 specification.">OfxAggregate</a> <a class="code" href="classOfxRequest.html#e56ceb8ef12b9431dcd4d63eec60a377">RequestMessage</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>& msgtype, <span class="keyword">const</span> <span class="keywordtype">string</span>& trntype, <span class="keyword">const</span> <a class="code" href="classOfxAggregate.html" title="A single aggregate as described in the OFX 1.02 specification.">OfxAggregate</a>& aggregate ) <span class="keyword">const</span>;
54
50
<a name="l00069"></a>00069
55
51
<a name="l00070"></a>00070 <span class="keyword">protected</span>:
56
<a name="l00071"></a>00071 <a class="code" href="structOfxFiLogin.html">OfxFiLogin</a> <a class="code" href="classOfxRequest.html#656e286ea5ffc6918a71cd521c5b95d3">m_login</a>;
52
<a name="l00071"></a>00071 <a class="code" href="structOfxFiLogin.html" title="Information sufficient to log into an financial institution.">OfxFiLogin</a> <a class="code" href="classOfxRequest.html#9c831dd85c20955e6d062e8b5f660e00">m_login</a>;
57
53
<a name="l00072"></a>00072 };
58
54
<a name="l00073"></a>00073
59
55
<a name="l00078"></a>00078
60
<a name="l00079"></a>00079 string <a class="code" href="ofx__request_8cpp.html#db904c8d68b46495893e0db60a2acbcf">time_t_to_ofxdatetime</a>( time_t time );
61
<a name="l00080"></a>00080 string <a class="code" href="ofx__request_8cpp.html#81beedfec4dc7c410153f3722fe67a77">time_t_to_ofxdate</a>( time_t time );
62
<a name="l00081"></a>00081 string <a class="code" href="ofx__request_8cpp.html#e0c9348ddcb7da503b17069e9ea77f75">OfxHeader</a>(<span class="keywordtype">void</span>);
56
<a name="l00079"></a>00079 <span class="keywordtype">string</span> <a class="code" href="ofx__request_8cpp.html#2f86a163dc83453b02683f1d20d6b3d6">time_t_to_ofxdatetime</a>( time_t time );
57
<a name="l00080"></a>00080 <span class="keywordtype">string</span> <a class="code" href="ofx__request_8cpp.html#34e84f6346e9d35feba51592e3db190c">time_t_to_ofxdate</a>( time_t time );
58
<a name="l00081"></a>00081 <span class="keywordtype">string</span> <a class="code" href="ofx__request_8cpp.html#38a94b99f351615ee7a342f409db8499">OfxHeader</a>(<span class="keywordtype">void</span>);
63
59
<a name="l00082"></a>00082
64
60
<a name="l00084"></a>00084
65
61
<a name="l00085"></a>00085 <span class="preprocessor">#endif // OFX_REQUEST_H</span>
66
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Aug 25 13:25:22 2006 for LibOFX by
62
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 19 20:27:59 2007 for LibOFX by
67
63
<a href="http://www.doxygen.org/index.html">
68
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
64
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>