SaX::SaXInit Class Reference

SaX2 - Init class. More...

#include <init.h>

Inheritance diagram for SaX::SaXInit:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool needInit (void)
void ignoreProfile (void)
void doInit (void)
 SaXInit (QList< char >)
 SaXInit (void)

Detailed Description

SaX2 - Init class.

SaXInit is used to create the SaX cache files. SaX will provide a configuration suggestion which is the basis for all actions. To be sure not to make use of an outdated cache every program using libsax should create this cache first. The following example illustrates that more detailed:

 #include <sax/sax.h>

 SaXInit init;
 if (init.needInit()) {
     printf ("initialize cache...\n");
     //init.ignoreProfile();
     init.doInit();
 }

Definition at line 82 of file init.h.


Constructor & Destructor Documentation

SaX::SaXInit::SaXInit ( QList< char >   ) 

Definition at line 27 of file init.cpp.

SaX::SaXInit::SaXInit ( void   ) 

Definition at line 45 of file init.cpp.


Member Function Documentation

bool SaX::SaXInit::needInit ( void   )  [virtual]

Implements SaX::SaXInitIF.

Definition at line 58 of file init.cpp.

References SaX::SaXException::setLock(), and SaX::SaXException::unsetLock().

Here is the call graph for this function:

void SaX::SaXInit::ignoreProfile ( void   )  [virtual]

Implements SaX::SaXInitIF.

Definition at line 79 of file init.cpp.

void SaX::SaXInit::doInit ( void   )  [virtual]

Implements SaX::SaXInitIF.

Definition at line 91 of file init.cpp.

References SaX::SaXException::errorString(), SaX::SaXException::excInvalidArgument(), SaX::SaXException::excPermissionDenied(), SaX::SaXException::excProcessFailed(), and SaX::SaXException::havePrivileges().

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