Skip to content

v0.2.55..v0.2.56 changeset ApiDbReader.h

Garret Voltz edited this page Aug 14, 2020 · 3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h b/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h
index f1cd18a..e385cec 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/ApiDbReader.h
@@ -55,10 +55,8 @@ public:
 
   static std::string className() { return "hoot::ApiDbReader"; }
 
-  static int logWarnCount;
-
   ApiDbReader();
-  virtual ~ApiDbReader() {}
+  virtual ~ApiDbReader() = default;
 
   virtual bool isSupported(const QString& urlStr) override;
 
@@ -119,10 +117,13 @@ public:
 
 protected:
 
+  static int logWarnCount;
+
   bool _useDataSourceIds;
   Status _status;
   bool _open;
   QString _email;
+  // the CE value used if no CE tag is found
   double _defaultCircularError;
 
   Tgs::BigMap<long, long> _nodeIdMap;
@@ -161,6 +162,9 @@ protected:
 
 private:
 
+  // keys for tags containing CE data
+  QStringList _circularErrorTagKeys;
+
   bool _firstPartialReadCompleted;
 
   //the maximum ID for each element present in the table; since the results coming back are sorted
Clone this wiki locally