1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
<title>LibOFX: messages.cpp File Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.3 -->
10
<li><a href="main.html"><span>Main Page</span></a></li>
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
<li><a href="annotated.html"><span>Data Structures</span></a></li>
13
<li class="current"><a href="files.html"><span>Files</span></a></li>
16
<h1>messages.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
17
Message IO functionality.
20
<p>Definition in file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
25
<a href="fx-0_89_80_2lib_2messages_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
27
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
28
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38700caf40614c44e567a90d53cdfe37"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::show_line_number" ref="38700caf40614c44e567a90d53cdfe37" args="()" -->
29
void </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#38700caf40614c44e567a90d53cdfe37">show_line_number</a> ()</td></tr>
31
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#6af6947c1ec6fcbefd793f80c26d90fa">message_out</a> (<a class="el" href="messages_8hh.html#7cd03dafa59895bc306bf220b7b85f69">OfxMsgType</a> error_type, const string message)</td></tr>
33
<tr><td class="mdescLeft"> </td><td class="mdescRight">Message output function. <a href="#6af6947c1ec6fcbefd793f80c26d90fa"></a><br></td></tr>
34
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
35
<tr><td class="memItemLeft" nowrap align="right" valign="top">SGMLApplication::OpenEntityPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#adaa870f35b4a4fb6b268ae8ea872ccf">entity_ptr</a></td></tr>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top">SGMLApplication::Position </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#4da8008b6f110050513003edf67a2495">position</a></td></tr>
39
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#c58dfba31a4541023b331efa4f3a5079">ofx_PARSER_msg</a> = false</td></tr>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#114453d10ab7a0a82485eb535ea2cad6">ofx_DEBUG_msg</a> = false</td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#7a6f1ae26a09b234af9fb6f53466de41">ofx_DEBUG1_msg</a> = false</td></tr>
45
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#8ad3c6505850cff41f658a18acee7241">ofx_DEBUG2_msg</a> = false</td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#1983d755b7b1a219f589e6d77271dfbb">ofx_DEBUG3_msg</a> = false</td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#3a8a00a07c729647b1d1f94954419cb9">ofx_DEBUG4_msg</a> = false</td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#68ffc5302d8befcf6e415ac219120162">ofx_DEBUG5_msg</a> = false</td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#9d3605349a492ff39e5b2a006d773cbf">ofx_STATUS_msg</a> = false</td></tr>
55
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#228b326318901fc303c91ed75f45ba64">ofx_INFO_msg</a> = false</td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#906d9d0b5311d914db311210f9cdce58">ofx_WARNING_msg</a> = false</td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#2b3d2ad175f65de9d36f47f959741f72">ofx_ERROR_msg</a> = false</td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#2f4750bf79b46b0259dd883afd45842a">ofx_show_position</a> = true</td></tr>
64
<hr><h2>Function Documentation</h2>
65
<a class="anchor" name="6af6947c1ec6fcbefd793f80c26d90fa"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::message_out" ref="6af6947c1ec6fcbefd793f80c26d90fa" args="(OfxMsgType error_type, const string message)" -->
67
<div class="memproto">
68
<table class="memname">
70
<td class="memname">int message_out </td>
72
<td class="paramtype"><a class="el" href="messages_8hh.html#7cd03dafa59895bc306bf220b7b85f69">OfxMsgType</a> </td>
73
<td class="paramname"> <em>error_type</em>, </td>
76
<td class="paramkey"></td>
78
<td class="paramtype">const string </td>
79
<td class="paramname"> <em>message</em></td><td> </td>
84
<td></td><td></td><td width="100%"></td>
91
Message output function.
93
Prints a message to stdout, if the corresponding message OfxMsgType given in the parameters is enabled
94
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00058">58</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
98
<hr><h2>Variable Documentation</h2>
99
<a class="anchor" name="adaa870f35b4a4fb6b268ae8ea872ccf"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::entity_ptr" ref="adaa870f35b4a4fb6b268ae8ea872ccf" args="" -->
100
<div class="memitem">
101
<div class="memproto">
102
<table class="memname">
104
<td class="memname">SGMLApplication::OpenEntityPtr <a class="el" href="fx-0_89_80_2lib_2ofx__sgml_8cpp.html#adaa870f35b4a4fb6b268ae8ea872ccf">entity_ptr</a> </td>
111
Global for determining the line number in OpenSP
112
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00025">25</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
116
<a class="anchor" name="7a6f1ae26a09b234af9fb6f53466de41"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_DEBUG1_msg" ref="7a6f1ae26a09b234af9fb6f53466de41" args="" -->
117
<div class="memitem">
118
<div class="memproto">
119
<table class="memname">
121
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#7a6f1ae26a09b234af9fb6f53466de41">ofx_DEBUG1_msg</a> = false </td>
128
If set to true, debug level 1 messages will be printed to the console
129
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00030">30</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
133
<a class="anchor" name="8ad3c6505850cff41f658a18acee7241"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_DEBUG2_msg" ref="8ad3c6505850cff41f658a18acee7241" args="" -->
134
<div class="memitem">
135
<div class="memproto">
136
<table class="memname">
138
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#8ad3c6505850cff41f658a18acee7241">ofx_DEBUG2_msg</a> = false </td>
145
If set to true, debug level 2 messages will be printed to the console
146
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00031">31</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
150
<a class="anchor" name="1983d755b7b1a219f589e6d77271dfbb"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_DEBUG3_msg" ref="1983d755b7b1a219f589e6d77271dfbb" args="" -->
151
<div class="memitem">
152
<div class="memproto">
153
<table class="memname">
155
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#1983d755b7b1a219f589e6d77271dfbb">ofx_DEBUG3_msg</a> = false </td>
162
If set to true, debug level 3 messages will be printed to the console
163
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00032">32</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
167
<a class="anchor" name="3a8a00a07c729647b1d1f94954419cb9"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_DEBUG4_msg" ref="3a8a00a07c729647b1d1f94954419cb9" args="" -->
168
<div class="memitem">
169
<div class="memproto">
170
<table class="memname">
172
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#3a8a00a07c729647b1d1f94954419cb9">ofx_DEBUG4_msg</a> = false </td>
179
If set to true, debug level 4 messages will be printed to the console
180
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00033">33</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
184
<a class="anchor" name="68ffc5302d8befcf6e415ac219120162"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_DEBUG5_msg" ref="68ffc5302d8befcf6e415ac219120162" args="" -->
185
<div class="memitem">
186
<div class="memproto">
187
<table class="memname">
189
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#68ffc5302d8befcf6e415ac219120162">ofx_DEBUG5_msg</a> = false </td>
196
If set to true, debug level 5 messages will be printed to the console
197
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00034">34</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
201
<a class="anchor" name="114453d10ab7a0a82485eb535ea2cad6"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_DEBUG_msg" ref="114453d10ab7a0a82485eb535ea2cad6" args="" -->
202
<div class="memitem">
203
<div class="memproto">
204
<table class="memname">
206
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#114453d10ab7a0a82485eb535ea2cad6">ofx_DEBUG_msg</a> = false </td>
213
If set to true, general debug messages will be printed to the console
214
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00029">29</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
218
<a class="anchor" name="2b3d2ad175f65de9d36f47f959741f72"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_ERROR_msg" ref="2b3d2ad175f65de9d36f47f959741f72" args="" -->
219
<div class="memitem">
220
<div class="memproto">
221
<table class="memname">
223
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#2b3d2ad175f65de9d36f47f959741f72">ofx_ERROR_msg</a> = false </td>
230
If set to true, error messages will be printed to the console
231
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00038">38</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
235
<a class="anchor" name="228b326318901fc303c91ed75f45ba64"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_INFO_msg" ref="228b326318901fc303c91ed75f45ba64" args="" -->
236
<div class="memitem">
237
<div class="memproto">
238
<table class="memname">
240
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#228b326318901fc303c91ed75f45ba64">ofx_INFO_msg</a> = false </td>
247
If set to true, information messages will be printed to the console
248
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00036">36</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
252
<a class="anchor" name="c58dfba31a4541023b331efa4f3a5079"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_PARSER_msg" ref="c58dfba31a4541023b331efa4f3a5079" args="" -->
253
<div class="memitem">
254
<div class="memproto">
255
<table class="memname">
257
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#c58dfba31a4541023b331efa4f3a5079">ofx_PARSER_msg</a> = false </td>
264
If set to true, parser events will be printed to the console
265
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00028">28</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
269
<a class="anchor" name="2f4750bf79b46b0259dd883afd45842a"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_show_position" ref="2f4750bf79b46b0259dd883afd45842a" args="" -->
270
<div class="memitem">
271
<div class="memproto">
272
<table class="memname">
274
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#2f4750bf79b46b0259dd883afd45842a">ofx_show_position</a> = true </td>
281
If set to true, the line number will be shown after any error
282
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00039">39</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
286
<a class="anchor" name="9d3605349a492ff39e5b2a006d773cbf"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_STATUS_msg" ref="9d3605349a492ff39e5b2a006d773cbf" args="" -->
287
<div class="memitem">
288
<div class="memproto">
289
<table class="memname">
291
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#9d3605349a492ff39e5b2a006d773cbf">ofx_STATUS_msg</a> = false </td>
298
If set to true, status messages will be printed to the console
299
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00035">35</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
303
<a class="anchor" name="906d9d0b5311d914db311210f9cdce58"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::ofx_WARNING_msg" ref="906d9d0b5311d914db311210f9cdce58" args="" -->
304
<div class="memitem">
305
<div class="memproto">
306
<table class="memname">
308
<td class="memname">volatile int <a class="el" href="fx-0_89_80_2lib_2messages_8cpp.html#906d9d0b5311d914db311210f9cdce58">ofx_WARNING_msg</a> = false </td>
315
If set to true, warning messages will be printed to the console
316
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00037">37</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
320
<a class="anchor" name="4da8008b6f110050513003edf67a2495"></a><!-- doxytag: member="fx-0.9.0/lib/messages.cpp::position" ref="4da8008b6f110050513003edf67a2495" args="" -->
321
<div class="memitem">
322
<div class="memproto">
323
<table class="memname">
325
<td class="memname">SGMLApplication::Position <a class="el" href="fx-0_89_80_2lib_2ofx__sgml_8cpp.html#4da8008b6f110050513003edf67a2495">position</a> </td>
332
Global for determining the line number in OpenSP
333
<p>Definition at line <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html#l00026">26</a> of file <a class="el" href="fx-0_89_80_2lib_2messages_8cpp-source.html">fx-0.9.0/lib/messages.cpp</a>.</p>
337
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 19 20:28:00 2007 for LibOFX by
338
<a href="http://www.doxygen.org/index.html">
339
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>