MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / rename

Function rename

src/OpenFOAM/db/regIOobject/regIOobject.C:402–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400
401
402void 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
417Foam::fileName Foam::regIOobject::filePath() const

Callers 2

mvFunction · 0.50
mvBakFunction · 0.50

Calls 2

checkOutFunction · 0.70
checkInFunction · 0.70

Tested by

no test coverage detected