#include <esp_template.h>
Inheritance diagram for TEMPLATE_EssenceSubParser::ESP_EssenceSource:
Public Member Functions | |
ESP_EssenceSource (EssenceSubParserPtr TheCaller, FileHandle InFile, UInt32 UseStream, UInt64 Count=1) | |
Construct and initialise for essence parsing/sourcing. | |
virtual size_t | GetEssenceDataSize (void) |
Get the size of the essence data in bytes. | |
virtual DataChunkPtr | GetEssenceData (size_t Size=0, size_t MaxSize=0) |
Get the next "installment" of essence data. | |
Protected Attributes | |
size_t | BytesRemaining |
The number of bytes remaining in a multi-part GetEssenceData, or zero if not part read. |
ESP_EssenceSource | ( | EssenceSubParserPtr | TheCaller, | |
FileHandle | InFile, | |||
UInt32 | UseStream, | |||
UInt64 | Count = 1 | |||
) | [inline] |
Construct and initialise for essence parsing/sourcing.
Reimplemented from EssenceSubParser::ESP_EssenceSource.
virtual size_t GetEssenceDataSize | ( | void | ) | [inline, virtual] |
Get the size of the essence data in bytes.
Implements EssenceSource.
DataChunkPtr GetEssenceData | ( | size_t | Size = 0 , |
|
size_t | MaxSize = 0 | |||
) | [virtual] |
Get the next "installment" of essence data.
If Size = 0 the object will decide the size of the chunk to return
On no account will the returned chunk be larger than MaxSize (if MaxSize > 0)
Reimplemented from EssenceSubParser::ESP_EssenceSource.
size_t BytesRemaining [protected] |
The number of bytes remaining in a multi-part GetEssenceData, or zero if not part read.