From 01e7bb0bb80f50466912800bd327ec4f0d733542 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 31 Mar 2026 15:20:19 +0200 Subject: DUPLICATE_ASSET_ID_IN_ASSETMAP: note -> asset_map_id. --- src/verify.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/verify.h') 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(Data::PKL_ID); } + VerificationNote& set_asset_map_id(std::string id) { + _data[Data::ASSET_MAP_ID] = id; + return *this; + } + + boost::optional asset_map_id() const { + return data(Data::ASSET_MAP_ID); + } + VerificationNote& set_reel_index(int index) { _data[Data::REEL_INDEX] = index; return *this; -- cgit v1.2.3