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_CPDF_ARRAY_H_ |
8 #define CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_ARRAY_H_ |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h" | 13 #include "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.h" |
14 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h" | 14 #include "core/fpdfapi/fpdf_parser/cpdf_object.h" |
15 #include "core/fxcrt/include/fx_basic.h" | 15 #include "core/fxcrt/include/fx_basic.h" |
16 #include "core/fxcrt/include/fx_coordinates.h" | 16 #include "core/fxcrt/include/fx_coordinates.h" |
17 | 17 |
18 class CPDF_Array : public CPDF_Object { | 18 class CPDF_Array : public CPDF_Object { |
19 public: | 19 public: |
20 using iterator = std::vector<CPDF_Object*>::iterator; | 20 using iterator = std::vector<CPDF_Object*>::iterator; |
21 using const_iterator = std::vector<CPDF_Object*>::const_iterator; | 21 using const_iterator = std::vector<CPDF_Object*>::const_iterator; |
22 | 22 |
23 CPDF_Array(); | 23 CPDF_Array(); |
24 | 24 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 protected: | 62 protected: |
63 ~CPDF_Array() override; | 63 ~CPDF_Array() override; |
64 | 64 |
65 CPDF_Object* CloneNonCyclic( | 65 CPDF_Object* CloneNonCyclic( |
66 bool bDirect, | 66 bool bDirect, |
67 std::set<const CPDF_Object*>* pVisited) const override; | 67 std::set<const CPDF_Object*>* pVisited) const override; |
68 | 68 |
69 std::vector<CPDF_Object*> m_Objects; | 69 std::vector<CPDF_Object*> m_Objects; |
70 }; | 70 }; |
71 | 71 |
72 #endif // CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_ARRAY_H_ | 72 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_ARRAY_H_ |
OLD | NEW |