DWFToolkit::DWFPackageVersionTypeInfoExtension Class Reference
[DWF Package API]

Collaboration diagram for DWFToolkit::DWFPackageVersionTypeInfoExtension:

Collaboration graph
[legend]
List of all members.

Detailed Description

This is the DWF 6.01 File Format plug-in for the DWFPackageWriter.

Since:
7.0.1
DWF 6.01 introduced the TYPEINFO file into the DWF File Format.

TYPEINFO

This file must appear immediately after the 12 byte DWF header. This file must always be named as uuid.TYPEINFO where uuid matches a section interface ID (see DWFInterface.) Actually, the section interface uuid just happened to be convenient to use for the document type (that is, the document type information, hence, type info -> TYPEINFO.) To reinforce that concept, the class defines document type strings to use at construction time; though they exactly match the section interface uuids as mentioned above.
For example, 75E513A9-6C41-4C91-BAA6-81E593FAAC10.TYPEINFO indicates that this package contains a single EModel section only. There may be custom section types but there will be no EPlot sections. All of the first 3D DWF files were of this type and had this particular file.

Definition at line 60 of file 6.01/PackageVersionExtension.h.

Public Member Functions

_DWFTK_API DWFPackageVersionTypeInfoExtension (const DWFString &zDocumentType) throw ()
virtual _DWFTK_API ~DWFPackageVersionTypeInfoExtension () throw ()
_DWFTK_API unsigned short major () throw ()
_DWFTK_API unsigned short minor () throw ()
virtual _DWFTK_API bool addSection (DWFSection *pSection, DWFInterface *pInterface) throw ( DWFException )
virtual _DWFTK_API bool addGlobalSection (DWFGlobalSection *pSection) throw ( DWFException )
virtual _DWFTK_API bool write (const DWFString &zSourceProductVendor, const DWFString &zSourceProductName, const DWFString &zSourceProductVersion, const DWFString &zDWFProductVendor, const DWFString &zDWFProductVersion, DWFZipFileDescriptor::teFileMode eCompressionMode) throw ( DWFException )
virtual _DWFTK_API void prewriteManifest (DWF6PackageWriter &rPackageWriter, DWFPackageFileDescriptor &rPackageDescriptor, DWFXMLSerializer &rXMLSerializer, const DWFString &rPackagePassword) throw ( DWFException )
virtual _DWFTK_API void postwriteManifest (DWF6PackageWriter &rPackageWriter, DWFPackageFileDescriptor &rPackageDescriptor, DWFXMLSerializer &rXMLSerializer, const DWFString &rPackagePassword) throw ( DWFException )
virtual _DWFTK_API void postwriteSections (DWF6PackageWriter &rPackageWriter, DWFPackageFileDescriptor &rPackageDescriptor, DWFXMLSerializer &rXMLSerializer, const DWFString &rPackagePassword) throw ( DWFException )

Static Public Attributes

static const wchar_t *const kzDocumentType_EPlot
static const wchar_t *const kzDocumentType_EModel


Constructor & Destructor Documentation

_DWFTK_API DWFToolkit::DWFPackageVersionTypeInfoExtension::DWFPackageVersionTypeInfoExtension const DWFString zDocumentType  )  throw ()
 

Constructor

Parameters:
zDocumentType Used to name the TYPEINFO file.
Exceptions:
None 

virtual _DWFTK_API DWFToolkit::DWFPackageVersionTypeInfoExtension::~DWFPackageVersionTypeInfoExtension  )  throw () [virtual]
 

Destructor

Exceptions:
None 


Member Function Documentation

virtual _DWFTK_API bool DWFToolkit::DWFPackageVersionTypeInfoExtension::addGlobalSection DWFGlobalSection pSection  )  throw ( DWFException ) [virtual]
 

virtual _DWFTK_API bool DWFToolkit::DWFPackageVersionTypeInfoExtension::addSection DWFSection pSection,
DWFInterface pInterface
throw ( DWFException ) [virtual]
 

_DWFTK_API unsigned short DWFToolkit::DWFPackageVersionTypeInfoExtension::major  )  throw () [inline]
 

Definition at line 101 of file 6.01/PackageVersionExtension.h.

_DWFTK_API unsigned short DWFToolkit::DWFPackageVersionTypeInfoExtension::minor  )  throw () [inline]
 

Definition at line 111 of file 6.01/PackageVersionExtension.h.

virtual _DWFTK_API void DWFToolkit::DWFPackageVersionTypeInfoExtension::postwriteManifest DWF6PackageWriter rPackageWriter,
DWFPackageFileDescriptor rPackageDescriptor,
DWFXMLSerializer rXMLSerializer,
const DWFString rPackagePassword
throw ( DWFException ) [virtual]
 

virtual _DWFTK_API void DWFToolkit::DWFPackageVersionTypeInfoExtension::postwriteSections DWF6PackageWriter rPackageWriter,
DWFPackageFileDescriptor rPackageDescriptor,
DWFXMLSerializer rXMLSerializer,
const DWFString rPackagePassword
throw ( DWFException ) [virtual]
 

virtual _DWFTK_API void DWFToolkit::DWFPackageVersionTypeInfoExtension::prewriteManifest DWF6PackageWriter rPackageWriter,
DWFPackageFileDescriptor rPackageDescriptor,
DWFXMLSerializer rXMLSerializer,
const DWFString rPackagePassword
throw ( DWFException ) [virtual]
 

virtual _DWFTK_API bool DWFToolkit::DWFPackageVersionTypeInfoExtension::write const DWFString zSourceProductVendor,
const DWFString zSourceProductName,
const DWFString zSourceProductVersion,
const DWFString zDWFProductVendor,
const DWFString zDWFProductVersion,
DWFZipFileDescriptor::teFileMode  eCompressionMode
throw ( DWFException ) [virtual]
 


Member Data Documentation

const wchar_t* const DWFToolkit::DWFPackageVersionTypeInfoExtension::kzDocumentType_EModel [static]
 

L"75E513A9-6C41-4C91-BAA6-81E593FAAC10";. See DWFInterface::kzEModel_ID

Definition at line 74 of file 6.01/PackageVersionExtension.h.

const wchar_t* const DWFToolkit::DWFPackageVersionTypeInfoExtension::kzDocumentType_EPlot [static]
 

L"715941D4-1AC2-4545-8185-BC40E053B551";. See DWFInterface::kzEPlot_ID

Definition at line 69 of file 6.01/PackageVersionExtension.h.


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