// Copyright 2017 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CORE_FPDFAPI_PARSER_CPDF_OBJECT_WALKER_H_ #define CORE_FPDFAPI_PARSER_CPDF_OBJECT_WALKER_H_ #include <memory> #include <stack> #include "core/fxcrt/bytestring.h" #include "core/fxcrt/retain_ptr.h" class CPDF_Object; // Walk on all non-null sub-objects in an object in depth, include itself, // like in flat list. class CPDF_ObjectWalker { … }; class CPDF_NonConstObjectWalker final : public CPDF_ObjectWalker { … }; #endif // CORE_FPDFAPI_PARSER_CPDF_OBJECT_WALKER_H_