bioformats  5.1.6
Public Member Functions | List of all members
ome::common::xml::Platform Class Reference

XML Platform. More...

#include <ome/common/xml/Platform.h>

Public Member Functions

 Platform ()
 Construct a Platform. More...
 
 ~Platform ()
 Destructor. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

ome::common::xml::Platform::Platform ( )
inline

Construct a Platform.

Calls xercesc::XMLPlatformUtils::Initialize().

ome::common::xml::Platform::~Platform ( )
inline

Destructor.

Calls xercesc::XMLPlatformUtils::Terminate().


The documentation for this class was generated from the following file: