Ensures that Xerces-C library initialization and termination occurs once and only when needed. More...
#include <XercesInitializer.hxx>
Public Member Functions | |
~XercesInitializer () | |
Static Public Member Functions | |
static const XercesInitializer & | require () |
Ensures that Xerces-C library initialization and termination occurs once and only when needed.
At any time you need the xerces library (this is handled by the Xerces-C XML Backend , so you won't normally need to), you should call:
Calling that multiple times is safe and painless.
Only if you called the previous static method at any time in your program, the Xerces termination will be automagically performed when the program ends.
Definition at line 47 of file XercesInitializer.hxx.
CLAM::XercesInitializer::~XercesInitializer | ( | ) | [inline] |
Definition at line 55 of file XercesInitializer.hxx.
static const XercesInitializer& CLAM::XercesInitializer::require | ( | ) | [inline, static] |
Definition at line 60 of file XercesInitializer.hxx.
Referenced by CLAM::XercesDomDocumentHandler::read(), CLAM::XercesDomWriter::write(), and CLAM::XercesDomReader::XercesDomReader().