diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-06-05 18:33:36 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-06-18 15:02:55 +0200 |
commit | f588d74140b2a86026929aa401c9852ec215d4af (patch) | |
tree | 27ce7d3e2143420d3747e510aaa2c95d243a40b2 /include | |
parent | 3fe6a1f5e9810266c90a28b731f16f207b543ce3 (diff) | |
download | qpdf-f588d74140b2a86026929aa401c9852ec215d4af.tar.zst |
Add integer types to Pipeline::operator<<
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/Pipeline.hh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/qpdf/Pipeline.hh b/include/qpdf/Pipeline.hh index c3eb787e..0e0fb844 100644 --- a/include/qpdf/Pipeline.hh +++ b/include/qpdf/Pipeline.hh @@ -86,6 +86,24 @@ class QPDF_DLL_CLASS Pipeline Pipeline& operator<<(char const* cstr); QPDF_DLL Pipeline& operator<<(std::string const&); + // Calls QUtil::int_to_string + QPDF_DLL + Pipeline& operator<<(short); + QPDF_DLL + Pipeline& operator<<(int); + QPDF_DLL + Pipeline& operator<<(long); + QPDF_DLL + Pipeline& operator<<(long long); + // Calls QUtil::uint_to_string + QPDF_DLL + Pipeline& operator<<(unsigned short); + QPDF_DLL + Pipeline& operator<<(unsigned int); + QPDF_DLL + Pipeline& operator<<(unsigned long); + QPDF_DLL + Pipeline& operator<<(unsigned long long); // Overloaded write to reduce casting QPDF_DLL |