Samchon Framework for CPP  1.0.0
NTIterator.hpp
1 #pragma once
2 #include <samchon/API.hpp>
3 
4 #include <samchon/library/IOperator.hpp>
5 
6 #include <memory>
7 
8 namespace samchon
9 {
10 namespace namtree
11 {
12  class NTEntityGroup;
13 
26  class SAMCHON_FRAMEWORK_API NTIterator
27  : public library::IOperator<NTIterator>
28  {
29  private:
31 
32  protected:
37 
38  public:
42  NTIterator(const NTEntityGroup*);
43  virtual ~NTIterator() = default;
44 
51  virtual auto operator--() const->std::shared_ptr<NTIterator> = 0;
52 
59  virtual auto operator++() const->std::shared_ptr<NTIterator> = 0;
60 
68  virtual auto operator==(const NTIterator&) const -> bool = 0;
69 
77  virtual auto operator<(const NTIterator&) const -> bool = 0;
78  };
79 };
80 };
const NTEntityGroup * data
A historical data, source of the iterator.
Definition: NTIterator.hpp:36
Interface for comparision operator.
Definition: IOperator.hpp:123
Definition: RWMutex.hpp:4
Iterator of historical data.
Definition: NTIterator.hpp:26
A historical, studying data.
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7