returns a string which represent the object e.g. when printed in python
| 116 | |
| 117 | // returns a string which represent the object e.g. when printed in python |
| 118 | std::string DocumentPy::representation() const |
| 119 | { |
| 120 | std::stringstream str; |
| 121 | str << "<Document '" << getDocumentPtr()->getName() << "' (" << getDocumentPtr()->Label.getValue() << ") >"; |
| 122 | |
| 123 | return str.str(); |
| 124 | } |
| 125 | |
| 126 | PyObject* DocumentPy::save(PyObject* args) |
| 127 | { |