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 "Common\Io\mgIoStream.h" 00022 00023 class FdoIoFileStream; 00024 00025 BEGIN_NAMESPACE_OSGEO_COMMON_IO 00026 00027 /// \ingroup (OSGeoFDOCommonIo) 00028 /// \brief 00029 /// IoFileStream provides streamed I/O on a disk file. 00030 public __sealed __gc class IoFileStream : public NAMESPACE_OSGEO_COMMON_IO::IoStream 00031 { 00032 public: 00033 /// \brief 00034 /// creates the stream for a named file. 00035 /// 00036 /// \param fileName 00037 /// Input the file name 00038 /// 00039 /// \param accessModes 00040 /// Input File access modes. Same as the fopen() C run-time library function 00041 /// (mode parameter). 00042 /// 00043 IoFileStream(System::String* fileName, System::String* accessModes); 00044 00045 /// \brief 00046 /// Constructs a stream reader based on an unmanaged instance of the object 00047 /// 00048 /// \param unmanaged 00049 /// Input A Pointer to the unmanaged stream reader. 00050 /// 00051 /// \param autoDelete 00052 /// Input Indicates if the constructed object should be automatically deleted 00053 /// once it no longer referenced. 00054 /// 00055 IoFileStream(System::IntPtr unmanaged, System::Boolean autoDelete); 00056 00057 /// \cond DOXYGEN-IGNORE 00058 public private: 00059 inline FdoIoFileStream* GetImpObj(); 00060 /// \endcond 00061 }; 00062 00063 END_NAMESPACE_OSGEO_COMMON_IO 00064 00065
Comments or suggestions? Send us feedback. |