digiKam
heif::StreamReader_CApi Class Reference
+ Inheritance diagram for heif::StreamReader_CApi:

Public Types

enum  grow_status { size_reached , timeout , size_beyond_eof }
 

Public Member Functions

int64_t get_position () const override
 
bool read (void *data, size_t size) override
 
bool seek (int64_t position) override
 
bool seek_cur (int64_t position_offset)
 
 StreamReader_CApi (const heif_reader *func_table, void *userdata)
 
StreamReader::grow_status wait_for_file_size (int64_t target_size) override
 

Member Enumeration Documentation

◆ grow_status

Enumerator
size_reached 
timeout 
size_beyond_eof 

Constructor & Destructor Documentation

◆ StreamReader_CApi()

heif::StreamReader_CApi::StreamReader_CApi ( const heif_reader func_table,
void *  userdata 
)

Member Function Documentation

◆ get_position()

int64_t heif::StreamReader_CApi::get_position ( ) const
inlineoverridevirtual

◆ read()

bool heif::StreamReader_CApi::read ( void *  data,
size_t  size 
)
inlineoverridevirtual

Implements heif::StreamReader.

References heif_reader::read.

◆ seek()

bool heif::StreamReader_CApi::seek ( int64_t  position)
inlineoverridevirtual

Implements heif::StreamReader.

References heif_reader::seek.

◆ seek_cur()

bool heif::StreamReader::seek_cur ( int64_t  position_offset)
inlineinherited

◆ wait_for_file_size()

StreamReader::grow_status heif::StreamReader_CApi::wait_for_file_size ( int64_t  target_size)
overridevirtual

Implements heif::StreamReader.


The documentation for this class was generated from the following file: