#include <streambuf>#include <iostream>#include <mex.h>


Go to the source code of this file.
Data Structures | |
| class | MexBuf |
| This streambuf is used to re-direct cout and cerr. More... | |
| class | MexBufInit |
| This class triggers the redirection of the standard streams at construction. More... | |
Defines | |
| #define | ASSERT(exp) |
Functions | |
| void | mexInfo (const char *fmt,...) |
| writes an info message to mexPrintf | |
| void | mexError (const char *fmt,...) |
| writes an error message | |
| void | mexFatal (const char *fmt,...) |
| writes an error message and leaved the mex file | |
| void | mexDebug (const char *fmt,...) |
| writes a debug message | |
| static MexBufInit | mexbufInit__ (mexbuf__) |
Variables | |
| static MexBuf | mexbuf__ |
Definition in file mexLog.h.
| #define ASSERT | ( | exp | ) |
Value:
if (!(exp)) mexFatal("ASSERT failed in %s at line %d: " \ #exp,__FILE__,__LINE__);
Definition at line 17 of file mexLog.h.
Referenced by Image::clamp(), Image::clampBottom(), Image::clampTop(), conv2PreserveEnergy(), Image::getHeight(), MexParams::getInput(), Image::getLocalMaxima(), MexParams::getOutput(), Image::getSize(), Image::getVal(), Image::getWidth(), lowPass6xDecX(), lowPass6yDecY(), MexParams::MexParams(), Image::operator*=(), MexParams::setOutput(), and Image::setVal().
| static MexBufInit @9::mexbufInit__ | ( | mexbuf__ | ) | [static] |
| void mexDebug | ( | const char * | fmt, | |
| ... | ||||
| ) |
| void mexError | ( | const char * | fmt, | |
| ... | ||||
| ) |
writes an error message
Definition at line 28 of file mexLog.cpp.
References BUFMAXSIZE.
Referenced by MexParams::~MexParams().
| void mexFatal | ( | const char * | fmt, | |
| ... | ||||
| ) |
writes an error message and leaved the mex file
Definition at line 39 of file mexLog.cpp.
References BUFMAXSIZE.
Referenced by MexParams::~MexParams().
| void mexInfo | ( | const char * | fmt, | |
| ... | ||||
| ) |
writes an info message to mexPrintf
Definition at line 17 of file mexLog.cpp.
References BUFMAXSIZE.
1.5.6