diff options
Diffstat (limited to 'include/qpdf/QPDFTokenizer.hh')
-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; |