#include <import.h>
Public Member Functions | |
| void | doImport (void) |
| SaXImportCDB (int) | |
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 329 of file import.h.
| 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.
| 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().
1.5.3