载入中...
搜索中...
未找到
eve::Data类 参考abstract
#include <Data.h>
类 eve::Data 继承关系图:
Public 成员函数 | |
| virtual | ~Data () |
| Destructor. | |
| virtual Data * | clone () const =0 |
| Creates a duplicate of Data derived class instance. | |
| virtual void * | getData () const =0 |
| Gets a pointer to the data. This pointer will obviously not be valid if the Data object is destroyed. | |
| virtual size_t | getSize () const =0 |
| Gets the size of the Data in bytes. | |
详细描述
构造及析构函数说明
◆ ~Data()
成员函数说明
◆ clone()
|
pure virtual |
Creates a duplicate of Data derived class instance.
在 eve::filesystem::FileData, eve::data::ByteData, eve::data::CompressedData , 以及 eve::data::DataView 内被实现.
◆ getData()
|
pure virtual |
Gets a pointer to the data. This pointer will obviously not be valid if the Data object is destroyed.
在 eve::filesystem::FileData, eve::data::ByteData, eve::data::CompressedData , 以及 eve::data::DataView 内被实现.
被这些函数引用 eve::data::DataView::getData().
◆ getSize()
|
pure virtual |
Gets the size of the Data in bytes.
在 eve::filesystem::FileData, eve::data::ByteData, eve::data::CompressedData , 以及 eve::data::DataView 内被实现.
该类的文档由以下文件生成:
- src/engine/common/Data.h