##// END OF EJS Templates
Several additions for Catalogue GUI...
Several additions for Catalogue GUI Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r0:86b06c4cec3c
r55:6b6bb3a15bf8
Show More
pywrappers_common.h
18 lines | 321 B | text/x-c | CLexer
#ifndef PYWRAPPERS_COMMON_H
#define PYWRAPPERS_COMMON_H
#include <QString>
#include <string>
#include <sstream>
#include <QUuid>
#include <pybind11/pybind11.h>
template <typename T>
std::string __repr__(const T& obj)
{
std::stringstream sstr;
sstr << obj;
return sstr.str();
}
#endif //PYWRAPPERS_COMMON_H