| 53 | } |
| 54 | |
| 55 | void ConditionalStream::internalOpen(thread_db* tdbb) const |
| 56 | { |
| 57 | Request* const request = tdbb->getRequest(); |
| 58 | Impure* const impure = request->getImpure<Impure>(m_impure); |
| 59 | |
| 60 | impure->irsb_next = m_boolean->execute(tdbb, request) ? m_first : m_second; |
| 61 | |
| 62 | impure->irsb_flags = irsb_open; |
| 63 | impure->irsb_next->open(tdbb); |
| 64 | } |
| 65 | |
| 66 | void ConditionalStream::close(thread_db* tdbb) const |
| 67 | { |
nothing calls this directly
no test coverage detected