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
3
#include "
Interfaces/Iterators/IBaseConstForwardIterator.h
"
4
5
namespace
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
27
bool
operator == (
const
interfaces::IBaseConstForwardIterator<std::filesystem::path, loadable_const_forward_iterator>
&
loadable_const_forward_iterator
)
const
noexcept
override
;
28
29
bool
operator != (
const
interfaces::IBaseConstForwardIterator<std::filesystem::path, loadable_const_forward_iterator>
&
loadable_const_forward_iterator
)
const
noexcept
override
;
30
31
~loadable_const_forward_iterator
() =
default
;
32
};
33
}
34
}
GUI_FRAMEWORK_API
#define GUI_FRAMEWORK_API
Definition
GUIFrameworkConstants.h:103
IBaseConstForwardIterator.h
gui_framework::interfaces::IBaseConstForwardIterator
Base interface for const forward iterators.
Definition
IBaseConstForwardIterator.h:14
gui_framework::iterators::loadable_const_forward_iterator
IBaseConstForwardIterator implementation for BaseLoadableHolder.
Definition
loadable_const_forward_iterator.h:11
gui_framework::iterators::loadable_const_forward_iterator::~loadable_const_forward_iterator
~loadable_const_forward_iterator()=default
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Holders
LoadableHolders
Iterators
loadable_const_forward_iterator.h
Generated by
1.12.0