diff options
author | Artem Strygin <art-snake@yandex-team.ru> | 2017-08-14 23:35:52 +0300 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-14 22:30:41 +0000 |
commit | f57cad4f5dd0436d5b207d362afb34fc5f3f9acb (patch) | |
tree | 6beef6ce505b2baf0d976e545a5ac8a625e5ff95 /core/fpdfapi/parser/cpdf_object.h | |
parent | 93c886b7ce59f6e65fe885330558c52f51cfcab9 (diff) | |
download | pdfium-f57cad4f5dd0436d5b207d362afb34fc5f3f9acb.tar.xz |
Add CPDF_ObjectWalker.
It is allow us to walk on all non-null sub-objects
in an object in depth, include itself,
Change-Id: Ia23051073984411668112422b47cf7a4460aa078
Reviewed-on: https://pdfium-review.googlesource.com/8910
Commit-Queue: Art Snake <art-snake@yandex-team.ru>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_object.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_object.h b/core/fpdfapi/parser/cpdf_object.h index b0c1adf955..04b77ec706 100644 --- a/core/fpdfapi/parser/cpdf_object.h +++ b/core/fpdfapi/parser/cpdf_object.h @@ -71,6 +71,7 @@ class CPDF_Object { virtual bool IsReference() const; virtual bool IsStream() const; virtual bool IsString() const; + virtual bool IsNull() const; virtual CPDF_Array* AsArray(); virtual const CPDF_Array* AsArray() const; |