1 #include <samchon/library/FTFolder.hpp> 2 # include <samchon/library/FTFactory.hpp> 3 # include <samchon/library/FTFile.hpp> 5 #include <samchon/library/XML.hpp> 13 auto FTFolder::CHILD_TAG() const ->
string {
return FTInstance::TAG(); }
21 void FTFolder::construct(shared_ptr<XML> xml)
24 FTInstance::construct(xml);
27 auto FTFolder::createChild(shared_ptr<XML> xml) ->
FTInstance*
30 if (xml->hasProperty(
"extension") ==
false)
virtual auto toXML() const -> std::shared_ptr< library::XML > override
Get an XML object represents the Entity.
An interface of file-tree.
FTFactory * factory
Factory instance for creating sub files.
virtual auto createFile(FTFolder *, std::shared_ptr< XML >) -> FTFile *=0
Factory method of a file.
FTFolder(FTFactory *, FTFolder *)
Construct from factory and parent folder.
void registerInstance(FTInstance *)
Register file instance to map.
An Entity and a container of children Entity objects.
virtual auto toXML() const -> std::shared_ptr< library::XML >
Get an XML object represents the EntityGroup.
A Factory and manager for file-tree.
Package of network protocol and libraries.
virtual auto toXML() const -> std::shared_ptr< library::XML >
Get an XML object represents the Entity.
XML is a class representing xml object.
virtual void construct(std::shared_ptr< library::XML > xml)
Construct data of the Entity from an XML object.
Top level namespace of products built from samchon.