OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_INCLUDE_FXCRT_FX_XML_H_ | 7 #ifndef CORE_FXCRT_INCLUDE_FX_XML_H_ |
8 #define CORE_INCLUDE_FXCRT_FX_XML_H_ | 8 #define CORE_FXCRT_INCLUDE_FX_XML_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "core/include/fxcrt/fx_basic.h" | 13 #include "core/fxcrt/include/fx_basic.h" |
14 | 14 |
15 class CXML_AttrItem { | 15 class CXML_AttrItem { |
16 public: | 16 public: |
17 bool Matches(const CFX_ByteStringC& space, const CFX_ByteStringC& name) const; | 17 bool Matches(const CFX_ByteStringC& space, const CFX_ByteStringC& name) const; |
18 | 18 |
19 CFX_ByteString m_QSpaceName; | 19 CFX_ByteString m_QSpaceName; |
20 CFX_ByteString m_AttrName; | 20 CFX_ByteString m_AttrName; |
21 CFX_WideString m_Value; | 21 CFX_WideString m_Value; |
22 }; | 22 }; |
23 | 23 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 CXML_Element* m_pParent; | 159 CXML_Element* m_pParent; |
160 CFX_ByteString m_QSpaceName; | 160 CFX_ByteString m_QSpaceName; |
161 CFX_ByteString m_TagName; | 161 CFX_ByteString m_TagName; |
162 CXML_AttrMap m_AttrMap; | 162 CXML_AttrMap m_AttrMap; |
163 std::vector<ChildRecord> m_Children; | 163 std::vector<ChildRecord> m_Children; |
164 | 164 |
165 friend class CXML_Parser; | 165 friend class CXML_Parser; |
166 friend class CXML_Composer; | 166 friend class CXML_Composer; |
167 }; | 167 }; |
168 | 168 |
169 #endif // CORE_INCLUDE_FXCRT_FX_XML_H_ | 169 #endif // CORE_FXCRT_INCLUDE_FX_XML_H_ |
OLD | NEW |