GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
loadable_const_forward_iterator.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace gui_framework
6{
7 namespace iterators
8 {
10 class GUI_FRAMEWORK_API loadable_const_forward_iterator : public interfaces::IBaseConstForwardIterator<std::filesystem::path, loadable_const_forward_iterator>
11 {
12 private:
13 std::vector<std::filesystem::path> data;
14 size_t currentIndex;
15
16 public:
17 loadable_const_forward_iterator(std::vector<std::filesystem::path>&& data, size_t index) noexcept;
18
19 const std::filesystem::path* operator * () const noexcept override;
20
21 const std::filesystem::path* operator -> () const noexcept override;
22
23 loadable_const_forward_iterator& operator ++ () noexcept override;
24
25 loadable_const_forward_iterator operator ++ (int) noexcept override;
26
28
30
32 };
33 }
34}
#define GUI_FRAMEWORK_API
IBaseConstForwardIterator implementation for BaseLoadableHolder.