Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPdf::ByteStream Class Reference

#include <qpdf_p.h>

+ Inheritance diagram for QPdf::ByteStream:
+ Collaboration diagram for QPdf::ByteStream:

Public Member Functions

 ByteStream (bool fileBacking=false)
 
 ByteStream (QByteArray *ba, bool fileBacking=false)
 
 ~ByteStream ()
 
ByteStreamoperator<< (char chr)
 
ByteStreamoperator<< (const char *str)
 
ByteStreamoperator<< (const QByteArray &str)
 
ByteStreamoperator<< (const ByteStream &src)
 
ByteStreamoperator<< (qreal val)
 
ByteStreamoperator<< (int val)
 
ByteStreamoperator<< (uint val)
 
ByteStreamoperator<< (qint64 val)
 
ByteStreamoperator<< (const QPointF &p)
 
QIODevicestream ()
 
void clear ()
 

Static Public Member Functions

static int maxMemorySize ()
 
static int chunkSize ()
 

Detailed Description

Definition at line 37 of file qpdf_p.h.

Constructor & Destructor Documentation

◆ ByteStream() [1/2]

QPdf::ByteStream::ByteStream ( bool fileBacking = false)
explicit

Definition at line 187 of file qpdf.cpp.

References QIODevice::open(), and QIODeviceBase::ReadWrite.

+ Here is the call graph for this function:

◆ ByteStream() [2/2]

QPdf::ByteStream::ByteStream ( QByteArray * ba,
bool fileBacking = false )
explicit

Definition at line 178 of file qpdf.cpp.

References QIODeviceBase::Append, QIODevice::open(), and QIODeviceBase::ReadWrite.

+ Here is the call graph for this function:

◆ ~ByteStream()

QPdf::ByteStream::~ByteStream ( )

Definition at line 196 of file qpdf.cpp.

Member Function Documentation

◆ chunkSize()

static int QPdf::ByteStream::chunkSize ( )
inlinestatic

Definition at line 61 of file qpdf_p.h.

Referenced by operator<<().

+ Here is the caller graph for this function:

◆ clear()

void QPdf::ByteStream::clear ( )

Definition at line 269 of file qpdf.cpp.

References QIODevice::open(), QIODeviceBase::ReadWrite, and QIODeviceBase::Truncate.

+ Here is the call graph for this function:

◆ maxMemorySize()

static int QPdf::ByteStream::maxMemorySize ( )
inlinestatic

Definition at line 60 of file qpdf_p.h.

◆ operator<<() [1/9]

ByteStream & QPdf::ByteStream::operator<< ( char chr)

Definition at line 201 of file qpdf.cpp.

References QIODevice::write().

+ Here is the call graph for this function:

◆ operator<<() [2/9]

ByteStream & QPdf::ByteStream::operator<< ( const ByteStream & src)

Definition at line 222 of file qpdf.cpp.

References chunkSize(), pos, QIODevice::pos(), Q_ASSERT, and QIODevice::write().

+ Here is the call graph for this function:

◆ operator<<() [3/9]

ByteStream & QPdf::ByteStream::operator<< ( const char * str)

Definition at line 208 of file qpdf.cpp.

References str, and QIODevice::write().

+ Here is the call graph for this function:

◆ operator<<() [4/9]

ByteStream & QPdf::ByteStream::operator<< ( const QByteArray & str)

Definition at line 215 of file qpdf.cpp.

References str, and QIODevice::write().

+ Here is the call graph for this function:

◆ operator<<() [5/9]

ByteStream & QPdf::ByteStream::operator<< ( const QPointF & p)

Definition at line 253 of file qpdf.cpp.

References qt_real_to_string().

+ Here is the call graph for this function:

◆ operator<<() [6/9]

ByteStream & QPdf::ByteStream::operator<< ( int val)

Definition at line 246 of file qpdf.cpp.

References qt_int_to_string().

+ Here is the call graph for this function:

◆ operator<<() [7/9]

ByteStream & QPdf::ByteStream::operator<< ( qint64 val)
inline

Definition at line 54 of file qpdf_p.h.

◆ operator<<() [8/9]

ByteStream & QPdf::ByteStream::operator<< ( qreal val)

Definition at line 239 of file qpdf.cpp.

References qt_real_to_string().

+ Here is the call graph for this function:

◆ operator<<() [9/9]

ByteStream & QPdf::ByteStream::operator<< ( uint val)
inline

Definition at line 53 of file qpdf_p.h.

◆ stream()

QIODevice * QPdf::ByteStream::stream ( )

Definition at line 262 of file qpdf.cpp.

References QIODevice::reset().

Referenced by QPdfEngine::begin(), and moveToHook().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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