FDO .NET API Reference Feature Data Objects

mgIStreamReader.h

Go to the documentation of this file.
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 
00023 /// \cond DOXYGEN-IGNORE
00024 BEGIN_NAMESPACE_OSGEO_COMMON
00025 /// \endcond
00026 
00027 /// \ingroup (OSGeoFDOCommon)
00028 /// \brief
00029 /// Enumeration for datatypes used by stream readers.
00030 public __value enum StreamReaderType
00031 {
00032     /// Byte Stream Reader type
00033     StreamReaderType_Byte = FdoStreamReaderType_Byte,
00034 
00035     /// Char Stream Reader type
00036     StreamReaderType_Char = FdoStreamReaderType_Char,
00037 };
00038 
00039 /// \ingroup (OSGeoFDOCommon)
00040 /// \interface OSGeo::FDO::Common::IStreamReader
00041 /// \brief
00042 /// The IStreamReader class is a top level interface for stream reader classes. 
00043 /// The API it provides allows the user to read large streams of data in blocks of items. 
00044 public __gc __interface IStreamReader : public System::IDisposable
00045 {
00046 public:
00047     /// \brief
00048     /// Gets the type of the Stream Reader
00049     /// 
00050     /// \return
00051     /// Returns the Stream Reader type
00052     /// 
00053     __property StreamReaderType get_Type();
00054 };
00055 
00056 /// \cond DOXYGEN-IGNORE
00057 END_NAMESPACE_OSGEO_COMMON
00058 /// \endcond
00059 
00060 

Comments or suggestions? Send us feedback.