载入中...
搜索中...
未找到
eve::data::CompressedData类 参考
Stores byte data compressed via DataModule::compress. 更多...
#include <CompressedData.h>
类 eve::data::CompressedData 继承关系图:
Public 成员函数 | |
| CompressedData (std::string format, char *cdata, size_t compressedsize, size_t rawsize, bool own=true) | |
| Constructor just stores already-compressed data in the object. | |
| CompressedData (const CompressedData &c) | |
| Compressed data. | |
| virtual | ~CompressedData () |
| Compressed data. | |
| std::string | getFormat () const |
| Gets the format that was used to compress the data. | |
| size_t | getDecompressedSize () const |
| Gets the original (uncompressed) size of the compressed data. May return 0 if the uncompressed size is unknown. | |
| CompressedData * | clone () const override |
| Deep copy. @ownership Caller deletes. | |
| void * | getData () const override |
| Returns the data. | |
| size_t | getSize () const override |
| Returns the size. | |
Public 成员函数 继承自 eve::Data | |
| virtual | ~Data () |
| Destructor. | |
详细描述
Stores byte data compressed via DataModule::compress.
在文件 CompressedData.h 第 14 行定义.
构造及析构函数说明
◆ CompressedData() [1/2]
| eve::data::CompressedData::CompressedData | ( | std::string | format, |
| char * | cdata, | ||
| size_t | compressedsize, | ||
| size_t | rawsize, | ||
| bool | own = true |
||
| ) |
Constructor just stores already-compressed data in the object.
在文件 CompressedData.cpp 第 9 行定义.
◆ CompressedData() [2/2]
| eve::data::CompressedData::CompressedData | ( | const CompressedData & | c | ) |
◆ ~CompressedData()
|
virtual |
Compressed data.
在文件 CompressedData.cpp 第 35 行定义.
成员函数说明
◆ clone()
|
overridevirtual |
◆ getData()
|
overridevirtual |
◆ getDecompressedSize()
| size_t eve::data::CompressedData::getDecompressedSize | ( | ) | const |
Gets the original (uncompressed) size of the compressed data. May return 0 if the uncompressed size is unknown.
在文件 CompressedData.cpp 第 41 行定义.
◆ getFormat()
| std::string eve::data::CompressedData::getFormat | ( | ) | const |
Gets the format that was used to compress the data.
在文件 CompressedData.cpp 第 39 行定义.
◆ getSize()
|
overridevirtual |
该类的文档由以下文件生成:
- src/modules/data/CompressedData.h
- src/modules/data/CompressedData.cpp
Public 成员函数 继承自