-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.48..v0.2.49 changeset StringUtils.h
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/util/StringUtils.h b/hoot-core/src/main/cpp/hoot/core/util/StringUtils.h
index e7ec701..0f46295 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/StringUtils.h
+++ b/hoot-core/src/main/cpp/hoot/core/util/StringUtils.h
@@ -105,13 +105,20 @@ public:
static bool isNumber(const QString& input);
/**
+ * Pads the front of a number string with zeroes
*
- *
- * @param number
- * @param padSize
- * @return
+ * @param number the number to pad
+ * @param padSize the number of zeroes to add
+ * @return a padded number string
*/
static QString getNumberStringPaddedWithZeroes(const int number, const int padSize);
+
+ /**
+ * Removes all empty/blank strings from a list
+ *
+ * @param strings the strings to modify
+ */
+ static void removeEmptyStrings(QStringList& strings);
};
}