[TD]Add uuid tags for cosmetics
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
|
||||
//# include <boost/uuid/uuid_io.hpp>
|
||||
# include <boost/uuid/uuid_io.hpp>
|
||||
#endif
|
||||
|
||||
#include "DrawUtil.h"
|
||||
@@ -167,6 +167,12 @@ PyObject* CenterLinePy::getFormat(PyObject *args)
|
||||
return result;
|
||||
}
|
||||
|
||||
Py::String CenterLinePy::getTag(void) const
|
||||
{
|
||||
std::string tmp = boost::uuids::to_string(getCenterLinePtr()->getTag());
|
||||
return Py::String(tmp);
|
||||
}
|
||||
|
||||
PyObject *CenterLinePy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user