| 201 | |
| 202 | |
| 203 | bool Foam::regIOobject::checkOut() |
| 204 | { |
| 205 | if (registered_) |
| 206 | { |
| 207 | registered_ = false; |
| 208 | |
| 209 | forAllReverse(watchIndices_, i) |
| 210 | { |
| 211 | fileHandler().removeWatch(watchIndices_[i]); |
| 212 | } |
| 213 | watchIndices_.clear(); |
| 214 | return db().checkOut(*this); |
| 215 | } |
| 216 | |
| 217 | return false; |
| 218 | } |
| 219 | |
| 220 | |
| 221 | Foam::label Foam::regIOobject::addWatch(const fileName& f) |
no test coverage detected