Skip to content

v0.2.47..v0.2.48 changeset FormatsDisplayer.h

Garret Voltz edited this page Sep 27, 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 08b4ea1..3fa733c 100644
--- a/hoot-core/src/main/cpp/hoot/core/info/FormatsDisplayer.h
+++ b/hoot-core/src/main/cpp/hoot/core/info/FormatsDisplayer.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
  */
 
 #ifndef FORMATSDISPLAYER_H
@@ -46,8 +46,25 @@ public:
    *
    * @param displayInputs if true, displays input formats
    * @param displayOutputs if true, displays output formats
+   * @param displayInputsSupportingBounds if true, displays input formats that supported bounded
+   * reading
    */
-  static QString display(const bool displayInputs, const bool displayOutputs);
+  static QString display(const bool displayInputs, const bool displayOutputs,
+                         const bool displayInputsSupportingBounds);
+
+private:
+
+  template<typename IoClass>
+  static QString _getFormatsString(
+    const std::string& className, const QStringList extraFormats = QStringList());
+
+  template<typename IoClass>
+  static QStringList _getFormats(
+    const std::string& className, const QStringList extraFormats = QStringList());
+
+  static QString _getFormatsSupportingBoundsString();
+
+  static  QString _getPrintableString(const QStringList& items);
 };
 
 }
Clone this wiki locally