FDO API Reference | Feature Data Objects |
00001 #ifndef _ISTREAMREADER_H_ 00002 #define _ISTREAMREADER_H_ 00003 // 00004 00005 // 00006 // Copyright (C) 2004-2006 Autodesk, Inc. 00007 // 00008 // This library is free software; you can redistribute it and/or</a> 00009 // modify it under the terms of version 2.1 of the GNU Lesser 00010 // General Public License as published by the Free Software Foundation. 00011 // 00012 // This library is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 // Lesser General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU Lesser General Public 00018 // License along with this library; if not, write to the Free Software 00019 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 // 00021 00022 #ifdef _WIN32 00023 #pragma once 00024 #endif 00025 00026 #include <Common/Std.h> 00027 00028 /// \brief 00029 /// Enumeration for datatypes used by stream readers. 00030 enum FdoStreamReaderType { 00031 FdoStreamReaderType_Byte, 00032 FdoStreamReaderType_Char, 00033 FdoStreamReaderType_WChar 00034 }; 00035 00036 00037 /// \brief 00038 /// The FdoIStreamReader class is a top level interface for stream reader classes. 00039 /// The API it provides allows the user to read large streams of data in blocks of items. 00040 class FdoIStreamReader : public FdoIDisposable 00041 { 00042 public: 00043 /// \return 00044 /// /// Returns the Stream reader type 00045 /// 00046 FDO_API_COMMON virtual FdoStreamReaderType GetType() = 0; 00047 }; 00048 00049 #endif 00050 00051
Comments or suggestions? Send us feedback. |