Samchon Framework for CPP
1.0.0
|
A binary file. More...
#include <FTByteFile.hpp>
Public Member Functions | |
FTByteFile (FTFolder *) | |
Construct from parent folder. More... | |
auto | getData () -> ByteArray |
Get binaray data of the file. 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 | |
ByteArray | data |
Binary data of 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 binary file.
A file having data as binary.
Definition at line 22 of file FTByteFile.hpp.
samchon::library::FTByteFile::FTByteFile | ( | FTFolder * | ) |
Construct from parent folder.
folder | Belonged folder |
auto samchon::library::FTByteFile::getData | ( | ) | -> ByteArray |
Get binaray data of the file.
|
protected |
Binary data of the file.
Definition at line 32 of file FTByteFile.hpp.