summaryrefslogtreecommitdiff
path: root/src/pkl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-25 23:31:13 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-25 23:31:13 +0200
commitef9671811920cbef50f0f01d063eab418de8925e (patch)
tree0161463370f4a995f5e1b275b642de534b68f6d4 /src/pkl.h
parent98227f0ca88034061092cd2a179c5cade2924f50 (diff)
Tidy up write_xml() API a little.
Diffstat (limited to 'src/pkl.h')
-rw-r--r--src/pkl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pkl.h b/src/pkl.h
index 9313f0f6..315c1554 100644
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -73,6 +73,22 @@ public:
return _annotation_text;
}
+ 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;
+ }
+
boost::optional<std::string> hash (std::string id) const;
boost::optional<std::string> type (std::string id) const;