##// END OF EJS Templates
Some refactoring on PB11 wrappers...
Some refactoring on PB11 wrappers Most sciqlop core wrappers are moved into a dedicated python module. We needs to get rid off sqpapp! All current sciqlop modules should either be stateless or act as real singletons they must not need any app to be used. This will ease testing, wrapping and usage. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1341:f18e017310bc
r1341:f18e017310bc
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