Commit 3b5dafb3 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

libpsdxx [WP][FIX]: rename stfinv namespace to psd

parent ec7b343f
/*! \file debug.h
* \brief suport debugging in libstfinv (prototypes)
* \brief suport debugging in libpsdxx (prototypes)
*
* ----------------------------------------------------------------------------
*
* \author Thomas Forbriger
* \date 05/05/2011
*
* suport debugging in libstfinv (prototypes)
* support debugging in libpsdxx (prototypes)
*
* Copyright (c) 2011 by Thomas Forbriger (BFO Schiltach)
*
......
......@@ -107,8 +107,7 @@ FILE_PATTERNS = doxygen*.txt \
*.h \
*.cc
RECURSIVE = YES
EXCLUDE = .svn \
test_libstfinv
EXCLUDE = .svn
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXCLUDE_SYMBOLS =
......
/*! \file error.cc
* \brief handle error conditions in libstfinv (implementation)
* \brief handle error conditions in libpsdxx (implementation)
*
* ----------------------------------------------------------------------------
*
* \author Thomas Forbriger
* \date 05/05/2011
*
* handle error conditions in libstfinv (implementation)
* handle error conditions in libpsdxx (implementation)
*
* Copyright (c) 2011 by Thomas Forbriger (BFO Schiltach)
*
......@@ -41,7 +41,7 @@
using std::cerr;
using std::endl;
namespace stfinv {
namespace psd {
//! initialize and instantiate
bool Exception::Mreport_on_construct=true;
......@@ -132,6 +132,6 @@ namespace stfinv {
std::cerr << "* message: " << message << std::endl;
}
} // namespace stfinv
} // namespace psd
/* ----- END OF error.cc ----- */
/*! \file error.h
* \brief handle error conditions in libstfinv (prototypes)
* \brief handle error conditions in libpsdxx (prototypes)
*
* ----------------------------------------------------------------------------
*
* \author Thomas Forbriger
* \date 05/05/2011
*
* handle error conditions in libstfinv (prototypes)
* handle error conditions in libpsdxx (prototypes)
*
* Copyright (c) 2011 by Thomas Forbriger (BFO Schiltach)
*
......@@ -41,7 +41,7 @@
#include <iostream>
namespace stfinv {
namespace psd {
/*! \brief Base class for exceptions
*
......@@ -114,7 +114,7 @@ namespace stfinv {
const int& line,
const char* condition);
} // namespace stfinv
} // namespace psd
/*======================================================================*/
//
......@@ -137,7 +137,7 @@ namespace stfinv {
* \param C assert condition
* \param M message of type char*
*/
#define PSDXX_assert(C,M) PSDXX_Xassert( C , M , stfinv::Exception )
#define PSDXX_assert(C,M) PSDXX_Xassert( C , M , psd::Exception )
/*! \brief Abort and give a message.
*
......@@ -145,7 +145,7 @@ namespace stfinv {
* \param M message of type char*
*/
#define PSDXX_abort(M) \
throw( stfinv::Exception ( M , __FILE__, __LINE__ ))
throw( psd::Exception ( M , __FILE__, __LINE__ ))
/*! \brief Abort if function is called illegally.
*
......@@ -163,7 +163,7 @@ namespace stfinv {
*/
#define PSDXX_report_assert(C,M,V) \
if (!(C)) { \
stfinv::report_violation(M, __FILE__, __LINE__, #C); \
psd::report_violation(M, __FILE__, __LINE__, #C); \
std::cerr << "* comment: " << V << std::endl; \
std::cerr << std::endl; \
std::cerr.flush(); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment