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

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_istream (std::unique_ptr< std::istream > &&istr)
 
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_istream()

heif::StreamReader_istream::StreamReader_istream ( std::unique_ptr< std::istream > &&  istr)

Member Function Documentation

◆ get_position()

int64_t heif::StreamReader_istream::get_position ( ) const
overridevirtual

Implements heif::StreamReader.

◆ read()

bool heif::StreamReader_istream::read ( void *  data,
size_t  size 
)
overridevirtual

Implements heif::StreamReader.

◆ seek()

bool heif::StreamReader_istream::seek ( int64_t  position)
overridevirtual

Implements heif::StreamReader.

◆ seek_cur()

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

◆ wait_for_file_size()

grow_status heif::StreamReader_istream::wait_for_file_size ( int64_t  target_size)
overridevirtual

Implements heif::StreamReader.


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