| 338 | } |
| 339 | |
| 340 | std::string DocumentObject::getFullLabel() const |
| 341 | { |
| 342 | if (!getDocument()) { |
| 343 | return "?"; |
| 344 | } |
| 345 | |
| 346 | auto name = getDocument()->Label.getStrValue(); |
| 347 | name += "#"; |
| 348 | name += Label.getStrValue(); |
| 349 | return name; |
| 350 | } |
| 351 | |
| 352 | const char* DocumentObject::getDagKey() const |
| 353 | { |
no test coverage detected