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

DuplicateAttributeFilter.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_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 {
00063 
00064 public:
00065 
00078     _DWFTK_API
00079     DWFDuplicateAttributeFilter( DWFInputStream* pInputStream = NULL,
00080                                  bool            bOwnStream = false )
00081         throw();
00082 
00088     _DWFTK_API
00089     virtual ~DWFDuplicateAttributeFilter()
00090         throw();
00091 
00095     _DWFTK_API
00096     virtual size_t available() const
00097         throw( DWFException );
00098 
00102     _DWFTK_API
00103     virtual size_t read( void*  pBuffer, size_t nBytesToRead )
00104         throw( DWFException );
00105 
00109     _DWFTK_API
00110     virtual off_t seek( int eOrigin, off_t nOffset )
00111         throw( DWFException );
00112 
00113 private:
00114 
00115     //
00116     // not implemented
00117     //
00118     DWFDuplicateAttributeFilter( const DWFDuplicateAttributeFilter& );
00119     DWFDuplicateAttributeFilter& operator=( const DWFDuplicateAttributeFilter& );
00120 };
00121 
00122 }
00123 
00124 #endif
00125 

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