BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
UtilXML.h File Reference

Description

Defines.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file UtilXML.h.

Include dependency graph for UtilXML.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 GUI
 
 GUI::Session
 
 GUI::Session::XML
 
 GUI::Session::XML::Tags
 

Functions

void GUI::Session::XML::assertExpectedTag (QXmlStreamReader *reader, const QString &tag)
 
constexpr auto GUI::Session::XML::Tags::BinaryData ("BinaryData")
 
constexpr auto GUI::Session::XML::Tags::DisplayNameAttribute ("DisplayName")
 
constexpr auto GUI::Session::XML::Tags::ExternalPropertyColorAtt ("Color")
 
constexpr auto GUI::Session::XML::Tags::ExternalPropertyIdentifierAtt ("Identifier")
 
void GUI::Session::XML::gotoEndElementOfTag (QXmlStreamReader *reader, const QString &tag)
 
constexpr auto GUI::Session::XML::Tags::Id ("id")
 
constexpr auto GUI::Session::XML::Tags::ModelTypeAttribute ("ModelType")
 
constexpr auto GUI::Session::XML::Tags::NonSessionItemData ("NonSessionItemData")
 
constexpr auto GUI::Session::XML::Tags::ParameterExtAttribute ("ParExt")
 
constexpr auto GUI::Session::XML::Tags::ParameterNameAttribute ("ParName")
 
constexpr auto GUI::Session::XML::Tags::ParameterRoleAttribute ("ParRole")
 
constexpr auto GUI::Session::XML::Tags::ParameterTag ("Parameter")
 
constexpr auto GUI::Session::XML::Tags::ParameterTypeAttribute ("ParType")
 
constexpr auto GUI::Session::XML::Tags::ParameterValueAttribute ("ParValue")
 
void GUI::Session::XML::readAttribute (QXmlStreamReader *reader, const QString &attributeBaseName, complex_t *c)
 
void GUI::Session::XML::readAttribute (QXmlStreamReader *reader, const QString &attributeBaseName, R3 *vec)
 
void GUI::Session::XML::readAttribute (QXmlStreamReader *reader, const QString &attributeName, double *d)
 
void GUI::Session::XML::readAttribute (QXmlStreamReader *reader, const QString &attributeName, QColor *c)
 
void GUI::Session::XML::readAttribute (QXmlStreamReader *reader, const QString &attributeName, QString *s)
 
bool GUI::Session::XML::readBoolAttribute (QXmlStreamReader *reader, const QString &attributeName)
 
unsigned GUI::Session::XML::readUIntAttribute (QXmlStreamReader *reader, const QString &attributeName)
 
constexpr auto GUI::Session::XML::Tags::TagAttribute ("Tag")
 
constexpr auto GUI::Session::XML::Version ("Version")
 
void GUI::Session::XML::writeAttribute (QXmlStreamWriter *writer, const QString &attributeBaseName, const complex_t &c)
 
void GUI::Session::XML::writeAttribute (QXmlStreamWriter *writer, const QString &attributeBaseName, const R3 &vec)
 
void GUI::Session::XML::writeAttribute (QXmlStreamWriter *writer, const QString &attributeName, const QVariant &variant)
 Write the variant's value as an attribute. More...
 
void GUI::Session::XML::writeAttribute (QXmlStreamWriter *writer, const QString &attributeName, double d)
 
void GUI::Session::XML::writeAttribute (QXmlStreamWriter *writer, const QString &attributeName, int d)
 
void GUI::Session::XML::writeAttribute (QXmlStreamWriter *writer, const QString &attributeName, unsigned d)
 
void GUI::Session::XML::writeUid (QXmlStreamWriter *writer, const QString &id)
 
void GUI::Session::XML::writeUid (QXmlStreamWriter *writer, const QUuid &id)
 
void GUI::Session::XML::writeVariant (QXmlStreamWriter *writer, QVariant variant, int role)
 Write the variant as a complete tag, including the given role. More...