aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Dictionary.hh
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/qpdf/QPDF_Dictionary.hh')
-rw-r--r--libqpdf/qpdf/QPDF_Dictionary.hh9
1 files changed, 4 insertions, 5 deletions
diff --git a/libqpdf/qpdf/QPDF_Dictionary.hh b/libqpdf/qpdf/QPDF_Dictionary.hh
index bf3dfb2d..da38db7a 100644
--- a/libqpdf/qpdf/QPDF_Dictionary.hh
+++ b/libqpdf/qpdf/QPDF_Dictionary.hh
@@ -19,16 +19,15 @@ class QPDF_Dictionary: public QPDFValue
virtual JSON getJSON(int json_version);
virtual void disconnect();
- // hasKey() and getKeys() treat keys with null values as if they
- // aren't there. getKey() returns null for the value of a
- // non-existent key. This is as per the PDF spec.
+ // hasKey() and getKeys() treat keys with null values as if they aren't there. getKey() returns
+ // null for the value of a non-existent key. This is as per the PDF spec.
bool hasKey(std::string const&);
QPDFObjectHandle getKey(std::string const&);
std::set<std::string> getKeys();
std::map<std::string, QPDFObjectHandle> const& getAsMap() const;
- // If value is null, remove key; otherwise, replace the value of
- // key, adding it if it does not exist.
+ // If value is null, remove key; otherwise, replace the value of key, adding it if it does not
+ // exist.
void replaceKey(std::string const& key, QPDFObjectHandle value);
// Remove key, doing nothing if key does not exist
void removeKey(std::string const& key);