Dynotree
Loading...
Searching...
No Matches
dynotree_macros.h File Reference
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
Include dependency graph for dynotree_macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dynotree::pretty_runtime_exception
 

Namespaces

namespace  dynotree
 

Macros

#define THROW_PRETTY_DYNOTREE(arg)
 
#define CHECK_PRETTY_DYNOTREE(condition, arg)
 
#define CHECK_PRETTY_DYNOTREE__(condition)
 
#define MESSAGE_PRETTY_DYNOTREE(arg)
 

Macro Definition Documentation

◆ CHECK_PRETTY_DYNOTREE

#define CHECK_PRETTY_DYNOTREE ( condition,
arg )
Value:
if (!(condition)) { \
throw pretty_runtime_exception(arg, __FILE__, __LINE__, __FUNCTION__); \
}

◆ CHECK_PRETTY_DYNOTREE__

#define CHECK_PRETTY_DYNOTREE__ ( condition)
Value:
if (!(condition)) { \
throw pretty_runtime_exception(#condition, __FILE__, __LINE__, \
__FUNCTION__); \
}

◆ MESSAGE_PRETTY_DYNOTREE

#define MESSAGE_PRETTY_DYNOTREE ( arg)
Value:
std::cout << "Message in " << __FUNCTION__ << " (" << __FILE__ << ":" \
<< __LINE__ << ") --" << arg << std::endl;

◆ THROW_PRETTY_DYNOTREE

#define THROW_PRETTY_DYNOTREE ( arg)
Value:
throw pretty_runtime_exception(arg, __FILE__, __LINE__, __FUNCTION__);