![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtCore More...
#include <qfsfileengine_p.h>
Classes | |
| struct | StartAndLength |
Public Types | |
| enum | LastIOCommand { IOFlushCommand , IOReadCommand , IOWriteCommand } |
Public Member Functions | |
| bool | nativeOpen (QIODevice::OpenMode openMode, std::optional< QFile::Permissions > permissions) |
| bool | openFh (QIODevice::OpenMode flagsflags, FILE *fh) |
| Opens the file handle fh using the open mode flags. | |
| bool | openFd (QIODevice::OpenMode flagsflags, int fdfd) |
| Opens the file descriptor fd to the file engine, using the open mode flags. | |
| bool | nativeClose () |
| bool | closeFdFh () |
| bool | nativeFlush () |
| bool | nativeSyncToDisk () |
| bool | flushFh () |
| qint64 | nativeSize () const |
| qint64 | sizeFdFh () const |
| qint64 | nativePos () const |
| qint64 | posFdFh () const |
| bool | nativeSeek (qint64) |
| bool | seekFdFh (qint64) |
| qint64 | nativeRead (char *datadata, qint64 maxlen) |
| qint64 | readFdFh (char *datadata, qint64 maxlen) |
| qint64 | nativeReadLine (char *datadata, qint64 maxlen) |
| qint64 | readLineFdFh (char *datadata, qint64 maxlen) |
| qint64 | nativeWrite (const char *datadata, qint64 lenlen) |
| qint64 | writeFdFh (const char *datadata, qint64 lenlen) |
| int | nativeHandle () const |
| bool | nativeIsSequential () const |
| bool | isSequentialFdFh () const |
| uchar * | map (qint64 offsetoffset, qint64 sizesize, QFile::MemoryMapFlags flagsflags) |
| bool | unmap (uchar *ptr) |
| void | unmapAll () |
| bool | doStat (QFileSystemMetaData::MetaDataFlags flagsflags=QFileSystemMetaData::PosixStatFlags) const |
| bool | isSymlink () const |
| Public Member Functions inherited from QAbstractFileEnginePrivate | |
| QAbstractFileEnginePrivate (QAbstractFileEngine *qq) | |
| virtual | ~QAbstractFileEnginePrivate () |
Static Public Member Functions | |
| static bool | openModeCanCreate (QIODevice::OpenMode openMode) |
Public Attributes | |
| QFileSystemEntry | fileEntry |
| QIODevice::OpenMode | openMode |
| QFileSystemMetaData | metaData |
| FILE * | fh |
| QHash< uchar *, StartAndLength > | maps |
| int | fd |
| LastIOCommand | lastIOCommand |
| bool | lastFlushFailed |
| bool | closeFileHandle |
| uint | is_sequential: 2 |
| uint | tried_stat: 1 |
| uint | need_lstat: 1 |
| uint | is_link: 1 |
| Public Attributes inherited from QAbstractFileEnginePrivate | |
| QFile::FileError | fileError |
| QString | errorString |
| QAbstractFileEngine *const | q_ptr |
Protected Member Functions | |
| QFSFileEnginePrivate (QAbstractFileEngine *qq) | |
| void | init () |
| QAbstractFileEngine::FileFlags | getPermissions (QAbstractFileEngine::FileFlags typetype) const |
\inmodule QtCore
Definition at line 119 of file qfsfileengine_p.h.
| Enumerator | |
|---|---|
| IOFlushCommand | |
| IOReadCommand | |
| IOWriteCommand | |
Definition at line 186 of file qfsfileengine_p.h.
|
protected |
Definition at line 80 of file qfsfileengine.cpp.
| bool QFSFileEnginePrivate::closeFdFh | ( | ) |
Definition at line 360 of file qfsfileengine.cpp.
| bool QFSFileEnginePrivate::doStat | ( | QFileSystemMetaData::MetaDataFlags | flags = QFileSystemMetaData::PosixStatFlags | ) | const |
Definition at line 279 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::flushFh | ( | ) |
Definition at line 430 of file qfsfileengine.cpp.
|
protected |
|
protected |
Definition at line 89 of file qfsfileengine.cpp.
| bool QFSFileEnginePrivate::isSequentialFdFh | ( | ) | const |
| bool QFSFileEnginePrivate::isSymlink | ( | ) | const |
Definition at line 297 of file qfsfileengine_unix.cpp.
Definition at line 511 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::nativeClose | ( | ) |
Definition at line 109 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::nativeFlush | ( | ) |
Definition at line 118 of file qfsfileengine_unix.cpp.
| int QFSFileEnginePrivate::nativeHandle | ( | ) | const |
Definition at line 237 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::nativeIsSequential | ( | ) | const |
Definition at line 245 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::nativeOpen | ( | QIODevice::OpenMode | openMode, |
| std::optional< QFile::Permissions > | permissions ) |
Definition at line 44 of file qfsfileengine_unix.cpp.
| qint64 QFSFileEnginePrivate::nativePos | ( | ) | const |
Definition at line 221 of file qfsfileengine_unix.cpp.
Definition at line 144 of file qfsfileengine_unix.cpp.
Definition at line 205 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::nativeSeek | ( | qint64 | pos | ) |
Definition at line 229 of file qfsfileengine_unix.cpp.
| qint64 QFSFileEnginePrivate::nativeSize | ( | ) | const |
Definition at line 261 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::nativeSyncToDisk | ( | ) |
Definition at line 127 of file qfsfileengine_unix.cpp.
Definition at line 213 of file qfsfileengine_unix.cpp.
| bool QFSFileEnginePrivate::openFd | ( | QIODevice::OpenMode | flags, |
| int | fd ) |
Opens the file descriptor fd to the file engine, using the open mode flags.
Definition at line 320 of file qfsfileengine.cpp.
| bool QFSFileEnginePrivate::openFh | ( | QIODevice::OpenMode | flags, |
| FILE * | fh ) |
Opens the file handle fh using the open mode flags.
Definition at line 260 of file qfsfileengine.cpp.
|
inlinestatic |
Definition at line 212 of file qfsfileengine_p.h.
| qint64 QFSFileEnginePrivate::posFdFh | ( | ) | const |
Definition at line 502 of file qfsfileengine.cpp.
Definition at line 605 of file qfsfileengine.cpp.
Definition at line 682 of file qfsfileengine.cpp.
| bool QFSFileEnginePrivate::seekFdFh | ( | qint64 | pos | ) |
Definition at line 540 of file qfsfileengine.cpp.
| qint64 QFSFileEnginePrivate::sizeFdFh | ( | ) | const |
Definition at line 477 of file qfsfileengine.cpp.
| bool QFSFileEnginePrivate::unmap | ( | uchar * | ptr | ) |
Definition at line 594 of file qfsfileengine_unix.cpp.
| void QFSFileEnginePrivate::unmapAll | ( | ) |
Definition at line 464 of file qfsfileengine.cpp.
Definition at line 736 of file qfsfileengine.cpp.
| bool QFSFileEnginePrivate::closeFileHandle |
Definition at line 194 of file qfsfileengine_p.h.
| int QFSFileEnginePrivate::fd |
Definition at line 184 of file qfsfileengine_p.h.
| FILE* QFSFileEnginePrivate::fh |
Definition at line 168 of file qfsfileengine_p.h.
| QFileSystemEntry QFSFileEnginePrivate::fileEntry |
Definition at line 128 of file qfsfileengine_p.h.
|
mutable |
Definition at line 199 of file qfsfileengine_p.h.
|
mutable |
Definition at line 196 of file qfsfileengine_p.h.
| bool QFSFileEnginePrivate::lastFlushFailed |
Definition at line 193 of file qfsfileengine_p.h.
| LastIOCommand QFSFileEnginePrivate::lastIOCommand |
Definition at line 192 of file qfsfileengine_p.h.
| QHash<uchar *, StartAndLength> QFSFileEnginePrivate::maps |
Definition at line 182 of file qfsfileengine_p.h.
|
mutable |
Definition at line 166 of file qfsfileengine_p.h.
|
mutable |
Definition at line 198 of file qfsfileengine_p.h.
| QIODevice::OpenMode QFSFileEnginePrivate::openMode |
Definition at line 129 of file qfsfileengine_p.h.
|
mutable |
Definition at line 197 of file qfsfileengine_p.h.