FDO .NET API Reference | Feature Data Objects |
00001 /* 00002 * Copyright (C) 2004-2006 Autodesk, Inc. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of version 2.1 of the GNU Lesser 00006 * General Public License as published by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00016 * 00017 */ 00018 00019 #pragma once 00020 00021 #include "Runtime\Disposable.h" 00022 #include "Common\mgIStreamReader.h" 00023 00024 class FdoIStreamReader; 00025 00026 BEGIN_NAMESPACE_OSGEO_COMMON 00027 00028 /// \ingroup (OSGeoFDOCommon) 00029 /// \brief 00030 /// The IStreamReader class is a top level interface for stream reader classes. 00031 /// The API it provides allows the user to read large streams of data in blocks of items. 00032 public __gc class IStreamReaderImp : 00033 public NAMESPACE_OSGEO_RUNTIME::Disposable, public NAMESPACE_OSGEO_COMMON::IStreamReader 00034 { 00035 public: 00036 /// \brief 00037 /// Constructs a IStreamReader object based on an unmanaged instance of the stream 00038 /// 00039 /// \param unmanaged 00040 /// Input A Pointer to the unmanaged Stream Reader. 00041 /// 00042 /// \param autoDelete 00043 /// Input Indicates if the constructed dictionary should be automatically deleted 00044 /// once it no longer referenced. 00045 /// 00046 IStreamReaderImp(System::IntPtr unmanaged, System::Boolean autoDelete); 00047 00048 /// \brief 00049 /// Gets the type of the Stream Reader 00050 /// 00051 /// \return 00052 /// Returns the Stream Reader type 00053 /// 00054 __property StreamReaderType get_Type(); 00055 00056 /// \cond DOXYGEN-IGNORE 00057 protected: 00058 __sealed System::Void ReleaseUnmanagedObject(); 00059 00060 public private: 00061 inline FdoIStreamReader* GetImpObj(); 00062 /// \endcond 00063 }; 00064 00065 END_NAMESPACE_OSGEO_COMMON 00066 00067
Comments or suggestions? Send us feedback. |