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

« back to all changes in this revision

Viewing changes to doc/html/fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__utilities_8hh-source.html">fx-0.8.2/lib/ofx_utilities.hh</a>.
 
20
<p>Definition in file <a class="el" href="fx-0_88_82_2lib_2ofx__utilities_8hh-source.html">fx-0.8.2/lib/ofx_utilities.hh</a>.</p>
 
21
 
26
22
<p>
27
23
 
28
24
<p>
29
25
<a href="fx-0_88_82_2lib_2ofx__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="fx-0.8.2/lib/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="fx-0_88_82_2lib_2ofx__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="fx-0.8.2/lib/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="fx-0_88_82_2lib_2ofx__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="fx-0.8.2/lib/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="fx-0_88_82_2lib_2ofx__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="fx-0.8.2/lib/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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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="fx-0.8.2/lib/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="fx-0_88_82_2lib_2ofx__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="fx-0.8.2/lib/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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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="fx-0_88_82_2lib_2ofx__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>
56
52
</table>
57
53
<hr><h2>Function Documentation</h2>
58
 
<a class="anchor" name="0d78db2f18e9d8b4a9916b90819d073e"></a><!-- doxytag: member="fx-0.8.2/lib/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>
 
54
<a class="anchor" name="e7575392f9f9c464ede10057dec0e8e4"></a><!-- doxytag: member="fx-0.8.2/lib/ofx_utilities.hh::CharStringtostring" ref="e7575392f9f9c464ede10057dec0e8e4" args="(const SGMLApplication::CharString source, string &amp;dest)" -->
 
55
<div class="memitem">
 
56
<div class="memproto">
 
57
      <table class="memname">
 
58
        <tr>
 
59
          <td class="memname">string CharStringtostring           </td>
 
60
          <td>(</td>
 
61
          <td class="paramtype">const SGMLApplication::CharString&nbsp;</td>
 
62
          <td class="paramname"> <em>source</em>, </td>
 
63
        </tr>
 
64
        <tr>
 
65
          <td class="paramkey"></td>
 
66
          <td></td>
 
67
          <td class="paramtype">string &amp;&nbsp;</td>
 
68
          <td class="paramname"> <em>dest</em></td><td>&nbsp;</td>
 
69
        </tr>
 
70
        <tr>
 
71
          <td></td>
 
72
          <td>)</td>
 
73
          <td></td><td></td><td width="100%"></td>
79
74
        </tr>
80
75
      </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>
 
76
</div>
 
77
<div class="memdoc">
90
78
 
91
79
<p>
92
80
Convert OpenSP CharString to a C++ STL string. 
93
81
<p>
94
82
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="fx-0.8.2/lib/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">
 
83
<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>
 
84
 
 
85
</div>
 
86
</div><p>
 
87
<a class="anchor" name="bfca5b423e5d7b194eb53c53f706f6ba"></a><!-- doxytag: member="fx-0.8.2/lib/ofx_utilities.hh::ofxamount_to_double" ref="bfca5b423e5d7b194eb53c53f706f6ba" args="(const string ofxamount)" -->
 
88
<div class="memitem">
 
89
<div class="memproto">
 
90
      <table class="memname">
104
91
        <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>
 
92
          <td class="memname">double ofxamount_to_double           </td>
 
93
          <td>(</td>
 
94
          <td class="paramtype">const string&nbsp;</td>
 
95
          <td class="paramname"> <em>ofxamount</em>          </td>
 
96
          <td>&nbsp;)&nbsp;</td>
 
97
          <td width="100%"></td>
111
98
        </tr>
112
99
      </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>
 
100
</div>
 
101
<div class="memdoc">
122
102
 
123
103
<p>
124
104
Convert OFX amount of money to double float. 
125
105
<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="fx-0.8.2/lib/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">
 
106
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>
 
107
 
 
108
<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>
 
109
 
 
110
</div>
 
111
</div><p>
 
112
<a class="anchor" name="5fdbbc08f8d80a534f8db03d25316d7a"></a><!-- doxytag: member="fx-0.8.2/lib/ofx_utilities.hh::ofxdate_to_time_t" ref="5fdbbc08f8d80a534f8db03d25316d7a" args="(const string ofxdate)" -->
 
113
<div class="memitem">
 
114
<div class="memproto">
 
115
      <table class="memname">
137
116
        <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>
 
117
          <td class="memname">time_t ofxdate_to_time_t           </td>
 
118
          <td>(</td>
 
119
          <td class="paramtype">const string&nbsp;</td>
 
120
          <td class="paramname"> <em>ofxdate</em>          </td>
 
121
          <td>&nbsp;)&nbsp;</td>
 
122
          <td width="100%"></td>
144
123
        </tr>
145
124
      </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>
 
125
</div>
 
126
<div class="memdoc">
155
127
 
156
128
<p>
157
129
Convert a C++ string containing a time in OFX format to a C time_t. 
161
133
    <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
134
  </table>
163
135
</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>
 
136
<dl class="return" compact><dt><b>Returns:</b></dt><dd>C time_t in the local time zone </dd></dl>
 
137
<dl class="note" compact><dt><b>Note:</b></dt><dd><ul>
166
138
<li>The library always returns the time in the systems local time </li>
167
139
<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
140
</ul>
177
149
<br>
178
150
 -When a timezone is specified, it is always used to properly convert in local time, following the spec. </dd></dl>
179
151
 
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="fx-0.8.2/lib/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">
 
152
<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>
 
153
 
 
154
</div>
 
155
</div><p>
 
156
<a class="anchor" name="34933785dd934134973847e58a700733"></a><!-- doxytag: member="fx-0.8.2/lib/ofx_utilities.hh::strip_whitespace" ref="34933785dd934134973847e58a700733" args="(const string para_string)" -->
 
157
<div class="memitem">
 
158
<div class="memproto">
 
159
      <table class="memname">
189
160
        <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>
 
161
          <td class="memname">string strip_whitespace           </td>
 
162
          <td>(</td>
 
163
          <td class="paramtype">const string&nbsp;</td>
 
164
          <td class="paramname"> <em>para_string</em>          </td>
 
165
          <td>&nbsp;)&nbsp;</td>
 
166
          <td width="100%"></td>
196
167
        </tr>
197
168
      </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>
 
169
</div>
 
170
<div class="memdoc">
207
171
 
208
172
<p>
209
173
Sanitize a string coming from OpenSP. 
210
174
<p>
211
175
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;
 
176
<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>
 
177
 
 
178
</div>
 
179
</div><p>
 
180
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 19 20:28:00 2007 for LibOFX by&nbsp;
217
181
<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>
 
182
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
219
183
</body>
220
184
</html>