| 400 | |
| 401 | |
| 402 | void Foam::regIOobject::rename(const word& newName) |
| 403 | { |
| 404 | // Check out of objectRegistry |
| 405 | checkOut(); |
| 406 | |
| 407 | IOobject::rename(newName); |
| 408 | |
| 409 | if (registerObject()) |
| 410 | { |
| 411 | // Re-register object with objectRegistry |
| 412 | checkIn(); |
| 413 | } |
| 414 | } |
| 415 | |
| 416 | |
| 417 | Foam::fileName Foam::regIOobject::filePath() const |