v0.2.51..v0.2.52 changeset PbfElementIterator.h
Garret Voltz edited this page Jan 15, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/io/PbfElementIterator.h b/hoot-core/src/main/cpp/hoot/core/io/PbfElementIterator.h
index 1885277..56858ec 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/PbfElementIterator.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/PbfElementIterator.h
@@ -37,6 +37,7 @@ namespace hoot
class PbfElementIterator : public ElementIterator
{
public:
+
/**
* Constructs an element reader using the specified istream. This takes ownership of the istream.
*/
@@ -47,7 +48,11 @@ public:
*/
PbfElementIterator(QString path);
+ // not implemented
+ virtual void resetIterator() {}
+
private:
+
std::shared_ptr<std::istream> _in;
std::shared_ptr<OsmPbfReader> _reader;
std::vector<OsmPbfReader::BlobLocation> _blobs;