summaryrefslogtreecommitdiff
path: root/src/verify.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-31 15:20:19 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-01 23:43:00 +0200
commit01e7bb0bb80f50466912800bd327ec4f0d733542 (patch)
tree535a587059ad0117b400c37f46cfb41141751893 /src/verify.h
parentd7f52153b4e50858dcd382fb66c51afba0bf6029 (diff)
DUPLICATE_ASSET_ID_IN_ASSETMAP: note -> asset_map_id.
Diffstat (limited to 'src/verify.h')
-rw-r--r--src/verify.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/verify.h b/src/verify.h
index 07a480a7..2fb6b0ef 100644
--- a/src/verify.h
+++ b/src/verify.h
@@ -515,7 +515,7 @@ public:
*/
DUPLICATE_ASSET_ID_IN_PKL,
/** An ASSETMAP has more than one asset with the same ID
- * note contains the ASSETMAP ID
+ * asset_map_id contains the ASSETMAP ID
* file contains the ASSETMAP filename
*/
DUPLICATE_ASSET_ID_IN_ASSETMAP,
@@ -645,6 +645,7 @@ private:
enum class Data {
ANNOTATION_TEXT,
ASSET_ID,
+ ASSET_MAP_ID,
BIT_DEPTH,
CALCULATED_HASH,
CAPABILITIES,
@@ -803,6 +804,15 @@ public:
return data<std::string>(Data::PKL_ID);
}
+ VerificationNote& set_asset_map_id(std::string id) {
+ _data[Data::ASSET_MAP_ID] = id;
+ return *this;
+ }
+
+ boost::optional<std::string> asset_map_id() const {
+ return data<std::string>(Data::ASSET_MAP_ID);
+ }
+
VerificationNote& set_reel_index(int index) {
_data[Data::REEL_INDEX] = index;
return *this;