#include <import.h>
Inheritance diagram for SaX::SaXImportSysp:

Public Member Functions | |
| void | doImport (void) |
| int | getSectionID (void) |
| QString | getSectionName (void) |
| SaXImportSysp (int) | |
The SaXImportSysp class provides an abstraction for the Sysp interface layer. The class inherits from SaXProcess which itself inherits from SaXStorage. the data is obtained from a sysp process call and is stored into the protected area of a storage object. sysp is the system profiler used with SaX2. The system profiler provides information about the hardware only. Stuff like PCI ID's, card memory, etc. is handled within Sysp. Sysp is a read only interface and according to this the class SaXImportSysp can only be used to obtain information. A SaXImportSysp object will be constructed with one parameter which defines the section to import. there are five SYSP sections available:
Example:
#include <sax/sax.h> SaXImportSysp* card = new SaXImportSysp (SYSP_CARD); card->doImport(); if (card->getItem("VID")) { printf ("%s\n",card->getItem("VID").ascii()); }
Definition at line 220 of file import.h.
| SaX::SaXImportSysp::SaXImportSysp | ( | int | ) |
Definition at line 121 of file import.cpp.
References SaX::SaXException::errorString(), and SaX::SaXException::excImportSectionFailed().
Here is the call graph for this function:

| void SaX::SaXImportSysp::doImport | ( | void | ) | [virtual] |
Implements SaX::SaXImportSyspIF.
Definition at line 161 of file import.cpp.
References SaX::SaXProcess::start().
Here is the call graph for this function:

| int SaX::SaXImportSysp::getSectionID | ( | void | ) | [virtual] |
| QString SaX::SaXImportSysp::getSectionName | ( | void | ) | [virtual] |
1.5.0