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

IncludeSegment.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 #ifndef _DWFTK_INCLUDE_SEGMENT_H
00020 #define _DWFTK_INCLUDE_SEGMENT_H
00021 
00026 
00027 
00028 #ifndef DWFTK_READ_ONLY
00029 
00030 #include "dwf/Toolkit.h"
00031 #include "dwf/publisher/model/Segment.h"
00032 
00033 
00034 namespace DWFToolkit
00035 {
00036 
00058 class DWFIncludeSegment : public DWFSegment
00059 {
00060 
00061 public:
00062 
00066     static const char* const kz_Include_Library;
00067 
00068 public:
00069 
00080     _DWFTK_API
00081     DWFIncludeSegment( DWFSegmentHandlerBuilder&    rSegmentBuilder,
00082                        DWFGeometryHandlerBuilder&   rGeometryBuilder,
00083                        DWFFeatureHandlerBuilder&    rFeatureBuilder,
00084                        DWFAttributeHandlerBuilder&  rAttributeBuilder,
00085                        DWFPublishedObject::Factory& rObjectFactory )
00086         throw();
00087 
00094     _DWFTK_API
00095     DWFIncludeSegment( const DWFIncludeSegment& rSegment )
00096         throw();
00097 
00104     _DWFTK_API
00105     DWFIncludeSegment& operator=( const DWFIncludeSegment& rSegment )
00106         throw();
00107 
00113     _DWFTK_API
00114     virtual ~DWFIncludeSegment()
00115         throw();
00116 
00132     _DWFTK_API
00133     void open( const DWFString* pName )
00134         throw( DWFException );
00135 
00151     _DWFTK_API
00152     void open( const DWFString& zName )
00153         throw( DWFException );
00154 
00155 private:
00156 
00157     //
00158     // Not Implemented
00159     //
00160 
00161     DWFIncludeSegment();
00162 };
00163 
00164 
00165     //
00166     // required for win32 dll external linkage
00167     //
00168 #ifdef  _DWFCORE_WIN32_SYSTEM
00169 #ifndef DWFTK_STATIC
00170 
00171 _declspec(selectany) const char* const DWFIncludeSegment::kz_Include_Library = "?Include Library/";
00172 
00173 #endif
00174 #endif
00175 
00176 
00177 }
00178 
00179 
00180 #endif  
00181 #endif

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