Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
IFX_SeekableReadStream Class Referenceabstract

#include <fx_stream.h>

+ Inheritance diagram for IFX_SeekableReadStream:
+ Collaboration diagram for IFX_SeekableReadStream:

Public Member Functions

virtual bool IsEOF ()
 
virtual FX_FILESIZE GetPosition ()
 
virtual size_t ReadBlock (pdfium::span< uint8_t > buffer)
 
virtual bool ReadBlockAtOffset (pdfium::span< uint8_t > buffer, FX_FILESIZE offset)=0
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 
- Public Member Functions inherited from IFX_StreamWithSize
virtual FX_FILESIZE GetSize ()=0
 

Static Public Member Functions

static RetainPtr< IFX_SeekableReadStreamCreateFromFilename (const char *filename)
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 

Detailed Description

Definition at line 56 of file fx_stream.h.

Member Function Documentation

◆ CreateFromFilename()

RetainPtr< IFX_SeekableReadStream > IFX_SeekableReadStream::CreateFromFilename ( const char * filename)
static

Definition at line 68 of file fx_stream.cpp.

Referenced by FPDF_LoadDocument(), and TEST().

+ Here is the caller graph for this function:

◆ GetPosition()

FX_FILESIZE IFX_SeekableReadStream::GetPosition ( )
virtual

Reimplemented in CFX_MemoryStream, and CPDF_SeekableMultiStream.

Definition at line 84 of file fx_stream.cpp.

◆ IsEOF()

bool IFX_SeekableReadStream::IsEOF ( )
virtual

Reimplemented in CFX_MemoryStream, and CPDF_SeekableMultiStream.

Definition at line 80 of file fx_stream.cpp.

◆ ReadBlock()

size_t IFX_SeekableReadStream::ReadBlock ( pdfium::span< uint8_t > buffer)
nodiscardvirtual

Reimplemented in CFX_MemoryStream, and CPDF_SeekableMultiStream.

Definition at line 88 of file fx_stream.cpp.

◆ ReadBlockAtOffset()

virtual bool IFX_SeekableReadStream::ReadBlockAtOffset ( pdfium::span< uint8_t > buffer,
FX_FILESIZE offset )
nodiscardpure virtual

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