|
Samchon Framework for CPP
1.0.0
|
Iterator of historical data. More...
#include <NTIterator.hpp>

Public Member Functions | |
| NTIterator (const NTEntityGroup *) | |
| Construt from historical data. More... | |
| virtual auto | operator-- () const -> std::shared_ptr< NTIterator >=0 |
| Get iterator to previous element. More... | |
| virtual auto | operator++ () const -> std::shared_ptr< NTIterator >=0 |
| Get iterator to next element. More... | |
| virtual auto | operator== (const NTIterator &) const -> bool=0 |
| Whether an iterator is equal with the iterator. More... | |
| virtual auto | operator< (const NTIterator &) const -> bool=0 |
| Whether the iterator is less than an iterator. More... | |
Public Member Functions inherited from samchon::library::IOperator< NTIterator > | |
| IOperator () | |
| Default Constructor. More... | |
| virtual auto | operator< (const IOperator &) const -> bool=0 |
| Less. More... | |
| virtual auto | operator== (const IOperator &) const -> bool=0 |
| Equal. More... | |
Protected Attributes | |
| const NTEntityGroup * | data |
| A historical data, source of the iterator. More... | |
Iterator of historical data.
NTIterator is an abstract iterator of NTEntityGroup.
Definition at line 26 of file NTIterator.hpp.
| NTIterator::NTIterator | ( | const NTEntityGroup * | data | ) |
|
pure virtual |
Get iterator to previous element.
If current iterator is the first item(equal with begin()), returns end().
|
pure virtual |
Get iterator to next element.
If current iterator is the last item, returns end().
|
pure virtual |
Whether an iterator is equal with the iterator.
Compare two iterators and returns whether they are equal or not.
| obj | An iterator to compare |
|
pure virtual |
Whether the iterator is less than an iterator.
Compare two iterators and returns whether this iterator is less.
| obj | An iterator to compare |
|
protected |
A historical data, source of the iterator.
Definition at line 36 of file NTIterator.hpp.
Referenced by NTIterator().