aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/importresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/importresult.h')
-rw-r--r--lang/cpp/src/importresult.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/cpp/src/importresult.h b/lang/cpp/src/importresult.h
index bcd956c3..59366984 100644
--- a/lang/cpp/src/importresult.h
+++ b/lang/cpp/src/importresult.h
@@ -60,6 +60,16 @@ public:
swap(this->d, other.d);
}
+ /**
+ * Merges the result @p other into this result (and all of its copies).
+ *
+ * @note The merge algorithm assumes that @p other is the result of an
+ * import that was performed after the import of this result.
+ * @note Some numbers cannot be consolidated reliably, e.g. the number of
+ * keys without user ID.
+ */
+ void mergeWith(const ImportResult &other);
+
bool isNull() const;
int numConsidered() const;