root/doc/html/itassert_8cpp.html @ 354

Revision 353, 8.9 kB (checked in by smidl, 16 years ago)

doc

Line 
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>mixpp: itassert.cpp File Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li><a href="annotated.html"><span>Classes</span></a></li>
56      <li class="current"><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63    </ul>
64  </div>
65</div>
66<div class="contents">
67<h1>itassert.cpp File Reference</h1>Error handling functions - source file. 
68<a href="#_details">More...</a>
69<p>
70<code>#include &lt;itpp/config.h&gt;</code><br>
71<code>#include &lt;<a class="el" href="itassert_8h-source.html">itpp/base/itassert.h</a>&gt;</code><br>
72<code>#include &lt;iostream&gt;</code><br>
73<code>#include &lt;stdexcept&gt;</code><br>
74<code>#include &lt;cstdlib&gt;</code><br>
75<table border="0" cellpadding="0" cellspacing="0">
76<tr><td></td></tr>
77<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
78<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ge75ba7a501dbe8083fc9569df545bfbf"></a><!-- doxytag: member="itassert.cpp::it_assert_f" ref="ge75ba7a501dbe8083fc9569df545bfbf" args="(std::string ass, std::string msg, std::string file, int line)" -->
79void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#ge75ba7a501dbe8083fc9569df545bfbf">itpp::it_assert_f</a> (std::string ass, std::string msg, std::string file, int line)</td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper function for the <code>it_assert</code> and <code>it_assert_debug</code> macros. <br></td></tr>
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g6433649664140b535c257b7e676d6802"></a><!-- doxytag: member="itassert.cpp::it_error_f" ref="g6433649664140b535c257b7e676d6802" args="(std::string msg, std::string file, int line)" -->
83void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#g6433649664140b535c257b7e676d6802">itpp::it_error_f</a> (std::string msg, std::string file, int line)</td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper function for the <code>it_error</code> and <code>it_error_if</code> macros. <br></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g3918817375e27902994abcd4a7dcd0b0"></a><!-- doxytag: member="itassert.cpp::it_info_f" ref="g3918817375e27902994abcd4a7dcd0b0" args="(std::string msg)" -->
87void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#g3918817375e27902994abcd4a7dcd0b0">itpp::it_info_f</a> (std::string msg)</td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper function for the <code>it_info</code> and <code>it_info_debug</code> macros. <br></td></tr>
90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gf7cd873ef7191dbdae7f34d635b2b336"></a><!-- doxytag: member="itassert.cpp::it_warning_f" ref="gf7cd873ef7191dbdae7f34d635b2b336" args="(std::string msg, std::string file, int line)" -->
91void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#gf7cd873ef7191dbdae7f34d635b2b336">itpp::it_warning_f</a> (std::string msg, std::string file, int line)</td></tr>
92
93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper function for the <code>it_warning</code> macro. <br></td></tr>
94<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ge6044970b0d1826008f4bd9126cdfbff"></a><!-- doxytag: member="itassert.cpp::it_enable_warnings" ref="ge6044970b0d1826008f4bd9126cdfbff" args="()" -->
95void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#ge6044970b0d1826008f4bd9126cdfbff">itpp::it_enable_warnings</a> ()</td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enable warnings. <br></td></tr>
98<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gb62a8f63f3fe7247b80ea6bd298c868f"></a><!-- doxytag: member="itassert.cpp::it_disable_warnings" ref="gb62a8f63f3fe7247b80ea6bd298c868f" args="()" -->
99void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#gb62a8f63f3fe7247b80ea6bd298c868f">itpp::it_disable_warnings</a> ()</td></tr>
100
101<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disable warnings. <br></td></tr>
102<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gf735d09367b95f954d99462845f9b878"></a><!-- doxytag: member="itassert.cpp::it_redirect_warnings" ref="gf735d09367b95f954d99462845f9b878" args="(std::ostream *warn_stream)" -->
103void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#gf735d09367b95f954d99462845f9b878">itpp::it_redirect_warnings</a> (std::ostream *warn_stream)</td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Redirect warnings to the ostream warn_stream. <br></td></tr>
106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g570195341cb1731c69519f556ad8de8b"></a><!-- doxytag: member="itassert.cpp::it_error_msg_style" ref="g570195341cb1731c69519f556ad8de8b" args="(error_msg_style style)" -->
107void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__errorhandlingfunc.html#g570195341cb1731c69519f556ad8de8b">itpp::it_error_msg_style</a> (error_msg_style style)</td></tr>
108
109<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set preferred style of assert, error and warning messages. <br></td></tr>
110</table>
111<hr><a name="_details"></a><h2>Detailed Description</h2>
112Error handling functions - source file.
113<p>
114<dl class="author" compact><dt><b>Author:</b></dt><dd>Tobias Ringstrom and Adam Piatyszek</dd></dl>
115-------------------------------------------------------------------------<p>
116Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)<p>
117This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.<p>
118IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>
119IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p>
120You should have received a copy of the GNU General Public License along with IT++. If not, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;.<p>
121------------------------------------------------------------------------- </div>
122<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:13 2009 for mixpp by&nbsp;
123<a href="http://www.doxygen.org/index.html">
124<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
125</body>
126</html>
Note: See TracBrowser for help on using the browser.