Skip to content

v0.2.48..v0.2.49 changeset ApiEntityDisplayInfo.h

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/info/ApiEntityDisplayInfo.h b/hoot-core/src/main/cpp/hoot/core/info/ApiEntityDisplayInfo.h
index 0c1793a..26d57a8 100644
--- a/hoot-core/src/main/cpp/hoot/core/info/ApiEntityDisplayInfo.h
+++ b/hoot-core/src/main/cpp/hoot/core/info/ApiEntityDisplayInfo.h
@@ -39,6 +39,10 @@ namespace hoot
  *
  * This class can probably be simplified (too much if/else logic).  See notes in InfoCmd about how
  * registration of associated classes could be made simpler for this.
+ *
+ * TODO: I think we can simplify some of the calls to factory code to instantiate elements to
+ * create them by class name instead of type. Should get the big if/else statement in getDisplayInfo
+ * down to something more reasonable.
  */
 class ApiEntityDisplayInfo
 {
Clone this wiki locally