Precompiler macros.
More...
#include "Streams.h"
#include <cstring>
#include <sstream>
Go to the source code of this file.
|
| #define | TBTKAssert(expression, function, message, hint) |
| |
| #define | TBTKExit(function, message, hint) |
| |
| #define | TBTKNotYetImplemented(function) |
| |
Precompiler macros.
- Author
- Kristofer Björnson
| #define TBTKAssert |
( |
|
expression, |
|
|
|
function, |
|
|
|
message, |
|
|
|
hint |
|
) |
| |
Value: std::stringstream hintStream; \
hintStream << hint; \
if(std::strcmp(hintStream.str().c_str(),
"") != 0)
\ if(Util::Streams::logIsOpen()) \
Util::Streams::closeLog(); \
exit(1); \
}
static std::ostream err
Definition: Streams.h:43
| #define TBTKExit |
( |
|
function, |
|
|
|
message, |
|
|
|
hint |
|
) |
| |
Value: std::stringstream hintStream; \
hintStream << hint; \
if(std::strcmp(hintStream.str().c_str(),
"") != 0)
\ if(Util::Streams::logIsOpen()) \
Util::Streams::closeLog(); \
exit(1);
static std::ostream err
Definition: Streams.h:43
| #define TBTKNotYetImplemented |
( |
|
function | ) |
|
Value: if(Util::Streams::logIsOpen()) \
Util::Streams::closeLog(); \
exit(1);
static std::ostream err
Definition: Streams.h:43