1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FPDFAPI_PARSER_CPDF_NULL_H_ 8 #define CORE_FPDFAPI_PARSER_CPDF_NULL_H_ 9 10 #include <memory> 11 12 #include "core/fpdfapi/parser/cpdf_object.h" 13 14 class CPDF_Null : public CPDF_Object { 15 public: 16 CPDF_Null(); 17 18 // CPDF_Object. 19 Type GetType() const override; 20 std::unique_ptr<CPDF_Object> Clone() const override; 21 bool WriteTo(IFX_ArchiveStream* archive) const override; 22 bool IsNull() const override; 23 }; 24 25 #endif // CORE_FPDFAPI_PARSER_CPDF_NULL_H_ 26