diff options
Diffstat (limited to 'tests/hawd/dataset.h')
-rw-r--r-- | tests/hawd/dataset.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/hawd/dataset.h b/tests/hawd/dataset.h index f23d67c..b91bc24 100644 --- a/tests/hawd/dataset.h +++ b/tests/hawd/dataset.h | |||
@@ -47,6 +47,7 @@ public: | |||
47 | void setValue(const QString &column, const QVariant &value); | 47 | void setValue(const QString &column, const QVariant &value); |
48 | QVariant value(const QString &column); | 48 | QVariant value(const QString &column); |
49 | void annotate(const QString ¬e); | 49 | void annotate(const QString ¬e); |
50 | void setCommitHash(const QString &hash); | ||
50 | qint64 key() const; | 51 | qint64 key() const; |
51 | QByteArray toBinary() const; | 52 | QByteArray toBinary() const; |
52 | QString toString(const QStringList &cols = QStringList(), int standardCols = All, const QString &seperator = "\t") const; | 53 | QString toString(const QStringList &cols = QStringList(), int standardCols = All, const QString &seperator = "\t") const; |
@@ -60,12 +61,11 @@ public: | |||
60 | QHash<QString, DataDefinition> m_columns; | 61 | QHash<QString, DataDefinition> m_columns; |
61 | QHash<QString, QVariant> m_data; | 62 | QHash<QString, QVariant> m_data; |
62 | QString m_annotation; | 63 | QString m_annotation; |
63 | QString m_hash; | 64 | QString m_commitHash; |
64 | const Dataset *m_dataset; | 65 | const Dataset *m_dataset; |
65 | friend class Dataset; | 66 | friend class Dataset; |
66 | }; | 67 | }; |
67 | 68 | ||
68 | Dataset(const DatasetDefinition &definition); | ||
69 | Dataset(const QString &name, const State &state); | 69 | Dataset(const QString &name, const State &state); |
70 | ~Dataset(); | 70 | ~Dataset(); |
71 | 71 | ||
@@ -83,6 +83,7 @@ public: | |||
83 | private: | 83 | private: |
84 | DatasetDefinition m_definition; | 84 | DatasetDefinition m_definition; |
85 | Storage m_storage; | 85 | Storage m_storage; |
86 | QString m_commitHash; | ||
86 | }; | 87 | }; |
87 | 88 | ||
88 | } // namespace HAWD | 89 | } // namespace HAWD |