eXperiment robotics framework

erf_string.hpp File Reference

#include <cxxabi.h>

Include dependency graph for erf_string.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEMANGLE_BUFFER_SIZE   256

Functions

template<typename T>
std::string stringify (const T &x)
 turn any simple type into a string.
std::string demangle_cpp_name (const char *name)
template<class T>
std::string typenameof (const T &t)
 return a string with the Type of the variable.
std::string current_exception_name (void)
template<typename T>
void print (T t)
 print anything


Define Documentation

#define DEMANGLE_BUFFER_SIZE   256

Definition at line 16 of file erf_string.hpp.

Referenced by demangle_cpp_name().


Function Documentation

std::string current_exception_name ( void   )  [inline]

Definition at line 33 of file erf_string.hpp.

References demangle_cpp_name().

std::string demangle_cpp_name ( const char *  name  )  [inline]

Definition at line 18 of file erf_string.hpp.

References DEMANGLE_BUFFER_SIZE.

Referenced by current_exception_name(), and typenameof().


The miarn project - written by Joao Xavier