diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-09-29 13:52:19 +0200 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-11-20 17:55:02 +0100 |
commit | dca70f13e77a5b20ba4f438350a67e48baa796d0 (patch) | |
tree | 2ab2ada7758e1bfbbb3f6b085df3473e96739f84 /include | |
parent | e9980efec87a7a678a1a00cfaf8fc60263c54d24 (diff) | |
download | qpdf-dca70f13e77a5b20ba4f438350a67e48baa796d0.tar.zst |
Add method QPDFTokenizer::Token::isInteger
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFTokenizer.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDFTokenizer.hh b/include/qpdf/QPDFTokenizer.hh index 4727dac4..3f5e5206 100644 --- a/include/qpdf/QPDFTokenizer.hh +++ b/include/qpdf/QPDFTokenizer.hh @@ -107,6 +107,11 @@ class QPDFTokenizer (this->type != tt_bad) && (this->type == rhs.type) && (this->value == rhs.value)); } + bool + isInteger() const + { + return this->type == tt_integer; + } private: token_type_e type; |