| 69 | } |
| 70 | |
| 71 | Py::String BaseClassPy::getModule() const |
| 72 | { |
| 73 | std::string module(getBaseClassPtr()->getTypeId().getName()); |
| 74 | std::string::size_type pos = module.find_first_of("::"); |
| 75 | |
| 76 | if (pos != std::string::npos) { |
| 77 | module = std::string(module, 0, pos); |
| 78 | } |
| 79 | else { |
| 80 | module.clear(); |
| 81 | } |
| 82 | |
| 83 | return {module}; |
| 84 | } |
| 85 | |
| 86 | PyObject* BaseClassPy::getCustomAttributes(const char* /*attr*/) const |
| 87 | { |