Skip to content

v0.2.49..v0.2.50 changeset FormatsDisplayer.h

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/info/FormatsDisplayer.h b/hoot-core/src/main/cpp/hoot/core/info/FormatsDisplayer.h
index 3fa733c..aa183df 100644
--- a/hoot-core/src/main/cpp/hoot/core/info/FormatsDisplayer.h
+++ b/hoot-core/src/main/cpp/hoot/core/info/FormatsDisplayer.h
@@ -45,24 +45,34 @@ public:
    * Displays supported IO formats
    *
    * @param displayInputs if true, displays input formats
-   * @param displayOutputs if true, displays output formats
+   * @param displayInputsSupportingStreaming if true, displays streamable input formats
    * @param displayInputsSupportingBounds if true, displays input formats that supported bounded
    * reading
+   * @param displayOutputs if true, displays output formats
+   * @param displayOutputsSupportingStreaming if true, displays streamable output formats
+   * @param displayOgrOnly TODO
+   * @return a string describing the requested formats
    */
-  static QString display(const bool displayInputs, const bool displayOutputs,
-                         const bool displayInputsSupportingBounds);
+  static QString display(const bool displayInputs, const bool displayInputsSupportingStreaming,
+                         const bool displayInputsSupportingBounds, const bool displayOutputs,
+                         const bool displayOutputsSupportingStreaming, const bool displayOgrOnly);
 
 private:
 
   template<typename IoClass>
   static QString _getFormatsString(
-    const std::string& className, const QStringList extraFormats = QStringList());
+    const std::string& className, const QStringList extraFormats = QStringList(),
+    const bool ogrOnly = false, const bool ogrReadOnly = false);
 
   template<typename IoClass>
   static QStringList _getFormats(
-    const std::string& className, const QStringList extraFormats = QStringList());
+    const std::string& className, const QStringList extraFormats = QStringList(),
+    const bool ogrOnly = false, const bool ogrReadOnly = false);
+
+  static QString _getFormatsSupportingBoundsString(const bool ogrOnly = false);
 
-  static QString _getFormatsSupportingBoundsString();
+  static QString _getInputFormatsSupportingStreamingString(const bool ogrOnly = false);
+  static QString _getOutputFormatsSupportingStreamingString(const bool ogrOnly = false);
 
   static  QString _getPrintableString(const QStringList& items);
 };
Clone this wiki locally