Qx v0.5.7
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::XmlStreamWriterError Class Reference

The XmlStreamWriterError class provides a full error object for QXmlStreamWriterError, similar to other Qt classes. QXmlStreamWriter doesn't have an intrinsic error type, but this class can be useful for passing contextual error information when writing XML data so that intent is more clear. More...

#include <qx/xml/qx-xmlstreamwritererror.h>

Public Member Functions

 XmlStreamWriterError ()
 
 XmlStreamWriterError (QString errorText)
 
bool isValid ()
 
QString text ()
 

Detailed Description

Constructor & Destructor Documentation

◆ XmlStreamWriterError() [1/2]

Qx::XmlStreamWriterError::XmlStreamWriterError ( )

Constructs an invalid XML stream writer error.

◆ XmlStreamWriterError() [2/2]

Qx::XmlStreamWriterError::XmlStreamWriterError ( QString errorText)

Constructs a XML stream writer error from errorText.

Member Function Documentation

◆ isValid()

bool Qx::XmlStreamWriterError::isValid ( )

Returns true if the error is valid; otherwise returns false.

◆ text()

QString Qx::XmlStreamWriterError::text ( )

Returns error's text.


The documentation for this class was generated from the following files: