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

#include <cfx_fileaccess_windows.h>

Inheritance diagram for CFX_FileAccess_Windows:
Collaboration diagram for CFX_FileAccess_Windows:

Public Member Functions

 CFX_FileAccess_Windows ()
 ~CFX_FileAccess_Windows () override
bool Open (ByteStringView fileName) override
void Close () override
FX_FILESIZE GetSize () const override
FX_FILESIZE GetPosition () const override
FX_FILESIZE SetPosition (FX_FILESIZE pos) override
size_t Read (pdfium::span< uint8_t > buffer) override
size_t Write (pdfium::span< const uint8_t > buffer) override
size_t ReadPos (pdfium::span< uint8_t > buffer, FX_FILESIZE pos) override
bool Flush () override
bool Truncate (FX_FILESIZE szFile) override
Public Member Functions inherited from FileAccessIface
virtual ~FileAccessIface ()=default

Additional Inherited Members

Static Public Member Functions inherited from FileAccessIface
static std::unique_ptr< FileAccessIfaceCreate ()

Detailed Description

Definition at line 22 of file cfx_fileaccess_windows.h.

Constructor & Destructor Documentation

◆ CFX_FileAccess_Windows()

CFX_FileAccess_Windows::CFX_FileAccess_Windows ( )
default

◆ ~CFX_FileAccess_Windows()

CFX_FileAccess_Windows::~CFX_FileAccess_Windows ( )
override

Definition at line 21 of file cfx_fileaccess_windows.cpp.

References Close().

Here is the call graph for this function:

Member Function Documentation

◆ Close()

void CFX_FileAccess_Windows::Close ( )
overridevirtual

Implements FileAccessIface.

Definition at line 39 of file cfx_fileaccess_windows.cpp.

Referenced by ~CFX_FileAccess_Windows().

Here is the caller graph for this function:

◆ Flush()

bool CFX_FileAccess_Windows::Flush ( )
overridevirtual

Implements FileAccessIface.

Definition at line 121 of file cfx_fileaccess_windows.cpp.

◆ GetPosition()

FX_FILESIZE CFX_FileAccess_Windows::GetPosition ( ) const
overridevirtual

Implements FileAccessIface.

Definition at line 58 of file cfx_fileaccess_windows.cpp.

◆ GetSize()

FX_FILESIZE CFX_FileAccess_Windows::GetSize ( ) const
overridevirtual

Implements FileAccessIface.

Definition at line 47 of file cfx_fileaccess_windows.cpp.

Referenced by ReadPos().

Here is the caller graph for this function:

◆ Open()

bool CFX_FileAccess_Windows::Open ( ByteStringView fileName)
overridevirtual

Implements FileAccessIface.

Definition at line 25 of file cfx_fileaccess_windows.cpp.

References fxcrt::WideString::FromUTF8().

Here is the call graph for this function:

◆ Read()

size_t CFX_FileAccess_Windows::Read ( pdfium::span< uint8_t > buffer)
overridevirtual

Implements FileAccessIface.

Definition at line 83 of file cfx_fileaccess_windows.cpp.

◆ ReadPos()

size_t CFX_FileAccess_Windows::ReadPos ( pdfium::span< uint8_t > buffer,
FX_FILESIZE pos )
overridevirtual

Implements FileAccessIface.

Definition at line 107 of file cfx_fileaccess_windows.cpp.

References GetSize(), and SetPosition().

Here is the call graph for this function:

◆ SetPosition()

FX_FILESIZE CFX_FileAccess_Windows::SetPosition ( FX_FILESIZE pos)
overridevirtual

Implements FileAccessIface.

Definition at line 70 of file cfx_fileaccess_windows.cpp.

Referenced by ReadPos(), and Truncate().

Here is the caller graph for this function:

◆ Truncate()

bool CFX_FileAccess_Windows::Truncate ( FX_FILESIZE szFile)
overridevirtual

Implements FileAccessIface.

Definition at line 128 of file cfx_fileaccess_windows.cpp.

References SetPosition().

Here is the call graph for this function:

◆ Write()

size_t CFX_FileAccess_Windows::Write ( pdfium::span< const uint8_t > buffer)
overridevirtual

Implements FileAccessIface.

Definition at line 95 of file cfx_fileaccess_windows.cpp.


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