mexLog.C File Reference

#include "Matlab/mexLog.H"
#include <iostream>
Include dependency graph for mexLog.C:

Go to the source code of this file.

Functions

void mexInfo (const std::string &msg)
 writes an info message to mexPrintf
void mexError (const std::string &msg)
 writes an error message
void mexFatal (const std::string &msg)
 writes an error message and leaved the mex file
void mexDebug (const std::string &msg)
 writes a debug message

Detailed Description

a few helpful functions for logging in mex files

Definition in file mexLog.C.


Function Documentation

void mexDebug ( const std::string msg  ) 

writes a debug message

to get printf-style formatting, use sformat() from "Util/sformat.H"

Definition at line 63 of file mexLog.C.

void mexError ( const std::string msg  ) 

writes an error message

to get printf-style formatting, use sformat() from "Util/sformat.H"

Definition at line 51 of file mexLog.C.

Referenced by MexModelManager::parseMexCommandLine(), and MexReturn::~MexReturn().

void mexFatal ( const std::string msg  ) 

writes an error message and leaved the mex file

to get printf-style formatting, use sformat() from "Util/sformat.H"

Definition at line 57 of file mexLog.C.

Referenced by cellArr2ImageSet(), cellArr2ImageSetVec(), MexModelManager::exitMexFunction(), MexModelManager::getExtraMexArg(), ImgVec2mexArr(), mexArr2ImgVec(), mexArr2Point2DVec(), mexArray2Image(), mexArray2RGBImage(), Vector2mexArr(), and MexReturn::~MexReturn().

void mexInfo ( const std::string msg  ) 

writes an info message to mexPrintf

to get printf-style formatting, use sformat() from "Util/sformat.H"

Definition at line 45 of file mexLog.C.

Generated on Sun May 8 08:42:42 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3