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... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
std::string | extension |
An extension of a file. More... | |
![]() | |
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 | |
![]() | |
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.