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_SeekableWriteStream Class Referenceabstract

#include <fx_stream.h>

+ Inheritance diagram for IFX_SeekableWriteStream:
+ Collaboration diagram for IFX_SeekableWriteStream:

Public Member Functions

bool WriteBlock (pdfium::span< const uint8_t > buffer) override
 
virtual bool Flush ()=0
 
virtual bool WriteBlockAtOffset (pdfium::span< const uint8_t > data, FX_FILESIZE offset)=0
 
- Public Member Functions inherited from IFX_StreamWithSize
virtual FX_FILESIZE GetSize ()=0
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 
- Public Member Functions inherited from IFX_WriteStream
bool WriteString (ByteStringView str)
 
bool WriteByte (uint8_t byte)
 
bool WriteDWord (uint32_t i)
 
bool WriteFilesize (FX_FILESIZE size)
 

Additional Inherited Members

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

Detailed Description

Definition at line 45 of file fx_stream.h.

Member Function Documentation

◆ Flush()

virtual bool IFX_SeekableWriteStream::Flush ( )
pure virtual

◆ WriteBlock()

bool IFX_SeekableWriteStream::WriteBlock ( pdfium::span< const uint8_t > buffer)
overridevirtual

Implements IFX_WriteStream.

Definition at line 76 of file fx_stream.cpp.

References IFX_StreamWithSize::GetSize(), and WriteBlockAtOffset().

+ Here is the call graph for this function:

◆ WriteBlockAtOffset()

virtual bool IFX_SeekableWriteStream::WriteBlockAtOffset ( pdfium::span< const uint8_t > data,
FX_FILESIZE offset )
pure virtual

Implemented in CFX_MemoryStream, and CPDF_SeekableMultiStream.

Referenced by IFX_SeekableStream::WriteBlock(), and WriteBlock().

+ Here is the caller graph for this function:

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