Download src/Mod/Measure/App/MeasureBasePyImp.cpp from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 922 Bytes
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Measure/App/MeasureBasePyImp.cpp
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/Measure/App/MeasureBasePyImp.cpp
-
curl -L -o MeasureBasePyImp.cpp https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Measure/App/MeasureBasePyImp.cpp
922 Bytes
| // SPDX-License-Identifier: LGPL-2.1-or-later | |
| // Inclusion of the generated files (generated out of MeasureBasePy.xml) | |
| // returns a string which represents the object e.g. when printed in python | |
| std::string MeasureBasePy::representation() const | |
| { | |
| return "<Measure::MeasureBase>"; | |
| } | |
| PyObject* MeasureBasePy::PyMake(struct _typeobject*, PyObject*, PyObject*) // Python wrapper | |
| { | |
| // create a new instance of MeasureBasePy and the Twin object | |
| return new MeasureBasePy(new MeasureBase); | |
| } | |
| // constructor method | |
| int MeasureBasePy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/) | |
| { | |
| return 0; | |
| } | |
| PyObject* MeasureBasePy::getCustomAttributes(const char* /*attr*/) const | |
| { | |
| return nullptr; | |
| } | |
| int MeasureBasePy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/) | |
| { | |
| return 0; | |
| } | |