ORIGINAL
Loading...
Searching...
No Matches
singleDirectionIterator.h
Go to the documentation of this file.
1#ifndef SINGLEDIRECTIONITERATOR_H
2#define SINGLEDIRECTIONITERATOR_H
3
4#include "stepIterator.h"
5
12
13namespace original {
14
24 template<typename TYPE>
26 protected:
32
33 public:
39
46
51 singleDirectionIterator* clone() const override;
52 };
53}
54
55 template<typename TYPE>
57
58 template<typename TYPE>
63
64 template<typename TYPE>
67 if (this == &other) {
68 return *this;
69 }
71 return *this;
72 }
73
74 template<typename TYPE>
78
79#endif //SINGLEDIRECTIONITERATOR_H
singleDirectionIterator(wrapper< TYPE > *ptr)
Protected constructor for singleDirectionIterator.
Definition singleDirectionIterator.h:56
singleDirectionIterator * clone() const override
Creates a heap-allocated copy of the iterator.
Definition singleDirectionIterator.h:75
singleDirectionIterator & operator=(const singleDirectionIterator &other)
Copy assignment operator for singleDirectionIterator.
Definition singleDirectionIterator.h:65
stepIterator(wrapper< TYPE > *ptr)
Protected constructor for derived classes.
Definition stepIterator.h:184
stepIterator & operator=(const stepIterator &other)
Copy assignment operator for stepIterator.
Definition stepIterator.h:224
Base class for linked value containers with formatted output.
Definition wrapper.h:28
Main namespace for the project Original.
Definition algorithms.h:21
Step iterator base class for single-step iterators.