added IDs to parameters for serialization

This commit is contained in:
itsmattkc
2019-08-13 17:22:32 +10:00
parent e9702aeb52
commit 02ea535c8a
13 changed files with 59 additions and 17 deletions
+11 -1
View File
@@ -72,7 +72,12 @@ public:
/**
* @brief NodeParam Constructor
*/
NodeParam();
NodeParam(const QString& id);
/**
* @brief Return ID of this parameter
*/
const QString id();
/**
* @brief The type of node paramter this is
@@ -220,6 +225,11 @@ private:
*/
QString name_;
/**
* @brief Internal ID string
*/
QString id_;
};
#endif // NODEPARAM_H