1#ifndef QX_FILESTREAMREADER_H
2#define QX_FILESTREAMREADER_H
5#include "qx/io/qx_io_export.h"
12#include "qx/io/qx-ioopreport.h"
45 void setFile(
const QString& filePath);
52 const QFile* file()
const;
70 mStatus = statusFromNative();
77 void setFilePath(
const QString& filePath);
80 bool hasError()
const;
83 bool fileIsOpen()
const;
The FileStreamReader class is a specialized wrapper for QDataStream that narrows and simplifies its u...
Definition qx-filestreamreader.h:21
FileStreamReader & operator>>(T &d)
Definition qx-filestreamreader.h:63
The IoOpReport class is a container for details regarding the outcome of an IO operation.
Definition qx-ioopreport.h:53
bool isFailure() const
Definition qx-ioopreport.cpp:390
Specifies that a type defines a right shift operator for another type.
Definition qx-concepts.h:402
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5
@ IO_ERR_NULL
Definition qx-ioopreport.h:40
@ IO_OP_READ
Definition qx-ioopreport.h:20
The qx-concepts header file provides a library of general purpose concepts as an extension of the sta...