lin
2025-08-01 633231e833e21d5b8b1c00cb15aedb62b3b78e8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
 
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
#ifndef FPDFSDK_CPDFSDK_ANNOTITERATION_H_
#define FPDFSDK_CPDFSDK_ANNOTITERATION_H_
 
#include <vector>
 
#include "fpdfsdk/cpdfsdk_annot.h"
 
class CPDFSDK_PageView;
 
class CPDFSDK_AnnotIteration {
 public:
  using const_iterator =
      std::vector<CPDFSDK_Annot::ObservedPtr>::const_iterator;
 
  CPDFSDK_AnnotIteration(CPDFSDK_PageView* pPageView, bool bReverse);
  ~CPDFSDK_AnnotIteration();
 
  const_iterator begin() const { return m_List.begin(); }
  const_iterator end() const { return m_List.end(); }
 
 private:
  std::vector<CPDFSDK_Annot::ObservedPtr> m_List;
};
 
#endif  // FPDFSDK_CPDFSDK_ANNOTITERATION_H_