Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

DWFPackageFileDescriptor.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 1996-2005 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 
00019 
00020 #ifndef _DWFTK_PACKAGE_FILE_DESCRIPTOR_H
00021 #define _DWFTK_PACKAGE_FILE_DESCRIPTOR_H
00022 
00027 
00028 
00029 #ifndef DWFTK_READ_ONLY
00030 
00031 #include "dwfcore/ZipFileDescriptor.h"
00032 using namespace DWFCore;
00033 
00034 #include "dwf/Toolkit.h"
00035 
00036 
00037 
00038 namespace DWFToolkit
00039 {
00040 
00052 class DWFPackageFileDescriptor : public DWFToolkitMemory
00053                                , public DWFZipFileDescriptor
00054 {
00055 
00056 public:
00057 
00067     _DWFTK_API
00068     DWFPackageFileDescriptor( const DWFFile&                   rFile,
00069                               DWFZipFileDescriptor::teFileMode eMode = DWFZipFileDescriptor::eZipSmallest,
00070                               unsigned short                   nVersionMajor = _DWF_FORMAT_VERSION_CURRENT_MAJOR,
00071                               unsigned short                   nVersionMinor = _DWF_FORMAT_VERSION_CURRENT_MINOR )
00072         throw();
00073 
00079     _DWFTK_API
00080     virtual ~DWFPackageFileDescriptor()
00081         throw();
00082 
00086     _DWFTK_API
00087     void open()
00088         throw( DWFException );
00089 
00090 private:
00091 
00092     unsigned short _nMajor;
00093     unsigned short _nMinor;
00094 
00095 private:
00096 
00097     DWFPackageFileDescriptor();
00098     DWFPackageFileDescriptor( const DWFPackageFileDescriptor& );
00099     DWFPackageFileDescriptor& operator=( const DWFPackageFileDescriptor& );
00100 };
00101 
00102 }
00103 
00104 #endif
00105 #endif

Generated on Tue May 17 12:38:50 2005 for Autodesk DWF Toolkit by  doxygen 1.4.1