1#ifndef QX_FILESTREAMWRITER_H
2#define QX_FILESTREAMWRITER_H
5#include "qx/io/qx_io_export.h"
44 void setFile(
const QString& filePath);
50 const QFile* file()
const;
67 mStatus = statusFromNative();
74 void setFilePath(
const QString& filePath);
77 bool hasError()
const;
80 bool fileIsOpen()
const;
The FileStreamWriter class is a specialized wrapper for QDataStream that narrows and simplifies its u...
Definition qx-filestreamwriter.h:18
FileStreamWriter & operator<<(T d)
Definition qx-filestreamwriter.h:60
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 left shift operator for another type.
Definition qx-concepts.h:390
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5
@ NoWriteOptions
Definition qx-common-io.h:30
WriteMode
Definition qx-common-io.h:27
@ Append
Definition qx-common-io.h:27
@ IO_ERR_NULL
Definition qx-ioopreport.h:40
@ IO_OP_WRITE
Definition qx-ioopreport.h:20
The qx-common-io header file provides various types, variables, and functions related to file IO.