DuplicateAttributeFilter.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 1996-2006 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_DUPLICATE_ATTRIBUTE_FILTER_H
00021 #define _DWFTK_DUPLICATE_ATTRIBUTE_FILTER_H
00022 
00027 
00028 
00029 #include "dwfcore/BufferInputStream.h"
00030 using namespace DWFCore;
00031 
00032 #include "dwf/Toolkit.h"
00033 
00034 namespace DWFToolkit
00035 {
00036 
00037 
00061 class DWFDuplicateAttributeFilter : public DWFBufferInputStream
00062                                     _DWFTK_EXPORT_API_MEMORY_CONTROL_BASE_MEMBER
00063 {
00064 
00065 public:
00066 
00079     _DWFTK_API
00080     DWFDuplicateAttributeFilter( DWFInputStream* pInputStream = NULL,
00081                                  bool            bOwnStream = false )
00082         throw();
00083 
00089     _DWFTK_API
00090     virtual ~DWFDuplicateAttributeFilter()
00091         throw();
00092 
00096     _DWFTK_API
00097     virtual size_t available() const
00098         throw( DWFException );
00099 
00103     _DWFTK_API
00104     virtual size_t read( void*  pBuffer,
00105                          size_t nBytesToRead )
00106         throw( DWFException );
00107 
00111     _DWFTK_API
00112     virtual off_t seek( int     eOrigin,
00113                         off_t   nOffset )
00114         throw( DWFException );
00115 
00116 private:
00117 
00118     //
00119     // not implemented
00120     //
00121     DWFDuplicateAttributeFilter( const DWFDuplicateAttributeFilter& );
00122     DWFDuplicateAttributeFilter& operator=( const DWFDuplicateAttributeFilter& );
00123 };
00124 
00125 }
00126 
00127 #endif
00128 

Generated on Tue Jan 6 22:40:03 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5