#include <process.h>
Inheritance diagram for SaX::SaXProcess:
Public Member Functions | |
void | start (QList< char >, int=SAX_ISAX) |
void | start (int) |
SaXProcess (void) |
The SaXProcess class provides an interface to call external programs including output parsing. Concerning libsax only the output formats of CDB files isax and sysp calls are handled. The internal structure is based on SaXStorage objects. All access and modifaction members are provided by the SaXStorage class.
#include <sax/sax.h> QList<char> sysp_options; sysp_options.append ( "-q" ); sysp_options.append ( "server" ); SaXProcess* proc = new SaXProcess (); proc->start ( sysp_options , SAX_SYSP ); if (proc->getItem("VID")) { printf ("%s\n",proc->getItem("VID").ascii()); }
Definition at line 128 of file process.h.
|
An object of this type is used to read information from one of the interfaces ISAX CDB SYSP or PROFILE. Depending what information should be retrieved a new process is forked calling isax sysp or createPRO. The CDB information is based on simple file reading Definition at line 27 of file process.cpp. |
|
This start method will check if the given fileID points to a valid file and call the appropriate evaluation method to the store the data Implements SaX::SaXProcessIF. Definition at line 95 of file process.cpp. |
|
This start method will check if (prog) is a valid program and call it by adding the options set in args. After the call the appropriate evaluation method is called to store the data Implements SaX::SaXProcessIF. Definition at line 41 of file process.cpp. References SaX::SaXProcessCall::addArgument(). Referenced by SaX::SaXImportProfile::doImport(), SaX::SaXImportCDB::doImport(), SaX::SaXImportSysp::doImport(), and SaX::SaXImport::doImport(). Here is the call graph for this function: ![]() |