WT_OpcResourceSerializer Class Reference

#include <OpcResourceSerializer.h>

List of all members.


Detailed Description

Provides a mechanism whereby resources can be stored, used by WT_XAML_* objects to store binary data into a DWFx package resource (the external resource is then referenced by the XML representation of the WT_XAML_* object.)

Definition at line 39 of file OpcResourceSerializer.h.

Public Member Functions

virtual ~WT_OpcResourceSerializer ()
virtual WT_Result getPartOutputStream (const DWFCore::DWFString &rzMimeType, DWFCore::DWFString &rzPath, DWFCore::DWFOutputStream **ppStream)=0

Protected Member Functions

 WT_OpcResourceSerializer ()


Member Function Documentation

virtual WT_Result WT_OpcResourceSerializer::getPartOutputStream const DWFCore::DWFString rzMimeType,
DWFCore::DWFString rzPath,
DWFCore::DWFOutputStream **  ppStream
[pure virtual]
 

Callback interface used to store binary data in an OPC (DWFx) package. Client code needs to call this prior to writing data, as the stream returned is an output stream ostensibly suitable for inclusion in an OPC package.

Parameters:
rzMimeType (Input param) MIME type describing the type of data contained in the stream
rzPath (Output param) The OPC internal package path to be used as the XAML reference
ppStream (Input param) The stream to which the binary data will be written
Note:
The caller assumes ownership of the stream and should destroy it when done.
Returns:
WT_Result::Success if all is well


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:10 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5