From ef9671811920cbef50f0f01d063eab418de8925e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 25 Apr 2022 23:31:13 +0200 Subject: Tidy up write_xml() API a little. --- src/asset_map.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/asset_map.h') diff --git a/src/asset_map.h b/src/asset_map.h index d135380f..cf91a95b 100644 --- a/src/asset_map.h +++ b/src/asset_map.h @@ -69,6 +69,22 @@ public: return _standard; } + void set_annotation_text(std::string annotation_text) { + _annotation_text = annotation_text; + } + + void set_issue_date(std::string issue_date) { + _issue_date = issue_date; + } + + void set_issuer(std::string issuer) { + _issuer = issuer; + } + + void set_creator(std::string creator) { + _creator = creator; + } + void clear_assets(); void add_asset(std::string id, boost::filesystem::path path, bool pkl); -- cgit v1.2.3