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
CPDFSDK_CustomAccess Class Referencefinal

#include <cpdfsdk_customaccess.h>

+ Inheritance diagram for CPDFSDK_CustomAccess:
+ Collaboration diagram for CPDFSDK_CustomAccess:

Public Member Functions

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

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 

Private Member Functions

 ~CPDFSDK_CustomAccess () override
 

Additional Inherited Members

- Static Public Member Functions inherited from IFX_SeekableReadStream
static RetainPtr< IFX_SeekableReadStreamCreateFromFilename (const char *filename)
 
- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 

Detailed Description

Definition at line 14 of file cpdfsdk_customaccess.h.

Member Function Documentation

◆ ~CPDFSDK_CustomAccess()

CPDFSDK_CustomAccess::~CPDFSDK_CustomAccess ( )
overrideprivatedefault

◆ GetSize()

FX_FILESIZE CPDFSDK_CustomAccess::GetSize ( )
overridevirtual

Implements IFX_StreamWithSize.

Definition at line 17 of file cpdfsdk_customaccess.cpp.

Referenced by ReadBlockAtOffset().

+ Here is the caller graph for this function:

◆ ReadBlockAtOffset()

bool CPDFSDK_CustomAccess::ReadBlockAtOffset ( pdfium::span< uint8_t > buffer,
FX_FILESIZE offset )
overridevirtual

Implements IFX_SeekableReadStream.

Definition at line 21 of file cpdfsdk_customaccess.cpp.

References GetSize().

+ Here is the call graph for this function:

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CPDFSDK_CustomAccess::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 16 of file cpdfsdk_customaccess.h.


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