|
libsax 7.2
|
SaX2 - File class. More...
#include <file.h>

Public Member Functions | |
| Q3Dict< QString > | readDict (void) |
| Q3Dict< QString > | getDataDict (void) |
| SaXFile (const QString &) | |
SaX2 - File class.
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();
| SaX::SaXFile::SaXFile | ( | const QString & | name | ) |
| Q3Dict< QString > SaX::SaXFile::getDataDict | ( | void | ) | [virtual] |
return the data dictionary without rereading the information from file
Implements SaX::SaXFileIF.
| Q3Dict< QString > SaX::SaXFile::readDict | ( | void | ) | [virtual] |
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.
1.7.3