SaX::SaXExport Class Reference

SaX2 - Export class. More...

#include <export.h>

Inheritance diagram for SaX::SaXExport:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool doExport (void)
 SaXExport (SaXImport *, SaXException *)

Protected Attributes

SaXImportmImport
QFile * mHandle
QString mFile

Detailed Description

SaX2 - Export class.

The SaXExport class provides an abstraction for the ISaX apidata file. Using ISaX to create or modify X11 configurations requires a special input file called apidata. The file is automatically build when all needed sections are available. Each section itself is a file corresponding to a SaXExport object. A SaXExport object requires a valid SaXImport object for initializing. After the export object has been created the programmer simply exports the data by calling doExport(). There is no need to take care about the files created implicitely. All files refering the library will be created in /var/lib/sax

 #include <sax/sax.h>

 SaXImport* import = new SaXImport (SAX_DESKTOP);
 SaXExport* export = new SaXExport (import,NULL);
 import->doImport();
 export->doExport();

Definition at line 91 of file export.h.


Constructor & Destructor Documentation

SaX::SaXExport::SaXExport ( SaXImport ,
SaXException  
)

Definition at line 27 of file export.cpp.

References SaX::SaXException::errorString(), SaX::SaXException::excExportSectionFailed(), SaX::SaXImport::getSectionID(), mFile, mHandle, and mImport.

Here is the call graph for this function:


Member Function Documentation

bool SaX::SaXExport::doExport ( void   )  [virtual]

Implements SaX::SaXExportIF.

Definition at line 73 of file export.cpp.

References SaX::SaXException::errorString(), SaX::SaXException::excFileOpenFailed(), SaX::SaXException::excLockSetFailed(), SaX::SaXException::excLockUnsetFailed(), SaX::SaXException::excNoStorage(), SaX::SaXException::excPermissionDenied(), SaX::SaXStorage::getCount(), SaX::SaXStorage::getTablePointer(), SaX::SaXException::havePrivileges(), mHandle, and mImport.

Referenced by SaX::SaXConfig::createConfiguration().

Here is the call graph for this function:


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