39 QFile file ( filename.c_str() );
virtual bool fileExists(const std::string &filename) const
Returns true if the specified file exists.
QtXMLController()
A default constructor for avoiding creation except by itself or with derived classes.
static QtXMLController * s_instance
The pointer to the singleton object.
An XML DOM Document handler using the Qt XML module.
A singleton class that is does XML serialization and deserialization with Qt XML module.
static XmlDocument * m_xml_doc
The current document being generated or read.
virtual void newDocument(const std::string &name)
Creates a new document.
QtXmlDocument class interface.
static QtXMLController * instance()
Returns the pointer to the singleton instance.