Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_read_validator.h>
Classes | |
class | ScopedSession |
Public Member Functions | |
void | SetDownloadHints (CPDF_DataAvail::DownloadHints *hints) |
bool | read_error () const |
bool | has_unavailable_data () const |
bool | has_read_problems () const |
void | ResetErrors () |
bool | IsWholeFileAvailable () |
bool | CheckDataRangeAndRequestIfUnavailable (FX_FILESIZE offset, size_t size) |
bool | CheckWholeFileAndRequestIfUnavailable () |
bool | ReadBlockAtOffset (pdfium::span< uint8_t > buffer, FX_FILESIZE offset) override |
FX_FILESIZE | GetSize () 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 | |
Protected Member Functions | |
CPDF_ReadValidator (RetainPtr< IFX_SeekableReadStream > file_read, CPDF_DataAvail::FileAvail *file_avail) | |
~CPDF_ReadValidator () override | |
Protected Member Functions inherited from fxcrt::Retainable | |
virtual | ~Retainable ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from IFX_SeekableReadStream | |
static RetainPtr< IFX_SeekableReadStream > | CreateFromFilename (const char *filename) |
Definition at line 14 of file cpdf_read_validator.h.
|
protected |
Definition at line 43 of file cpdf_read_validator.cpp.
References CPDF_ReadValidator().
Referenced by CPDF_ReadValidator().
|
overrideprotecteddefault |
bool CPDF_ReadValidator::CheckDataRangeAndRequestIfUnavailable | ( | FX_FILESIZE | offset, |
size_t | size ) |
Definition at line 125 of file cpdf_read_validator.cpp.
References CPDF_Stream::kFileBufSize.
bool CPDF_ReadValidator::CheckWholeFileAndRequestIfUnavailable | ( | ) |
Definition at line 155 of file cpdf_read_validator.cpp.
References IsWholeFileAvailable().
|
overridevirtual |
Implements IFX_StreamWithSize.
Definition at line 82 of file cpdf_read_validator.cpp.
|
inline |
Definition at line 38 of file cpdf_read_validator.h.
References has_unavailable_data(), and read_error().
|
inline |
Definition at line 37 of file cpdf_read_validator.h.
Referenced by has_read_problems().
bool CPDF_ReadValidator::IsWholeFileAvailable | ( | ) |
Definition at line 116 of file cpdf_read_validator.cpp.
Referenced by CheckWholeFileAndRequestIfUnavailable().
|
inline |
Definition at line 36 of file cpdf_read_validator.h.
Referenced by has_read_problems().
|
overridevirtual |
Implements IFX_SeekableReadStream.
Definition at line 57 of file cpdf_read_validator.cpp.
void CPDF_ReadValidator::ResetErrors | ( | ) |
Definition at line 52 of file cpdf_read_validator.cpp.
|
inline |
Definition at line 33 of file cpdf_read_validator.h.
CPDF_ReadValidator::CONSTRUCT_VIA_MAKE_RETAIN |
Definition at line 31 of file cpdf_read_validator.h.