Samchon Framework for CPP  1.0.0
FTFile.hpp
1 #pragma once
2 #include <samchon/API.hpp>
3 
4 #include <samchon/library/FTInstance.hpp>
5 
6 namespace samchon
7 {
8 namespace library
9 {
20  class SAMCHON_FRAMEWORK_API FTFile
21  : public FTInstance
22  {
23  private:
24  typedef FTInstance super;
25 
26  protected:
31  std::string extension;
32 
33  public:
39  FTFile(FTFolder*);
40  virtual ~FTFile() = default;
41 
42  virtual void construct(std::shared_ptr<library::XML> xml);
43 
47  auto getExtension() const->std::string;
48 
49  virtual auto toXML() const->std::shared_ptr<library::XML>;
50  };
51 };
52 };
An interface of file-tree.
Definition: FTInstance.hpp:22
Definition: RWMutex.hpp:4
std::string extension
An extension of a file.
Definition: FTFile.hpp:31
XML is a class representing xml object.
Definition: XML.hpp:72
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7