Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > f53a3df8ddeca10007257b33f867a55e > files > 129

libofx-devel-0.9.1-2.fc12.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>LibOFX: context.hh Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>context.hh</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00005"></a>00005 <span class="comment">/***************************************************************************</span>
<a name="l00006"></a>00006 <span class="comment"> *                                                                         *</span>
<a name="l00007"></a>00007 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
<a name="l00008"></a>00008 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
<a name="l00009"></a>00009 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
<a name="l00010"></a>00010 <span class="comment"> *   (at your option) any later version.                                   *</span>
<a name="l00011"></a>00011 <span class="comment"> *                                                                         *</span>
<a name="l00012"></a>00012 <span class="comment"> ***************************************************************************/</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef CONTEXT_H</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define CONTEXT_H</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;time.h&gt;</span>               <span class="comment">// for time_t</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="libofx-0_89_81_2inc_2libofx_8h.html">libofx.h</a>"</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include "ParserEventGeneratorKit.h"</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="keyword">using namespace </span>std;
<a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="classLibofxContext.html">LibofxContext</a> {
<a name="l00026"></a>00026 <span class="keyword">private</span>:
<a name="l00027"></a>00027   <a class="code" href="inc_2libofx_8h.html#954c5e33f48105c5d932d4842e7736de">LibofxFileFormat</a> _current_file_type;
<a name="l00028"></a>00028 
<a name="l00029"></a>00029   <a class="code" href="inc_2libofx_8h.html#bf65178e36754f1230d0f19b17ac87b9">LibofxProcStatusCallback</a> _statusCallback;
<a name="l00030"></a>00030   <a class="code" href="inc_2libofx_8h.html#8a7ce0187403b74e5c01ce2c845bf168">LibofxProcAccountCallback</a> _accountCallback;
<a name="l00031"></a>00031   <a class="code" href="inc_2libofx_8h.html#ac7092da740489c7e93cb577206149fd">LibofxProcSecurityCallback</a> _securityCallback;
<a name="l00032"></a>00032   <a class="code" href="inc_2libofx_8h.html#45504b010cf2133a3f0c580571e4ff81">LibofxProcTransactionCallback</a> _transactionCallback;
<a name="l00033"></a>00033   <a class="code" href="inc_2libofx_8h.html#c6a821dc01318681d0b8dc23d50eb211">LibofxProcStatementCallback</a> _statementCallback;
<a name="l00034"></a>00034 
<a name="l00035"></a>00035   <span class="keywordtype">void</span> * _statementData;
<a name="l00036"></a>00036   <span class="keywordtype">void</span> * _accountData;
<a name="l00037"></a>00037   <span class="keywordtype">void</span> * _transactionData;
<a name="l00038"></a>00038   <span class="keywordtype">void</span> * _securityData;
<a name="l00039"></a>00039   <span class="keywordtype">void</span> * _statusData;
<a name="l00040"></a>00040 
<a name="l00041"></a>00041   std::string _dtdDir;
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="keyword">public</span>:
<a name="l00044"></a>00044   <a class="code" href="classLibofxContext.html#7cb5338d000d5e9d31225878b639250b">LibofxContext</a>();
<a name="l00045"></a>00045   <a class="code" href="classLibofxContext.html#08c06eedebc157876ff10c76570836e3">~LibofxContext</a>();
<a name="l00046"></a>00046 
<a name="l00047"></a>00047   <a class="code" href="inc_2libofx_8h.html#954c5e33f48105c5d932d4842e7736de">LibofxFileFormat</a> <a class="code" href="classLibofxContext.html#0b9abc65fe4c7f063da8aa5fb769a4e8">currentFileType</a>() <span class="keyword">const</span>;
<a name="l00048"></a>00048   <span class="keywordtype">void</span> <a class="code" href="classLibofxContext.html#4d2c3cd388505cb022910f1a90add712">setCurrentFileType</a>(<a class="code" href="inc_2libofx_8h.html#954c5e33f48105c5d932d4842e7736de">LibofxFileFormat</a> t);
<a name="l00049"></a>00049 
<a name="l00050"></a><a class="code" href="classLibofxContext.html#dec5838c5d7a49f3a860df8c46d5a286">00050</a>   <span class="keyword">const</span> std::string &amp;<a class="code" href="classLibofxContext.html#dec5838c5d7a49f3a860df8c46d5a286">dtdDir</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _dtdDir;};
<a name="l00051"></a><a class="code" href="classLibofxContext.html#4980d93a2eaadae7c6ff2cff26be003d">00051</a>   <span class="keywordtype">void</span> <a class="code" href="classLibofxContext.html#4980d93a2eaadae7c6ff2cff26be003d">setDtdDir</a>(<span class="keyword">const</span> std::string &amp;s) {_dtdDir=s;};
<a name="l00052"></a>00052 
<a name="l00053"></a>00053   <span class="keywordtype">int</span> <a class="code" href="classLibofxContext.html#c89155697361ad0aa8aff5da19370709">statementCallback</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structOfxStatementData.html">OfxStatementData</a> data);
<a name="l00054"></a>00054   <span class="keywordtype">int</span> <a class="code" href="classLibofxContext.html#ff6d360f9413f4bd463e101502201c5a">accountCallback</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structOfxAccountData.html">OfxAccountData</a> data);
<a name="l00055"></a>00055   <span class="keywordtype">int</span> <a class="code" href="classLibofxContext.html#9a74ef2ba7748db76b993dee07b7f47c">transactionCallback</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structOfxTransactionData.html">OfxTransactionData</a> data);
<a name="l00056"></a>00056   <span class="keywordtype">int</span> <a class="code" href="classLibofxContext.html#7475e62f44e4e9351f193697956d88cd">securityCallback</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structOfxSecurityData.html">OfxSecurityData</a> data);
<a name="l00057"></a>00057   <span class="keywordtype">int</span> <a class="code" href="classLibofxContext.html#97356a19c06c5609a9dc228286493db3">statusCallback</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structOfxStatusData.html">OfxStatusData</a> data);
<a name="l00058"></a>00058 
<a name="l00059"></a>00059   <span class="keywordtype">void</span> <a class="code" href="classLibofxContext.html#c9a366e3bc8db89ef721e1e2ef57a8d6">setStatusCallback</a>(<a class="code" href="inc_2libofx_8h.html#bf65178e36754f1230d0f19b17ac87b9">LibofxProcStatusCallback</a> cb, <span class="keywordtype">void</span> *user_data);
<a name="l00060"></a>00060   <span class="keywordtype">void</span> <a class="code" href="classLibofxContext.html#b02f2c152eb2639e3b02dcbd919036b8">setAccountCallback</a>(<a class="code" href="inc_2libofx_8h.html#8a7ce0187403b74e5c01ce2c845bf168">LibofxProcAccountCallback</a> cb, <span class="keywordtype">void</span> *user_data);
<a name="l00061"></a>00061   <span class="keywordtype">void</span> <a class="code" href="classLibofxContext.html#d3ab77c33566ca7227613e1fbb36ea1b">setSecurityCallback</a>(<a class="code" href="inc_2libofx_8h.html#ac7092da740489c7e93cb577206149fd">LibofxProcSecurityCallback</a> cb, <span class="keywordtype">void</span> *user_data);
<a name="l00062"></a>00062   <span class="keywordtype">void</span> <a class="code" href="classLibofxContext.html#d5575fed475d9a755d71ff1f90d7ea98">setTransactionCallback</a>(<a class="code" href="inc_2libofx_8h.html#45504b010cf2133a3f0c580571e4ff81">LibofxProcTransactionCallback</a> cb, <span class="keywordtype">void</span> *user_data);
<a name="l00063"></a>00063   <span class="keywordtype">void</span> <a class="code" href="classLibofxContext.html#8a1337b72f678900606b924806603855">setStatementCallback</a>(<a class="code" href="inc_2libofx_8h.html#c6a821dc01318681d0b8dc23d50eb211">LibofxProcStatementCallback</a> cb, <span class="keywordtype">void</span> *user_data);
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 
<a name="l00066"></a>00066 };<span class="comment">//End class LibofxContext</span>
<a name="l00067"></a>00067 
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 9 21:21:59 2009 for LibOFX by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
</body>
</html>