ReaderIterator Reader::begin() { _rdata.rbf.open(_rdata.rb_file); if (!_rdata.rbf.is_open()) { throw runtime_error("Unable to open file"); } return ReaderIterator(_rdata); }
ReaderIterator ReaderMapping::get_iter() const { assert(m_doc); assert(m_sx); assert_is_array(*m_doc, *m_sx); return ReaderIterator(m_doc, m_sx); }
ReaderIterator Reader::end() { return ReaderIterator(_rdata); }