-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.55..v0.2.56 changeset DoubleFieldDefinition.h
Garret Voltz edited this page Aug 14, 2020
·
3 revisions
diff --git a/hoot-core/src/main/cpp/hoot/core/io/schema/DoubleFieldDefinition.h b/hoot-core/src/main/cpp/hoot/core/io/schema/DoubleFieldDefinition.h
index 655c168..6c2b60e 100644
--- a/hoot-core/src/main/cpp/hoot/core/io/schema/DoubleFieldDefinition.h
+++ b/hoot-core/src/main/cpp/hoot/core/io/schema/DoubleFieldDefinition.h
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#ifndef DOUBLEFIELDDEFINITION_H
#define DOUBLEFIELDDEFINITION_H
@@ -38,7 +38,9 @@ namespace hoot
class DoubleFieldDefinition : public FieldDefinition
{
public:
+
DoubleFieldDefinition();
+ virtual ~DoubleFieldDefinition() = default;
void addEnumeratedValue(double v) { _enumeratedValues.insert(v); }
@@ -65,6 +67,7 @@ public:
virtual void validate(const QVariant& v, StrictChecking strict) const;
private:
+
double _defaultValue;
double _min;
double _max;