bioformats
5.1.2
|
#include <ome/common/xml/Platform.h>
Public Member Functions | |
Platform () | |
Construct a Platform. More... | |
~Platform () | |
Destructor. More... | |
XML Platform.
This class wraps calls to the xercesc::XMLPlatformUtils Initialize() and Terminate() functions, to allow their use in an exception-safe manner. Create an instance of this class prior to performing any work with Xerces, and ensure it will remain in scope for all work to complete. When the scope is exited, or an exception is thrown, Xerces will be automatically terminated. Any number of instances of this class may be created; Xerces will only be terminated when the last instance is destroyed.
|
inline |
Construct a Platform.
Calls xercesc::XMLPlatformUtils::Initialize().
|
inline |
Destructor.
Calls xercesc::XMLPlatformUtils::Terminate().