SaX::SaXProcess Class Reference

SaX2 - SaX process execution class. More...

#include <process.h>

Inheritance diagram for SaX::SaXProcess:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void start (QList< char >, int=SAX_ISAX)
void start (int)
 SaXProcess (void)

Detailed Description

SaX2 - SaX process execution class.

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.


Constructor & Destructor Documentation

SaX::SaXProcess::SaXProcess ( void   ) 

Definition at line 27 of file process.cpp.


Member Function Documentation

void SaX::SaXProcess::start ( QList< char >  ,
int  = SAX_ISAX 
) [virtual]

Implements SaX::SaXProcessIF.

Definition at line 41 of file process.cpp.

References SaX::SaXProcessCall::addArgument(), SaX::SaXException::errorString(), and SaX::SaXException::excProcessFailed().

Referenced by SaX::SaXImportProfile::doImport(), SaX::SaXImportCDB::doImport(), SaX::SaXImportSysp::doImport(), and SaX::SaXImport::doImport().

Here is the call graph for this function:

void SaX::SaXProcess::start ( int   )  [virtual]

Implements SaX::SaXProcessIF.

Definition at line 95 of file process.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 19:09:45 2006 for libsax by  doxygen 1.5.0