8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshPluginScript/SClass/SObject.h"
10#include <QtCore/SFile>
11#include <QtCore/SXmlWriter>
14namespace rsh::ScriptBinding
83 :
public SObjectStatic
103Q_DECLARE_METATYPE(SXmlWriter::_SXmlWriterDummy);
The Sfile class provides an interface for reading from and writing to files.
Definition: SFile.h:20
This class is an abstract class, you can use these function in its derived classes.
Definition: SObject.h:35
Class to write xml files Sample on how you can write an xml file.
Definition: SXmlWriter.h:42
WriteStartElement(String qualifiedName)
Writes a start element with qualifiedName. Subsequent calls to WriteAttribute() will add attributes t...
WriteStartDocument()
Writes a document start with XML version number "1.0". This also writes the encoding information.
String toString()
Get the type of the variable.
SetFile(SFile File)
Sets the current file to device. Setting the device resets reader.
WriteEndDocument()
Closes all remaining open start elements and writes a newline.
static String toString()
Get the type of the variable.
static SXmlWriter New()
Default constructor to instantiate a XmlWriter.
WriteEndElement()
Closes the previous start element.
WriteAttribute(String qualifiedName, String value)
Writes an attribute with qualifiedName and value. This function can only be called after writeStartEl...