#include <itpp/config.h>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
Defines | |
#define | it_assert0(t, s) (void)((t) || (itpp::it_assert_f(#t,s,__FILE__,__LINE__),0)) |
#define | it_assert1(t, s) (void)((t) || (itpp::it_assert_f(#t,s,__FILE__,__LINE__),0)) |
#define | it_assert(t, s) (void)((t) || (itpp::it_assert_f(#t,s,__FILE__,__LINE__),0)) |
Abort if t is NOT true and output s . | |
#define | it_error_if(t, s) (void)((!(t)) || (itpp::it_error_f(s,__FILE__,__LINE__),0)) |
Abort if t is true and output s . | |
#define | it_error(s) itpp::it_error_f(s,__FILE__,__LINE__) |
Abort and output s . | |
#define | it_warning(s) itpp::it_warning_f(s,__FILE__,__LINE__) |
Output the warning s . | |
Functions | |
void | itpp::it_assert_f (std::string ass, std::string msg, std::string file, int line) |
Helper function for the it_assert functions. | |
void | itpp::it_error_f (std::string msg, std::string file, int line) |
Helper function for the it_error functions. | |
void | itpp::it_warning_f (std::string msg, std::string file, int line) |
Helper function for the it_warning functions. | |
void | itpp::it_enable_exceptions (bool on) |
Enable/disable using exceptions for error handling. | |
void | itpp::it_enable_warnings () |
Enable warnings. | |
void | itpp::it_disable_warnings () |
Disable warnings. | |
void | itpp::it_redirect_warnings (std::ostream *warn_stream) |
Redirect warnings to the ostream warn_stream. |
$Date$ $Revision$
-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)
This program 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 2 of the License, or (at your option) any later version.
This program 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.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-------------------------------------------------------------------------
Definition in file itassert.h.
Generated on Thu Aug 30 02:47:20 2007 for IT++ by Doxygen 1.5.3