载入中...
搜索中...
未找到
eve::Data类 参考abstract

Data public API. 更多...

#include <Data.h>

类 eve::Data 继承关系图:
eve::data::ByteData eve::data::CompressedData eve::data::DataView eve::filesystem::FileData

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 public API.

在文件 Data.h 第 8 行定义.

构造及析构函数说明

◆ ~Data()

virtual eve::Data::~Data ( )
inlinevirtual

Destructor.

在文件 Data.h 第 13 行定义.

成员函数说明

◆ clone()

virtual Data * eve::Data::clone ( ) const
pure virtual

Creates a duplicate of Data derived class instance.

在 eve::filesystem::FileData, eve::data::ByteData, eve::data::CompressedData , 以及 eve::data::DataView 内被实现.

◆ getData()

virtual void * eve::Data::getData ( ) const
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()

virtual size_t eve::Data::getSize ( ) const
pure virtual

Gets the size of the Data in bytes.

在 eve::filesystem::FileData, eve::data::ByteData, eve::data::CompressedData , 以及 eve::data::DataView 内被实现.


该类的文档由以下文件生成: