#include <qhttpmultipart_p.h>
Definition at line 63 of file qhttpmultipart_p.h.
◆ QHttpPartPrivate() [1/2]
QHttpPartPrivate::QHttpPartPrivate |
( |
| ) |
|
|
inline |
◆ ~QHttpPartPrivate()
QHttpPartPrivate::~QHttpPartPrivate |
( |
| ) |
|
|
inline |
◆ QHttpPartPrivate() [2/2]
Definition at line 74 of file qhttpmultipart_p.h.
QSharedData()
Constructs a QSharedData object with a reference count of 0.
◆ bytesAvailable()
qint64 QHttpPartPrivate::bytesAvailable |
( |
| ) |
const |
Definition at line 358 of file qhttpmultipart.cpp.
Referenced by setBody().
void checkHeaderCreated() const
Q_DECL_CONSTEXPR const T & qMax(const T &a, const T &b)
qint64 bytesAvailable() const
int count(char c) const
Returns the number of occurrences of character ch in the byte array.
virtual qint64 bytesAvailable() const
Returns the number of bytes that are available for reading.
◆ checkHeaderCreated()
void QHttpPartPrivate::checkHeaderCreated |
( |
| ) |
const |
|
private |
Definition at line 426 of file qhttpmultipart.cpp.
#define it(className, varName)
const_iterator constBegin() const
Returns a const STL-style iterator pointing to the first item in the list.
T & first()
Returns a reference to the first item in the list.
The QList class is a template class that provides lists.
const_iterator constEnd() const
Returns a const STL-style iterator pointing to the imaginary item after the last item in the list...
◆ operator==()
◆ readData()
qint64 QHttpPartPrivate::readData |
( |
char * |
data, |
|
|
qint64 |
maxSize |
|
) |
| |
Definition at line 371 of file qhttpmultipart.cpp.
Referenced by QHttpMultiPartIODevice::bytesToWrite(), and setBody().
385 if (bytesRead < maxSize) {
388 if (dataBytesRead == -1)
390 bytesRead += dataBytesRead;
397 memcpy(
data + bytesRead, contentData +
readPointer - headerDataCount, contentBytesRead);
398 bytesRead += contentBytesRead;
void checkHeaderCreated() const
Q_DECL_CONSTEXPR const T & qMin(const T &a, const T &b)
qint64 read(char *data, qint64 maxlen)
Reads at most maxSize bytes from the device into data, and returns the number of bytes read...
static const char * data(const QByteArray &arr)
const char * constData() const
Returns a pointer to the data stored in the byte array.
int count(char c) const
Returns the number of occurrences of character ch in the byte array.
◆ reset()
bool QHttpPartPrivate::reset |
( |
| ) |
|
◆ setBody()
void QHttpPartPrivate::setBody |
( |
const QByteArray & |
newBody | ) |
|
|
inline |
◆ setBodyDevice()
void QHttpPartPrivate::setBodyDevice |
( |
QIODevice * |
device | ) |
|
|
inline |
◆ size()
qint64 QHttpPartPrivate::size |
( |
| ) |
const |
◆ body
◆ bodyDevice
◆ header
◆ headerCreated
bool QHttpPartPrivate::headerCreated |
|
mutableprivate |
◆ readPointer
qint64 QHttpPartPrivate::readPointer |
|
private |
The documentation for this class was generated from the following files: