~ubuntu-branches/ubuntu/natty/libofx/natty

« back to all changes in this revision

Viewing changes to doc/html/fx-0_87_80_2lib_2context_8hh-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2005-11-29 00:12:00 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051129001200-aplj8zbj80f68xby
Tags: 1:0.8.0-9
Generate autotools using Debian libtool (rerun libtoolize --copy
--force, aclocal-1.9, autoconf). (Closes: #341190)

Show diffs side-by-side

added added

removed removed

Lines of Context:
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">
3
 
<title>LibOFX: context.hh Source File</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
</head><body>
6
 
<!-- Generated by Doxygen 1.3.7 -->
7
 
<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
8
 
<h1>context.hh</h1><pre class="fragment"><div>00001 
9
 
00005 <span class="comment">/***************************************************************************</span>
10
 
00006 <span class="comment"> *                                                                         *</span>
11
 
00007 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
12
 
00008 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
13
 
00009 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
14
 
00010 <span class="comment"> *   (at your option) any later version.                                   *</span>
15
 
00011 <span class="comment"> *                                                                         *</span>
16
 
00012 <span class="comment"> ***************************************************************************/</span>
17
 
00013 
18
 
00014 <span class="preprocessor">#ifndef CONTEXT_H</span>
19
 
00015 <span class="preprocessor"></span><span class="preprocessor">#define CONTEXT_H</span>
20
 
00016 <span class="preprocessor"></span><span class="preprocessor">#include &lt;string.h&gt;</span>
21
 
00017 <span class="preprocessor">#include &lt;time.h&gt;</span>               <span class="comment">// for time_t</span>
22
 
00018 <span class="preprocessor">#include "<a class="code" href="libofx-0_87_80_2inc_2libofx_8h.html">libofx.h</a>"</span>
23
 
00019 <span class="preprocessor">#include "ParserEventGeneratorKit.h"</span>
24
 
00020 
25
 
00021 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
26
 
00022 <span class="keyword">class </span>LibofxContext {
27
 
00023 <span class="keyword">private</span>:
28
 
00024   <a class="code" href="inc_2libofx_8h.html#a90">LibofxFileFormat</a> _current_file_type;
29
 
00025 
30
 
00026   <a class="code" href="inc_2libofx_8h.html#a29">LibofxProcStatusCallback</a> _statusCallback;
31
 
00027   <a class="code" href="inc_2libofx_8h.html#a30">LibofxProcAccountCallback</a> _accountCallback;
32
 
00028   <a class="code" href="inc_2libofx_8h.html#a31">LibofxProcSecurityCallback</a> _securityCallback;
33
 
00029   <a class="code" href="inc_2libofx_8h.html#a32">LibofxProcTransactionCallback</a> _transactionCallback;
34
 
00030   <a class="code" href="inc_2libofx_8h.html#a33">LibofxProcStatementCallback</a> _statementCallback;
35
 
00031 
36
 
00032   <span class="keywordtype">void</span> * _statementData;
37
 
00033   <span class="keywordtype">void</span> * _accountData;
38
 
00034   <span class="keywordtype">void</span> * _transactionData;
39
 
00035   <span class="keywordtype">void</span> * _securityData;
40
 
00036   <span class="keywordtype">void</span> * _statusData;
41
 
00037 
42
 
00038 <span class="keyword">public</span>:
43
 
00039   LibofxContext();
44
 
00040   ~LibofxContext();
45
 
00041 
46
 
00042   <a class="code" href="inc_2libofx_8h.html#a90">LibofxFileFormat</a> currentFileType() const;
47
 
00043   <span class="keywordtype">void</span> setCurrentFileType(LibofxFileFormat t);
48
 
00044 
49
 
00045   <span class="keywordtype">int</span> statementCallback(const struct <a class="code" href="structOfxStatementData.html">OfxStatementData</a> data);
50
 
00046   <span class="keywordtype">int</span> accountCallback(const struct <a class="code" href="structOfxAccountData.html">OfxAccountData</a> data);
51
 
00047   <span class="keywordtype">int</span> transactionCallback(const struct <a class="code" href="structOfxTransactionData.html">OfxTransactionData</a> data);
52
 
00048   <span class="keywordtype">int</span> securityCallback(const struct <a class="code" href="structOfxSecurityData.html">OfxSecurityData</a> data);
53
 
00049   <span class="keywordtype">int</span> statusCallback(const struct <a class="code" href="structOfxStatusData.html">OfxStatusData</a> data);
54
 
00050 
55
 
00051   <span class="keywordtype">void</span> setStatusCallback(LibofxProcStatusCallback cb, <span class="keywordtype">void</span> *user_data);
56
 
00052   <span class="keywordtype">void</span> setAccountCallback(LibofxProcAccountCallback cb, <span class="keywordtype">void</span> *user_data);
57
 
00053   <span class="keywordtype">void</span> setSecurityCallback(LibofxProcSecurityCallback cb, <span class="keywordtype">void</span> *user_data);
58
 
00054   <span class="keywordtype">void</span> setTransactionCallback(LibofxProcTransactionCallback cb, <span class="keywordtype">void</span> *user_data);
59
 
00055   <span class="keywordtype">void</span> setStatementCallback(LibofxProcStatementCallback cb, <span class="keywordtype">void</span> *user_data);
60
 
00056 
61
 
00057 
62
 
00058 };<span class="comment">//End class LibofxContext</span>
63
 
00059 
64
 
00060 
65
 
00061 
66
 
00062 
67
 
00063 #endif
68
 
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Fri Oct 8 20:34:47 2004 for LibOFX by
69
 
<a href="http://www.doxygen.org/index.html">
70
 
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
71
 
</body>
72
 
</html>