| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ |
| 9 | 9 |
| 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h" | 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h" |
| 11 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h" | 11 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h" |
| 12 #include "core/include/fxcrt/fx_basic.h" | 12 #include "core/fxcrt/include/fx_basic.h" |
| 13 #include "core/include/fxcrt/fx_coordinates.h" | 13 #include "core/fxcrt/include/fx_coordinates.h" |
| 14 | 14 |
| 15 class CPDF_Array : public CPDF_Object { | 15 class CPDF_Array : public CPDF_Object { |
| 16 public: | 16 public: |
| 17 CPDF_Array(); | 17 CPDF_Array(); |
| 18 | 18 |
| 19 // CPDF_Object. | 19 // CPDF_Object. |
| 20 Type GetType() const override; | 20 Type GetType() const override; |
| 21 CPDF_Object* Clone(FX_BOOL bDirect = FALSE) const override; | 21 CPDF_Object* Clone(FX_BOOL bDirect = FALSE) const override; |
| 22 CPDF_Array* GetArray() const override; | 22 CPDF_Array* GetArray() const override; |
| 23 bool IsArray() const override; | 23 bool IsArray() const override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 AddReference(pDoc, obj->GetObjNum()); | 56 AddReference(pDoc, obj->GetObjNum()); |
| 57 } | 57 } |
| 58 | 58 |
| 59 protected: | 59 protected: |
| 60 ~CPDF_Array() override; | 60 ~CPDF_Array() override; |
| 61 | 61 |
| 62 CFX_ArrayTemplate<CPDF_Object*> m_Objects; | 62 CFX_ArrayTemplate<CPDF_Object*> m_Objects; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ | 65 #endif // CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ |
| OLD | NEW |