digiKam
heif::StreamReader Class Referenceabstract
+ Inheritance diagram for heif::StreamReader:

Public Types

enum  grow_status { size_reached , timeout , size_beyond_eof }
 

Public Member Functions

virtual int64_t get_position () const =0
 
virtual bool read (void *data, size_t size)=0
 
virtual bool seek (int64_t position)=0
 
bool seek_cur (int64_t position_offset)
 
virtual grow_status wait_for_file_size (int64_t target_size)=0
 
virtual ~StreamReader ()
 

Member Enumeration Documentation

◆ grow_status

Enumerator
size_reached 
timeout 
size_beyond_eof 

Constructor & Destructor Documentation

◆ ~StreamReader()

virtual heif::StreamReader::~StreamReader ( )
inlinevirtual

Member Function Documentation

◆ get_position()

virtual int64_t heif::StreamReader::get_position ( ) const
pure virtual

◆ read()

virtual bool heif::StreamReader::read ( void *  data,
size_t  size 
)
pure virtual

◆ seek()

virtual bool heif::StreamReader::seek ( int64_t  position)
pure virtual

◆ seek_cur()

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

References get_position(), and seek().

◆ wait_for_file_size()

virtual grow_status heif::StreamReader::wait_for_file_size ( int64_t  target_size)
pure virtual

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