1.4 C++ Utility Functions

For C++, the DirXML developer kit also provides access to the following.

Header File

Description

OutputStream.h

Defines an interface modeled on java.io.OutputStream for writing to a byte sink.

UTFConverter.h

Converts between UTF-8 and UTF-16 encoding.

XMLWriter.h

Creates an XMLWriter.

Base64Code.h

Defines an interface for encoding binary data. Attributes which contain binary data (octet syntax type) must be encoded in an XML document.

DriverFilter.h

Defines an interface for using the driver filter to filter classes and attributes.

InterfaceFactory.h

Defines an interface for constructing XML document objects in all views: DOM, SAX, and serialized.

NdsDtd.h

Contains helper functions for creating input and output documents.

Trace.h

Enables a DirXML driver to write debug messages to the DSTrace console and to the DirXML log file.

For more information, see XML Interfaces for C++.