FreeCAD
1#include "PreCompiled.h"
2
3#include "MeasureBase.h"
4
5// Inclusion of the generated files (generated out of MeasureBasePy.xml)
6#include "MeasureBasePy.h"
7#include "MeasureBasePy.cpp"
8
9
10#include <Base/GeometryPyCXX.h>
11
12
13// returns a string which represents the object e.g. when printed in python
14std::string MeasureBasePy::representation() const
15{
16return "<Measure::MeasureBase>";
17}
18
19PyObject* MeasureBasePy::PyMake(struct _typeobject*, PyObject*, PyObject*) // Python wrapper
20{
21// create a new instance of MeasureBasePy and the Twin object
22return new MeasureBasePy(new MeasureBase);
23}
24
25
26// constructor method
27int MeasureBasePy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
28{
29return 0;
30}
31
32PyObject* MeasureBasePy::getCustomAttributes(const char* /*attr*/) const
33{
34return nullptr;
35}
36
37int MeasureBasePy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
38{
39return 0;
40}
41