TAPs 0.7.7.3
TAPsDebug.hpp File Reference
#include <cstdarg>
#include "../Core/TAPsStdLib.hpp"
Include dependency graph for TAPsDebug.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Debug
 A static class containing debugging stuffs. More...
class  LogMessage

Defines

#define PrtNotImplementedYet(str)   std::cout << str << " -- File(" << __FILE__ << ") Line(" << __LINE__ << ") is NOT implemented yet!\n";
#define PrtError(str)   std::cout << "Error: " << str << << "!" << std::endl;
 A macro for printing error message (without file name and line number)
#define PrtErrorWithFileNameAndLineNumber(str)   std::cout << "Error: " << str << " -- File(" << __FILE__ << ") Line(" << __LINE__ << ")!" << std::endl;
 A macro for printing error message including file name and line number.
#define PrtWarning(str)   std::cout << "Warning: " << str << << "!" << std::endl;
 A macro for printing warning message (without file name and line number)
#define PrtWarningWithFileNameAndLineNumber(str)   std::cout << "Warning: " << str << " -- File(" << __FILE__ << ") Line(" << __LINE__ << ")!" << std::endl;
 A macro for printing error message including file name and line number.

Define Documentation

#define PrtError (   str)    std::cout << "Error: " << str << << "!" << std::endl;

A macro for printing error message (without file name and line number)

Definition at line 30 of file TAPsDebug.hpp.

#define PrtErrorWithFileNameAndLineNumber (   str)    std::cout << "Error: " << str << " -- File(" << __FILE__ << ") Line(" << __LINE__ << ")!" << std::endl;

A macro for printing error message including file name and line number.

Definition at line 32 of file TAPsDebug.hpp.

Referenced by AdvSimSupport_DS< T, DATA >::AddERBasedModel().

#define PrtWarning (   str)    std::cout << "Warning: " << str << << "!" << std::endl;

A macro for printing warning message (without file name and line number)

Definition at line 35 of file TAPsDebug.hpp.

#define PrtWarningWithFileNameAndLineNumber (   str)    std::cout << "Warning: " << str << " -- File(" << __FILE__ << ") Line(" << __LINE__ << ")!" << std::endl;

A macro for printing error message including file name and line number.

Definition at line 37 of file TAPsDebug.hpp.

Referenced by PointMass< T >::GetAcceleration(), PointMass< T >::GetForce(), and PointMass< T >::GetVelocity().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines