| 58 | } |
| 59 | |
| 60 | Py::Object DocumentObjectPy::getName() const |
| 61 | { |
| 62 | DocumentObject* object = this->getDocumentObjectPtr(); |
| 63 | const char* internal = object->getNameInDocument(); |
| 64 | if (!internal) { |
| 65 | return Py::None(); |
| 66 | } |
| 67 | return Py::String(internal); |
| 68 | } |
| 69 | |
| 70 | Py::String DocumentObjectPy::getFullName() const |
| 71 | { |
no test coverage detected