step/stepcore
StepCore::XmlFile Class Reference
#include <xmlfile.h>
Public Member Functions | |
XmlFile (QIODevice *device) | |
QString | errorString () const |
bool | load (World *world, const Factory *factory) |
bool | save (const World *world) |
Static Public Attributes | |
static const char * | DOCTYPE |
static const char * | NAMESPACE_URI |
static const char * | VERSION |
Protected Attributes | |
QIODevice * | _device |
QString | _errorString |
Detailed Description
Constructor & Destructor Documentation
|
inline |
Member Function Documentation
|
inline |
Load world from XML file.
- Parameters
-
world World to which file should be loaded (should be empty) factory Factory for creating new objects
- Returns
- true on success, false on failure (with error message in errorString())
bool StepCore::XmlFile::save | ( | const World * | world | ) |
Save world to XML file.
- Parameters
-
world World to save
- Returns
- true on success, false on failure (with error message in errorString())
Member Data Documentation
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.