SaX::SaXImportCDB Class Reference

SaX2 - Import CDB class. More...

#include <import.h>

Inheritance diagram for SaX::SaXImportCDB:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void doImport (void)
 SaXImportCDB (int)

Detailed Description

SaX2 - Import CDB class.

The SaXImportCDB class provides an abstraction for the CDB interface layer. The class inherits from SaXProcess which itself inherits from SaXStorage. the data is obtained from files which are created as export from a database and stored as part of the SaX2 engine. The CDB (Component Data-Base) provides high level information about hardware. the SaX2 CDB interface is a read only interface and according to this the class SaXImportCDB can only be used to obtain high level information about a various field of X11 related hardware. A SaXImportCDB object will be constructed with one parameter which defines the file ID to become imported. there are six CDB file ID's available:

Example:

 #include <sax/sax.h>

 SaXImportCDB* cards = new SaXImportCDB (CDB_CARDS);
 cards->doImport();

 QDict< QDict<QString> > data = cards->getTablePointerCDB ();
 QDictIterator< QDict<QString> > n (data);
 for (; n.current(); ++n) {
     printf ("%s\n",n.currentKey().ascii());
 }

Definition at line 323 of file import.h.


Constructor & Destructor Documentation

SaX::SaXImportCDB::SaXImportCDB int  fileID  ) 
 

An object of this type is used to create a CDB based SaX import. Refering to the given file ID the correct CDB file is selected.

Definition at line 192 of file import.cpp.


Member Function Documentation

void SaX::SaXImportCDB::doImport void   )  [virtual]
 

call SaXProcess::start() to obtain the data from the corresponding CDB file

Implements SaX::SaXImportCDBIF.

Definition at line 204 of file import.cpp.

References SaX::SaXProcess::start().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jan 7 17:35:14 2008 for libsax by  doxygen 1.4.6