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_FPDFDOC_CPDF_NUMBERTREE_H_ 8 #define CORE_FPDFDOC_CPDF_NUMBERTREE_H_ 9 10 class CPDF_Dictionary; 11 class CPDF_Object; 12 13 class CPDF_NumberTree { 14 public: CPDF_NumberTree(CPDF_Dictionary * pRoot)15 explicit CPDF_NumberTree(CPDF_Dictionary* pRoot) : m_pRoot(pRoot) {} 16 17 CPDF_Object* LookupValue(int num) const; 18 19 protected: 20 CPDF_Dictionary* const m_pRoot; 21 }; 22 23 #endif // CORE_FPDFDOC_CPDF_NUMBERTREE_H_ 24