![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <fileaccess_iface.h>
Public Member Functions | |
virtual | ~FileAccessIface ()=default |
virtual bool | Open (ByteStringView fileName)=0 |
virtual void | Close ()=0 |
virtual FX_FILESIZE | GetSize () const =0 |
virtual FX_FILESIZE | GetPosition () const =0 |
virtual FX_FILESIZE | SetPosition (FX_FILESIZE pos)=0 |
virtual size_t | Read (pdfium::span< uint8_t > buffer)=0 |
virtual size_t | Write (pdfium::span< const uint8_t > buffer)=0 |
virtual size_t | ReadPos (pdfium::span< uint8_t > buffer, FX_FILESIZE pos)=0 |
virtual bool | Flush ()=0 |
virtual bool | Truncate (FX_FILESIZE szFile)=0 |
Static Public Member Functions | |
static std::unique_ptr< FileAccessIface > | Create () |
Definition at line 15 of file fileaccess_iface.h.
|
virtualdefault |
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
static |
Definition at line 27 of file cfx_fileaccess_posix.cpp.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.
|
pure virtual |
Implemented in CFX_FileAccess_Posix, and CFX_FileAccess_Windows.