#include <file.h>
Inheritance diagram for SaX::SaXFile:
Public Member Functions | |
QDict< QString > | readDict (void) |
QDict< QString > | getDataDict (void) |
SaXFile (const QString &) |
SaXFile is used to read the SYSP map files. There are several mapping tables which could be imported using a SaXFile object. Currently only the Driver.map file is used within the 3D enable/disable methods. The following example illustrates how to use SaXFile:
#include <sax/sax.h> #define MAP_FILE "..." SaXFile mapHandle ( MAP_FILE ); QDict<QString> driverMap = mapHandle.readDict();
Definition at line 78 of file file.h.
|
create a new QFile handle and open the file. If the open call will fail the program terminates with (1) |
|
return the data dictionary without rereading the information from file Implements SaX::SaXFileIF. |
|
read the contents of the file whereas the file format has to use a KEY:VALUE description. Comments starting with a "#" are allowed Implements SaX::SaXFileIF. Definition at line 55 of file file.cpp. Referenced by SaX::SaXManipulateDesktop::disable3D(), and SaX::SaXManipulateDesktop::enable3D(). |