|
Samchon Framework for CPP
1.0.0
|
A text file. More...
#include <FTTextFile.hpp>

Public Member Functions | |
| FTTextFile (FTFolder *) | |
| Construct from parent folder. More... | |
| auto | getData () const -> std::string |
| Get string content. More... | |
Public Member Functions inherited from samchon::library::FTFile | |
| FTFile (FTFolder *) | |
| Construct from parent folder. More... | |
| auto | getExtension () const -> std::string |
| Get extension. More... | |
| virtual auto | toXML () const -> std::shared_ptr< library::XML > |
| Get an XML object represents the Entity. More... | |
Public Member Functions inherited from samchon::library::FTInstance | |
| FTInstance (FTFolder *) | |
| Construct from parent folder. More... | |
| virtual auto | key () const -> std::string |
| Get a key that can identify the Entity uniquely. More... | |
| auto | getUID () const -> int |
| Get uid. More... | |
| auto | getParent () const -> FTFolder * |
| Get parent folder. More... | |
| auto | getName () const -> std::string |
| Get name. More... | |
| auto | getComment () const -> std::string |
| Get comment. More... | |
Public Member Functions inherited from samchon::protocol::Entity | |
| Entity () | |
| Default Constructor. More... | |
| virtual void | construct (std::shared_ptr< library::XML >)=0 |
| Construct data of the Entity from an XML object. More... | |
Protected Attributes | |
| std::string | data |
| Text recorded in the file. More... | |
Protected Attributes inherited from samchon::library::FTFile | |
| std::string | extension |
| An extension of a file. More... | |
Protected Attributes inherited from samchon::library::FTInstance | |
| FTFolder * | parent |
| Parent folder containing the instance. More... | |
| int | uid |
| Key, an unique id of file. More... | |
| std::string | name |
| Name of the file. More... | |
| std::string | comment |
| Comment of the file. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from samchon::library::FTInstance | |
| virtual auto | TAG () const -> std::string |
| A tag name when represented by XML. More... | |
A text file.
A file having data as text.
Definition at line 20 of file FTTextFile.hpp.
| samchon::library::FTTextFile::FTTextFile | ( | FTFolder * | ) |
Construct from parent folder.
| folder | Belonged folder |
| auto samchon::library::FTTextFile::getData | ( | ) | const -> std::string |
Get string content.
|
protected |
Text recorded in the file.
Definition at line 30 of file FTTextFile.hpp.