• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 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 XFA_FDE_CSS_CFDE_CSSVALUELIST_H_
8 #define XFA_FDE_CSS_CFDE_CSSVALUELIST_H_
9 
10 #include <vector>
11 
12 #include "xfa/fde/css/cfde_cssvalue.h"
13 
14 class CFDE_CSSValueList : public CFDE_CSSValue {
15  public:
16   explicit CFDE_CSSValueList(std::vector<CFX_RetainPtr<CFDE_CSSValue>>& list);
17   ~CFDE_CSSValueList() override;
18 
19   int32_t CountValues() const;
20   CFX_RetainPtr<CFDE_CSSValue> GetValue(int32_t index) const;
21 
22  protected:
23   std::vector<CFX_RetainPtr<CFDE_CSSValue>> m_ppList;
24 };
25 
26 #endif  // XFA_FDE_CSS_CFDE_CSSVALUELIST_H_
27