MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
XmlReader Class Reference

#include <xmlreader.h>

Inheritance diagram for XmlReader:
Inheritance graph
[legend]
Collaboration diagram for XmlReader:
Collaboration graph
[legend]

Public Member Functions

 XmlReader (QFile *)
 
 XmlReader (const QByteArray &d)
 
 XmlReader (QIODevice *d)
 
 XmlReader (const QString &d)
 
void unknown () const
 
void error (const QString &s) const
 
void error (int, int)
 
QString attribute (const char *s) const
 
QString attribute (const char *s, const QString &) const
 
int intAttribute (const char *s, int _default=0, int base=10) const
 
double doubleAttribute (const char *s) const
 
double doubleAttribute (const char *s, double _default) const
 
bool hasAttribute (const char *s) const
 
int readInt ()
 
int readInt (bool *ok)
 
double readDouble ()
 
QPointF readPoint ()
 
QSizeF readSize ()
 
QRectF readRect ()
 
void setDocName (const QString &s)
 

Private Attributes

QString docName
 

Constructor & Destructor Documentation

◆ XmlReader() [1/4]

XmlReader::XmlReader ( QFile *  d)

◆ XmlReader() [2/4]

XmlReader::XmlReader ( const QByteArray &  d)
inline

◆ XmlReader() [3/4]

XmlReader::XmlReader ( QIODevice *  d)
inline

◆ XmlReader() [4/4]

XmlReader::XmlReader ( const QString &  d)
inline

Member Function Documentation

◆ attribute() [1/2]

QString XmlReader::attribute ( const char *  s) const
inline

◆ attribute() [2/2]

QString XmlReader::attribute ( const char *  s,
const QString &  _default 
) const

◆ doubleAttribute() [1/2]

double XmlReader::doubleAttribute ( const char *  s) const

◆ doubleAttribute() [2/2]

double XmlReader::doubleAttribute ( const char *  s,
double  _default 
) const

◆ error() [1/2]

void XmlReader::error ( const QString &  s) const

◆ error() [2/2]

void XmlReader::error ( int  ,
int   
)

◆ hasAttribute()

bool XmlReader::hasAttribute ( const char *  s) const

◆ intAttribute()

int XmlReader::intAttribute ( const char *  s,
int  _default = 0,
int  base = 10 
) const

◆ readDouble()

double XmlReader::readDouble ( )
inline

◆ readInt() [1/2]

int XmlReader::readInt ( )
inline

◆ readInt() [2/2]

int XmlReader::readInt ( bool *  ok)
inline

◆ readPoint()

QPointF XmlReader::readPoint ( )

◆ readRect()

QRectF XmlReader::readRect ( )

◆ readSize()

QSizeF XmlReader::readSize ( )

◆ setDocName()

void XmlReader::setDocName ( const QString &  s)
inline

◆ unknown()

void XmlReader::unknown ( ) const

Member Data Documentation

◆ docName

QString XmlReader::docName
private

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