MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / Iterator

Class Iterator

FastCopyShellExtension/ShellItemArray.h:11–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9public:
10
11 class Iterator
12 {
13 IShellItemArray* m_ptr{};
14 size_t m_index{};
15 public:
16 Iterator() = default;
17 Iterator(IShellItemArray* ptr, size_t index = 0) : m_ptr{ ptr }, m_index{ index } {}
18
19 ShellItem operator*();
20 Iterator& operator++();
21 bool operator==(Iterator const& rhs) const;
22
23 friend class ShellItemArray;
24 };
25 ShellItemArray(IShellItemArray* ptr) : m_ptr{ ptr } {}
26
27 /*iterators*/

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected