| 516 | } |
| 517 | |
| 518 | bool ObjectIdentifier::relabeledDocument(ExpressionVisitor& v, |
| 519 | const std::string& oldLabel, |
| 520 | const std::string& newLabel) |
| 521 | { |
| 522 | if (documentNameSet && documentName.isRealString() && documentName.getString() == oldLabel) { |
| 523 | v.aboutToChange(); |
| 524 | documentName = String(newLabel, true); |
| 525 | _cache.clear(); |
| 526 | return true; |
| 527 | } |
| 528 | return false; |
| 529 | } |
| 530 | |
| 531 | void ObjectIdentifier::getSubPathStr(std::ostream& s, |
| 532 | const ResolveResults& result, |
nothing calls this directly
no test coverage detected