| 349 | } |
| 350 | |
| 351 | LogOpDataRcPtr LogOpData::inverse() const |
| 352 | { |
| 353 | LogOpDataRcPtr invOp = clone(); |
| 354 | |
| 355 | invOp->setDirection(GetInverseTransformDirection(m_direction)); |
| 356 | invOp->validate(); |
| 357 | |
| 358 | // Note that any existing metadata could become stale at this point but |
| 359 | // trying to update it is also challenging since inverse() is sometimes |
| 360 | // called even during the creation of new ops. |
| 361 | return invOp; |
| 362 | } |
| 363 | |
| 364 | bool LogOpData::isInverse(ConstLogOpDataRcPtr & log) const |
| 365 | { |
no test coverage detected