| 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_DICTIONARY_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_DICTIONARY_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_DICTIONARY_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_DICTIONARY_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h" | 12 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h" |
| 13 #include "core/include/fxcrt/fx_coordinates.h" | 13 #include "core/fxcrt/include/fx_coordinates.h" |
| 14 #include "core/include/fxcrt/fx_string.h" | 14 #include "core/fxcrt/include/fx_string.h" |
| 15 | 15 |
| 16 class CPDF_IndirectObjectHolder; | 16 class CPDF_IndirectObjectHolder; |
| 17 | 17 |
| 18 class CPDF_Dictionary : public CPDF_Object { | 18 class CPDF_Dictionary : public CPDF_Object { |
| 19 public: | 19 public: |
| 20 using iterator = std::map<CFX_ByteString, CPDF_Object*>::iterator; | 20 using iterator = std::map<CFX_ByteString, CPDF_Object*>::iterator; |
| 21 using const_iterator = std::map<CFX_ByteString, CPDF_Object*>::const_iterator; | 21 using const_iterator = std::map<CFX_ByteString, CPDF_Object*>::const_iterator; |
| 22 | 22 |
| 23 CPDF_Dictionary(); | 23 CPDF_Dictionary(); |
| 24 | 24 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 const_iterator begin() const { return m_Map.begin(); } | 90 const_iterator begin() const { return m_Map.begin(); } |
| 91 const_iterator end() const { return m_Map.end(); } | 91 const_iterator end() const { return m_Map.end(); } |
| 92 | 92 |
| 93 protected: | 93 protected: |
| 94 ~CPDF_Dictionary() override; | 94 ~CPDF_Dictionary() override; |
| 95 | 95 |
| 96 std::map<CFX_ByteString, CPDF_Object*> m_Map; | 96 std::map<CFX_ByteString, CPDF_Object*> m_Map; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 #endif // CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_DICTIONARY_H_ | 99 #endif // CORE_FPDFAPI_FPDF_PARSER_INCLUDE_CPDF_DICTIONARY_H_ |
| OLD | NEW |