Writes tournament infos to a file. More...
#include <xmlWriter.h>
Public Member Functions | |
XmlWriter () | |
XmlWriter (QString filename) | |
bool | write (Tournament *tournament) |
Private Attributes | |
QString | filename |
Writes tournament infos to a file.
Writes all information of a tournament object into a xml file.
Definition at line 24 of file xmlWriter.h.
XmlWriter::XmlWriter | ( | ) |
Definition at line 3 of file xmlWriter.cpp.
XmlWriter::XmlWriter | ( | QString | filename | ) |
Creates a XmlWriter. "filename" is the name of the file, where the data is written.
Definition at line 8 of file xmlWriter.cpp.
bool XmlWriter::write | ( | Tournament * | tournament | ) |
Writes the information of a tournament in the file with name "filename".
Definition at line 13 of file xmlWriter.cpp.
QString XmlWriter::filename [private] |
Definition at line 42 of file xmlWriter.h.