~mterry/ubuntu/natty/libofx/libofx.new-upstream-benoit-sru

« back to all changes in this revision

Viewing changes to doc/html/ofx__utilities_8hh.html

  • Committer: Bazaar Package Importer
  • Author(s): Saïvann Carignan
  • Date: 2008-02-06 17:25:16 UTC
  • mto: (3.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20080206172516-bnzxb29igye8um9h
Tags: upstream-0.9.0
Import upstream version 0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
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_utilities.hh File Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
6
</head><body>
7
 
<!-- Generated by Doxygen 1.4.6 -->
 
7
<!-- Generated by Doxygen 1.5.3 -->
8
8
<div class="tabs">
9
9
  <ul>
10
10
    <li><a href="main.html"><span>Main&nbsp;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&nbsp;Structures</span></a></li>
13
 
    <li id="current"><a href="files.html"><span>Files</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
18
 
    <li><a href="globals.html"><span>Globals</span></a></li>
19
 
  </ul></div>
 
13
    <li class="current"><a href="files.html"><span>Files</span></a></li>
 
14
  </ul>
 
15
</div>
20
16
<h1>ofx_utilities.hh File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
21
17
Various simple functions for type conversion &amp; al. 
22
18
<p>
23
19
 
24
 
<p>
25
 
Definition in file <a class="el" href="ofx__utilities_8hh-source.html">ofx_utilities.hh</a>.
 
20
<p>Definition in file <a class="el" href="ofx__utilities_8hh-source.html">ofx_utilities.hh</a>.</p>
 
21
 
26
22
<p>
27
23
 
28
24
<p>
29
25
<a href="ofx__utilities_8hh-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
30
26
<tr><td></td></tr>
31
27
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
32
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="095339d14cabfdc91293958f37f871f7"></a><!-- doxytag: member="ofx_utilities.hh::operator&lt;&lt;" ref="095339d14cabfdc91293958f37f871f7" args="(ostream &amp;os, SGMLApplication::CharString s)" -->
33
 
ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#095339d14cabfdc91293958f37f871f7">operator&lt;&lt;</a> (ostream &amp;os, SGMLApplication::CharString s)</td></tr>
 
28
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="39ffcaaff3de66030e3e59c2e3e98f8e"></a><!-- doxytag: member="ofx_utilities.hh::operator&lt;&lt;" ref="39ffcaaff3de66030e3e59c2e3e98f8e" args="(ostream &amp;os, SGMLApplication::CharString s)" -->
 
29
ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#39ffcaaff3de66030e3e59c2e3e98f8e">operator&lt;&lt;</a> (ostream &amp;os, SGMLApplication::CharString s)</td></tr>
34
30
 
35
31
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert OpenSP CharString to a C++ stream. <br></td></tr>
36
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="53f86c2bd09208cb164d2cb70f2938b3"></a><!-- doxytag: member="ofx_utilities.hh::CharStringtowchar_t" ref="53f86c2bd09208cb164d2cb70f2938b3" args="(SGMLApplication::CharString source, wchar_t *dest)" -->
37
 
wchar_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#53f86c2bd09208cb164d2cb70f2938b3">CharStringtowchar_t</a> (SGMLApplication::CharString source, wchar_t *dest)</td></tr>
 
32
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2fd46abc036e918fce7b04d9200b3e75"></a><!-- doxytag: member="ofx_utilities.hh::CharStringtowchar_t" ref="2fd46abc036e918fce7b04d9200b3e75" args="(SGMLApplication::CharString source, wchar_t *dest)" -->
 
33
wchar_t *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#2fd46abc036e918fce7b04d9200b3e75">CharStringtowchar_t</a> (SGMLApplication::CharString source, wchar_t *dest)</td></tr>
38
34
 
39
35
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert OpenSP CharString and put it in the C wchar_t string provided. <br></td></tr>
40
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#0d78db2f18e9d8b4a9916b90819d073e">CharStringtostring</a> (const SGMLApplication::CharString source, string &amp;dest)</td></tr>
 
36
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#e7575392f9f9c464ede10057dec0e8e4">CharStringtostring</a> (const SGMLApplication::CharString source, string &amp;dest)</td></tr>
41
37
 
42
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert OpenSP CharString to a C++ STL string.  <a href="#0d78db2f18e9d8b4a9916b90819d073e"></a><br></td></tr>
43
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f54953e915499daefb8959d8b15fa6f0"></a><!-- doxytag: member="ofx_utilities.hh::AppendCharStringtostring" ref="f54953e915499daefb8959d8b15fa6f0" args="(const SGMLApplication::CharString source, string &amp;dest)" -->
44
 
string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#f54953e915499daefb8959d8b15fa6f0">AppendCharStringtostring</a> (const SGMLApplication::CharString source, string &amp;dest)</td></tr>
 
38
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert OpenSP CharString to a C++ STL string.  <a href="#e7575392f9f9c464ede10057dec0e8e4"></a><br></td></tr>
 
39
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="50b88c84b759d3058397336e7ea42c32"></a><!-- doxytag: member="ofx_utilities.hh::AppendCharStringtostring" ref="50b88c84b759d3058397336e7ea42c32" args="(const SGMLApplication::CharString source, string &amp;dest)" -->
 
40
string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#50b88c84b759d3058397336e7ea42c32">AppendCharStringtostring</a> (const SGMLApplication::CharString source, string &amp;dest)</td></tr>
45
41
 
46
42
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append an OpenSP CharString to an existing C++ STL string. <br></td></tr>
47
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#a82c89f166fafe7ac376f2ecc7f1059a">ofxdate_to_time_t</a> (const string ofxdate)</td></tr>
48
 
 
49
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a C++ string containing a time in OFX format to a C time_t.  <a href="#a82c89f166fafe7ac376f2ecc7f1059a"></a><br></td></tr>
50
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#ca59f589043d9d418168b8092809d0a1">ofxamount_to_double</a> (const string ofxamount)</td></tr>
51
 
 
52
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert OFX amount of money to double float.  <a href="#ca59f589043d9d418168b8092809d0a1"></a><br></td></tr>
53
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#eb4379d3bf0c6900bda8b5f2feb9db92">strip_whitespace</a> (const string para_string)</td></tr>
54
 
 
55
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sanitize a string coming from OpenSP.  <a href="#eb4379d3bf0c6900bda8b5f2feb9db92"></a><br></td></tr>
 
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#5fdbbc08f8d80a534f8db03d25316d7a">ofxdate_to_time_t</a> (const string ofxdate)</td></tr>
 
44
 
 
45
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a C++ string containing a time in OFX format to a C time_t.  <a href="#5fdbbc08f8d80a534f8db03d25316d7a"></a><br></td></tr>
 
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#bfca5b423e5d7b194eb53c53f706f6ba">ofxamount_to_double</a> (const string ofxamount)</td></tr>
 
47
 
 
48
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert OFX amount of money to double float.  <a href="#bfca5b423e5d7b194eb53c53f706f6ba"></a><br></td></tr>
 
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#34933785dd934134973847e58a700733">strip_whitespace</a> (const string para_string)</td></tr>
 
50
 
 
51
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sanitize a string coming from OpenSP.  <a href="#34933785dd934134973847e58a700733"></a><br></td></tr>
 
52
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0e945c824a3012017b4babd721d9f38"></a><!-- doxytag: member="ofx_utilities.hh::mkTempFileName" ref="a0e945c824a3012017b4babd721d9f38" args="(const char *tmpl, char *buffer, unsigned int size)" -->
 
53
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ofx__utilities_8hh.html#a0e945c824a3012017b4babd721d9f38">mkTempFileName</a> (const char *tmpl, char *buffer, unsigned int size)</td></tr>
 
54
 
56
55
</table>
57
56
<hr><h2>Function Documentation</h2>
58
 
<a class="anchor" name="0d78db2f18e9d8b4a9916b90819d073e"></a><!-- doxytag: member="ofx_utilities.hh::CharStringtostring" ref="0d78db2f18e9d8b4a9916b90819d073e" args="(const SGMLApplication::CharString source, string &amp;dest)" --><p>
59
 
<table class="mdTable" cellpadding="2" cellspacing="0">
60
 
  <tr>
61
 
    <td class="mdRow">
62
 
      <table cellpadding="0" cellspacing="0" border="0">
63
 
        <tr>
64
 
          <td class="md" nowrap valign="top">string CharStringtostring           </td>
65
 
          <td class="md" valign="top">(&nbsp;</td>
66
 
          <td class="md" nowrap valign="top">const SGMLApplication::CharString&nbsp;</td>
67
 
          <td class="mdname" nowrap> <em>source</em>, </td>
68
 
        </tr>
69
 
        <tr>
70
 
          <td class="md" nowrap align="right"></td>
71
 
          <td class="md"></td>
72
 
          <td class="md" nowrap>string &amp;&nbsp;</td>
73
 
          <td class="mdname" nowrap> <em>dest</em></td>
74
 
        </tr>
75
 
        <tr>
76
 
          <td class="md"></td>
77
 
          <td class="md">)&nbsp;</td>
78
 
          <td class="md" colspan="2"></td>
 
57
<a class="anchor" name="e7575392f9f9c464ede10057dec0e8e4"></a><!-- doxytag: member="ofx_utilities.hh::CharStringtostring" ref="e7575392f9f9c464ede10057dec0e8e4" args="(const SGMLApplication::CharString source, string &amp;dest)" -->
 
58
<div class="memitem">
 
59
<div class="memproto">
 
60
      <table class="memname">
 
61
        <tr>
 
62
          <td class="memname">string CharStringtostring           </td>
 
63
          <td>(</td>
 
64
          <td class="paramtype">const SGMLApplication::CharString&nbsp;</td>
 
65
          <td class="paramname"> <em>source</em>, </td>
 
66
        </tr>
 
67
        <tr>
 
68
          <td class="paramkey"></td>
 
69
          <td></td>
 
70
          <td class="paramtype">string &amp;&nbsp;</td>
 
71
          <td class="paramname"> <em>dest</em></td><td>&nbsp;</td>
 
72
        </tr>
 
73
        <tr>
 
74
          <td></td>
 
75
          <td>)</td>
 
76
          <td></td><td></td><td width="100%"></td>
79
77
        </tr>
80
78
      </table>
81
 
    </td>
82
 
  </tr>
83
 
</table>
84
 
<table cellspacing="5" cellpadding="0" border="0">
85
 
  <tr>
86
 
    <td>
87
 
      &nbsp;
88
 
    </td>
89
 
    <td>
 
79
</div>
 
80
<div class="memdoc">
90
81
 
91
82
<p>
92
83
Convert OpenSP CharString to a C++ STL string. 
93
84
<p>
94
85
Convert an OpenSP CharString directly to a C++ stream, to enable the use of cout directly for debugging. 
95
 
<p>
96
 
Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00060">60</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.    </td>
97
 
  </tr>
98
 
</table>
99
 
<a class="anchor" name="ca59f589043d9d418168b8092809d0a1"></a><!-- doxytag: member="ofx_utilities.hh::ofxamount_to_double" ref="ca59f589043d9d418168b8092809d0a1" args="(const string ofxamount)" --><p>
100
 
<table class="mdTable" cellpadding="2" cellspacing="0">
101
 
  <tr>
102
 
    <td class="mdRow">
103
 
      <table cellpadding="0" cellspacing="0" border="0">
 
86
<p>Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00069">69</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.</p>
 
87
 
 
88
</div>
 
89
</div><p>
 
90
<a class="anchor" name="bfca5b423e5d7b194eb53c53f706f6ba"></a><!-- doxytag: member="ofx_utilities.hh::ofxamount_to_double" ref="bfca5b423e5d7b194eb53c53f706f6ba" args="(const string ofxamount)" -->
 
91
<div class="memitem">
 
92
<div class="memproto">
 
93
      <table class="memname">
104
94
        <tr>
105
 
          <td class="md" nowrap valign="top">double ofxamount_to_double           </td>
106
 
          <td class="md" valign="top">(&nbsp;</td>
107
 
          <td class="md" nowrap valign="top">const string&nbsp;</td>
108
 
          <td class="mdname1" valign="top" nowrap> <em>ofxamount</em>          </td>
109
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
110
 
          <td class="md" nowrap></td>
 
95
          <td class="memname">double ofxamount_to_double           </td>
 
96
          <td>(</td>
 
97
          <td class="paramtype">const string&nbsp;</td>
 
98
          <td class="paramname"> <em>ofxamount</em>          </td>
 
99
          <td>&nbsp;)&nbsp;</td>
 
100
          <td width="100%"></td>
111
101
        </tr>
112
102
      </table>
113
 
    </td>
114
 
  </tr>
115
 
</table>
116
 
<table cellspacing="5" cellpadding="0" border="0">
117
 
  <tr>
118
 
    <td>
119
 
      &nbsp;
120
 
    </td>
121
 
    <td>
 
103
</div>
 
104
<div class="memdoc">
122
105
 
123
106
<p>
124
107
Convert OFX amount of money to double float. 
125
108
<p>
126
 
Convert a C++ string containing an amount of money as specified by the OFX standard and convert it to a double float. <dl compact><dt><b>Note:</b></dt><dd>The ofx number format is the following: "." or "," as decimal separator, NO thousands separator. </dd></dl>
127
 
 
128
 
<p>
129
 
Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00165">165</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.    </td>
130
 
  </tr>
131
 
</table>
132
 
<a class="anchor" name="a82c89f166fafe7ac376f2ecc7f1059a"></a><!-- doxytag: member="ofx_utilities.hh::ofxdate_to_time_t" ref="a82c89f166fafe7ac376f2ecc7f1059a" args="(const string ofxdate)" --><p>
133
 
<table class="mdTable" cellpadding="2" cellspacing="0">
134
 
  <tr>
135
 
    <td class="mdRow">
136
 
      <table cellpadding="0" cellspacing="0" border="0">
 
109
Convert a C++ string containing an amount of money as specified by the OFX standard and convert it to a double float. <dl class="note" compact><dt><b>Note:</b></dt><dd>The ofx number format is the following: "." or "," as decimal separator, NO thousands separator. </dd></dl>
 
110
 
 
111
<p>Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00174">174</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.</p>
 
112
 
 
113
</div>
 
114
</div><p>
 
115
<a class="anchor" name="5fdbbc08f8d80a534f8db03d25316d7a"></a><!-- doxytag: member="ofx_utilities.hh::ofxdate_to_time_t" ref="5fdbbc08f8d80a534f8db03d25316d7a" args="(const string ofxdate)" -->
 
116
<div class="memitem">
 
117
<div class="memproto">
 
118
      <table class="memname">
137
119
        <tr>
138
 
          <td class="md" nowrap valign="top">time_t ofxdate_to_time_t           </td>
139
 
          <td class="md" valign="top">(&nbsp;</td>
140
 
          <td class="md" nowrap valign="top">const string&nbsp;</td>
141
 
          <td class="mdname1" valign="top" nowrap> <em>ofxdate</em>          </td>
142
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
143
 
          <td class="md" nowrap></td>
 
120
          <td class="memname">time_t ofxdate_to_time_t           </td>
 
121
          <td>(</td>
 
122
          <td class="paramtype">const string&nbsp;</td>
 
123
          <td class="paramname"> <em>ofxdate</em>          </td>
 
124
          <td>&nbsp;)&nbsp;</td>
 
125
          <td width="100%"></td>
144
126
        </tr>
145
127
      </table>
146
 
    </td>
147
 
  </tr>
148
 
</table>
149
 
<table cellspacing="5" cellpadding="0" border="0">
150
 
  <tr>
151
 
    <td>
152
 
      &nbsp;
153
 
    </td>
154
 
    <td>
 
128
</div>
 
129
<div class="memdoc">
155
130
 
156
131
<p>
157
132
Convert a C++ string containing a time in OFX format to a C time_t. 
161
136
    <tr><td valign="top"></td><td valign="top"><em>ofxdate</em>&nbsp;</td><td>date from the YYYYMMDDHHMMSS.XXX[gmt offset:tz name] OFX format </td></tr>
162
137
  </table>
163
138
</dl>
164
 
<dl compact><dt><b>Returns:</b></dt><dd>C time_t in the local time zone </dd></dl>
165
 
<dl compact><dt><b>Note:</b></dt><dd><ul>
 
139
<dl class="return" compact><dt><b>Returns:</b></dt><dd>C time_t in the local time zone </dd></dl>
 
140
<dl class="note" compact><dt><b>Note:</b></dt><dd><ul>
166
141
<li>The library always returns the time in the systems local time </li>
167
142
<li>OFX defines the date up to the millisecond. The library ignores those milliseconds, since ANSI C does not handle such precision cleanly. The date provided by LibOFX is precise to the second, assuming that information this precise was provided in the ofx file. So you wont know the millisecond you were ruined...</li>
168
143
</ul>
177
152
<br>
178
153
 -When a timezone is specified, it is always used to properly convert in local time, following the spec. </dd></dl>
179
154
 
180
 
<p>
181
 
Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00097">97</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.    </td>
182
 
  </tr>
183
 
</table>
184
 
<a class="anchor" name="eb4379d3bf0c6900bda8b5f2feb9db92"></a><!-- doxytag: member="ofx_utilities.hh::strip_whitespace" ref="eb4379d3bf0c6900bda8b5f2feb9db92" args="(const string para_string)" --><p>
185
 
<table class="mdTable" cellpadding="2" cellspacing="0">
186
 
  <tr>
187
 
    <td class="mdRow">
188
 
      <table cellpadding="0" cellspacing="0" border="0">
 
155
<p>Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00106">106</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.</p>
 
156
 
 
157
</div>
 
158
</div><p>
 
159
<a class="anchor" name="34933785dd934134973847e58a700733"></a><!-- doxytag: member="ofx_utilities.hh::strip_whitespace" ref="34933785dd934134973847e58a700733" args="(const string para_string)" -->
 
160
<div class="memitem">
 
161
<div class="memproto">
 
162
      <table class="memname">
189
163
        <tr>
190
 
          <td class="md" nowrap valign="top">string strip_whitespace           </td>
191
 
          <td class="md" valign="top">(&nbsp;</td>
192
 
          <td class="md" nowrap valign="top">const string&nbsp;</td>
193
 
          <td class="mdname1" valign="top" nowrap> <em>para_string</em>          </td>
194
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
195
 
          <td class="md" nowrap></td>
 
164
          <td class="memname">string strip_whitespace           </td>
 
165
          <td>(</td>
 
166
          <td class="paramtype">const string&nbsp;</td>
 
167
          <td class="paramname"> <em>para_string</em>          </td>
 
168
          <td>&nbsp;)&nbsp;</td>
 
169
          <td width="100%"></td>
196
170
        </tr>
197
171
      </table>
198
 
    </td>
199
 
  </tr>
200
 
</table>
201
 
<table cellspacing="5" cellpadding="0" border="0">
202
 
  <tr>
203
 
    <td>
204
 
      &nbsp;
205
 
    </td>
206
 
    <td>
 
172
</div>
 
173
<div class="memdoc">
207
174
 
208
175
<p>
209
176
Sanitize a string coming from OpenSP. 
210
177
<p>
211
178
Many weird caracters can be present inside a SGML element, as a result on the transfer protocol, or for any reason. This function greatly enhances the reliability of the library by zapping those gremlins (backspace,formfeed,newline,carriage return, horizontal and vertical tabs) as well as removing whitespace at the begining and end of the string. Otherwise, many problems will occur during stringmatching. 
212
 
<p>
213
 
Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00186">186</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.    </td>
214
 
  </tr>
215
 
</table>
216
 
<hr size="1"><address style="align: right;"><small>Generated on Fri Aug 25 13:25:22 2006 for LibOFX by&nbsp;
 
179
<p>Definition at line <a class="el" href="ofx__utilities_8cpp-source.html#l00195">195</a> of file <a class="el" href="ofx__utilities_8cpp-source.html">ofx_utilities.cpp</a>.</p>
 
180
 
 
181
</div>
 
182
</div><p>
 
183
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 19 20:28:00 2007 for LibOFX by&nbsp;
217
184
<a href="http://www.doxygen.org/index.html">
218
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
 
185
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
219
186
</body>
220
187
</html>