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: ofx_utilities.hh Source File</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.7 -->
7
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
8
<h1>ofx_utilities.hh</h1><a href="fx-0_87_80_2lib_2ofx__utilities_8hh.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/***************************************************************************</span>
9
00002 <span class="comment"> ofx_util.h</span>
10
00003 <span class="comment"> -------------------</span>
11
00004 <span class="comment"> copyright : (C) 2002 by Benoit Gr�goire</span>
12
00005 <span class="comment"> email : bock@step.polymtl.ca</span>
13
00006 <span class="comment"> ***************************************************************************/</span>
14
00010 <span class="comment">/***************************************************************************</span>
15
00011 <span class="comment"> * *</span>
16
00012 <span class="comment"> * This program is free software; you can redistribute it and/or modify *</span>
17
00013 <span class="comment"> * it under the terms of the GNU General Public License as published by *</span>
18
00014 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or *</span>
19
00015 <span class="comment"> * (at your option) any later version. *</span>
20
00016 <span class="comment"> * *</span>
21
00017 <span class="comment"> ***************************************************************************/</span>
22
00018 <span class="preprocessor">#ifndef OFX_UTIL_H</span>
23
00019 <span class="preprocessor"></span><span class="preprocessor">#define OFX_UTIL_H</span>
24
00020 <span class="preprocessor"></span><span class="preprocessor">#include <string.h></span>
25
00021 <span class="preprocessor">#include <time.h></span> <span class="comment">// for time_t</span>
26
00022 <span class="preprocessor">#include "ParserEventGeneratorKit.h"</span>
27
00023 <span class="keyword">using</span> <span class="keyword">namespace </span>std;
28
00024 <span class="comment">/* This file contains various simple functions for type conversion & al */</span>
30
00026 <span class="comment">/*wostream &operator<<(wostream &os, SGMLApplication::CharString s); */</span>
32
00029 ostream &<a class="code" href="fx-0_87_80_2lib_2ofx__utilities_8hh.html#a0">operator<<</a>(ostream &os, SGMLApplication::CharString s);
34
00032 <span class="keywordtype">wchar_t</span>* <a class="code" href="fx-0_87_80_2lib_2ofx__utilities_8hh.html#a1">CharStringtowchar_t</a>(SGMLApplication::CharString source, <span class="keywordtype">wchar_t</span> *dest);
36
00035 string <a class="code" href="fx-0_87_80_2lib_2ofx__utilities_8hh.html#a2">CharStringtostring</a>(<span class="keyword">const</span> SGMLApplication::CharString source, string &dest);
38
00038 string <a class="code" href="fx-0_87_80_2lib_2ofx__utilities_8hh.html#a3">AppendCharStringtostring</a>(<span class="keyword">const</span> SGMLApplication::CharString source, string &dest);
40
00041 time_t <a class="code" href="fx-0_87_80_2lib_2ofx__utilities_8hh.html#a4">ofxdate_to_time_t</a>(<span class="keyword">const</span> string ofxdate);
42
00044 <span class="keywordtype">double</span> <a class="code" href="fx-0_87_80_2lib_2ofx__utilities_8hh.html#a5">ofxamount_to_double</a>(<span class="keyword">const</span> string ofxamount);
44
00047 string <a class="code" href="fx-0_87_80_2lib_2ofx__utilities_8hh.html#a6">strip_whitespace</a>(<span class="keyword">const</span> string para_string);
45
00048 <span class="preprocessor">#endif</span>
46
</div></pre><hr size="1"><address style="align: right;"><small>Generated on Fri Oct 8 20:34:48 2004 for LibOFX by
47
<a href="http://www.doxygen.org/index.html">
48
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>