Samchon Framework for CPP  1.0.0
NTSide.hpp
1 #pragma once
2 #include <samchon/API.hpp>
3 
4 #include <samchon/protocol/Entity.hpp>
5 
6 #include <vector>
7 
8 namespace samchon
9 {
10 namespace namtree
11 {
12  class NTFactory;
13  class NTFile;
14  class NTIterator;
15 
32  class SAMCHON_FRAMEWORK_API NTSide
33  : public virtual protocol::Entity
34  {
35  private:
36  typedef protocol::Entity super;
37 
38  protected:
39  virtual auto TAG() const->std::string override;
40 
41  NTFactory *factory;
42  NTFile *file;
43  std::vector<double> parameters;
44 
45  public:
46  NTSide(NTFactory*);
47  virtual ~NTSide() = default;
48 
49  virtual void construct(std::shared_ptr<library::XML>) override;
50 
51  virtual void initRetrieve();
52  auto calcRetrieved(NTIterator&) const -> double;
53 
54  virtual auto toXML() const->std::shared_ptr<library::XML> override;
55  };
56 };
57 };
An entity, a standard data class.
Definition: Entity.hpp:48
A factory for Nam-Tree objects.
Definition: NTFactory.hpp:52
A file archiving metadata of a function.
Definition: NTFile.hpp:50
Iterator of historical data.
Definition: NTIterator.hpp:26
XML is a class representing xml object.
Definition: XML.hpp:72
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7
A side of a conditional expresson.
Definition: NTSide.hpp:32