QNonContiguousByteDeviceFactory Class

Header: #include <QNonContiguousByteDeviceFactory>

Static Public Members

std::shared_ptr<QNonContiguousByteDevice> createShared(QIODevice *device)
std::shared_ptr<QNonContiguousByteDevice> createShared(QByteArray *byteArray)
std::shared_ptr<QNonContiguousByteDevice> createShared(std::shared_ptr<QRingBuffer> ringBuffer)

Detailed Description

\inmoduleQtCore \since 4.6

Creates a QNonContiguousByteDevice out of a QIODevice, QByteArray etc.

\internal

See also QNonContiguousByteDevice.

Member Function Documentation

[static] std::shared_ptr<QNonContiguousByteDevice> QNonContiguousByteDeviceFactory::createShared(QIODevice *device)

Create a QNonContiguousByteDevice out of a QIODevice, return it in a std::shared_ptr. For QFile, QBuffer and all other QIODevice, sequential or not.

\internal

[static] std::shared_ptr<QNonContiguousByteDevice> QNonContiguousByteDeviceFactory::createShared(QByteArray *byteArray)

Create a QNonContiguousByteDevice out of a QByteArray.

\internal

[static] std::shared_ptr<QNonContiguousByteDevice> QNonContiguousByteDeviceFactory::createShared(std::shared_ptr<QRingBuffer> ringBuffer)

Create a QNonContiguousByteDevice out of a QRingBuffer, return it in a std::shared_ptr.

\internal