SaX::SaXImportProfile Class Reference

SaX2 - Import Profile class. More...

#include <import.h>

Inheritance diagram for SaX::SaXImportProfile:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void setDevice (int)
void doImport (void)
SaXImportgetImport (int=SAX_CARD)
 SaXImportProfile (const QString &)

Detailed Description

SaX2 - Import Profile class.

The SaXImportProfile class provides an abstraction for the ISaX interface layer concerning the profiles to become applied. The class inherits from SaXProcess which itself inherits from SaXStorage. the data is obtained from a /usr/share/sax/libsax/createPRO.pl script call which is able to read the given profile file and import the data into the automatic configuration suggestion. After this it will export the changes made by the profile and this data is stored into the protected area of a storage object. Because of the fact a profile can change data in any section the SaXImportProfile class will split the data into the appropriate sections and made it accessable using the getImport() method. A SaXImportProfile object will be constructed with one parameter which defines the profile filename to import.

Definition at line 370 of file import.h.


Constructor & Destructor Documentation

SaX::SaXImportProfile::SaXImportProfile ( const QString &   ) 

Definition at line 215 of file import.cpp.

References SaX::SaXException::errorString(), and SaX::SaXException::excProfileNotFound().

Here is the call graph for this function:


Member Function Documentation

void SaX::SaXImportProfile::setDevice ( int   )  [virtual]

Implements SaX::SaXImportProfileIF.

Definition at line 312 of file import.cpp.

void SaX::SaXImportProfile::doImport ( void   )  [virtual]

Implements SaX::SaXImportProfileIF.

Definition at line 240 of file import.cpp.

References SaX::SaXProcess::start().

Here is the call graph for this function:

SaXImport * SaX::SaXImportProfile::getImport ( int  = SAX_CARD  )  [virtual]

Implements SaX::SaXImportProfileIF.

Definition at line 327 of file import.cpp.

References SaX::SaXException::errorString(), and SaX::SaXException::excProfileUndefined().

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:34 2006 for libsax by  doxygen 1.5.0