SaX::SaXFile Class Reference

SaX2 - File class. More...

#include <file.h>

Inheritance diagram for SaX::SaXFile:

Inheritance graph
[legend]
List of all members.

Public Member Functions

QDict< QString > readDict (void)
QDict< QString > getDataDict (void)
 SaXFile (const QString &)

Detailed Description

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();

Definition at line 78 of file file.h.


Constructor & Destructor Documentation

SaX::SaXFile::SaXFile const QString &  name  ) 
 

create a new QFile handle and open the file. If the open call will fail the program terminates with (1)

Definition at line 27 of file file.cpp.


Member Function Documentation

QDict< QString > SaX::SaXFile::getDataDict void   )  [virtual]
 

return the data dictionary without rereading the information from file

Implements SaX::SaXFileIF.

Definition at line 92 of file file.cpp.

QDict< 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.

Definition at line 55 of file file.cpp.

Referenced by SaX::SaXManipulateDesktop::disable3D(), and SaX::SaXManipulateDesktop::enable3D().


The documentation for this class was generated from the following files:
Generated on Mon Jun 19 12:43:03 2006 for libsax by  doxygen 1.4.6