Samchon Framework for CPP  1.0.0
FTFolder.hpp
1 #pragma once
2 #include <samchon/API.hpp>
3 
4 #include <samchon/protocol/SharedEntityArray.hpp>
5 #include <samchon/library/FTInstance.hpp>
6 
7 namespace samchon
8 {
9 namespace library
10 {
11  class FTFactory;
12 
23  class SAMCHON_FRAMEWORK_API FTFolder
24  : public protocol::SharedEntityArray<FTInstance>,
25  public FTInstance
26  {
27  private:
29 
30  protected:
31  virtual auto CHILD_TAG() const->std::string override;
32 
37 
38  public:
46  virtual ~FTFolder() = default;
47 
48  virtual void construct(std::shared_ptr<library::XML> xml) override;
49 
50  protected:
51  virtual auto createChild(std::shared_ptr<library::XML>)->FTInstance* override;
52 
53  public:
54  virtual auto toXML() const->std::shared_ptr<library::XML> override;
55  };
56 };
57 };
An interface of file-tree.
Definition: FTInstance.hpp:22
FTFactory * factory
Factory instance for creating sub files.
Definition: FTFolder.hpp:36
Definition: RWMutex.hpp:4
An Entity and a container of children Entity objects.
Definition: EntityGroup.hpp:52
A Factory and manager for file-tree.
Definition: FTFactory.hpp:29
XML is a class representing xml object.
Definition: XML.hpp:72
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7