00001 /****************************************************************************** 00002 * $Id: sfcenumerator.h,v 1.3 1999/07/07 19:39:20 warmerda Exp $ 00003 * 00004 * Project: OpenGIS Simple Features Reference Implementation 00005 * Purpose: Simple Features Provider Enumerator (SFCEnumerator) 00006 * Author: Frank Warmerdam, warmerda@home.com 00007 * 00008 ****************************************************************************** 00009 * Copyright (c) 1999, Les Technologies SoftMap Inc. 00010 * 00011 * Permission is hereby granted, free of charge, to any person obtaining a 00012 * copy of this software and associated documentation files (the "Software"), 00013 * to deal in the Software without restriction, including without limitation 00014 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00015 * and/or sell copies of the Software, and to permit persons to whom the 00016 * Software is furnished to do so, subject to the following conditions: 00017 * 00018 * The above copyright notice and this permission notice shall be included 00019 * in all copies or substantial portions of the Software. 00020 * 00021 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00022 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00023 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00024 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00025 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00026 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00027 * DEALINGS IN THE SOFTWARE. 00028 ****************************************************************************** 00029 * 00030 * $Log: sfcenumerator.h,v $ 00031 * Revision 1.3 1999/07/07 19:39:20 warmerda 00032 * added OpenAny() 00033 * 00034 * Revision 1.2 1999/06/08 17:51:55 warmerda 00035 * remoted unimplemented MoveNextOGISProvider() 00036 * 00037 * Revision 1.1 1999/06/08 03:51:00 warmerda 00038 * New 00039 * 00040 */ 00041 00042 #ifndef _SFCENUMERATOR_H_INCLUDED 00043 #define _SFCENUMERATOR_H_INCLUDED 00044 00045 #include <atldbcli.h> 00046 00051 class SFCDataSource; 00052 00053 class SFCEnumerator : public CEnumerator 00054 { 00055 public: 00056 int IsOGISProvider(); 00057 00058 SFCDataSource *OpenAny( const char * pszDataSource ); 00059 }; 00060 00061 00062 #endif /* ndef _SFCENUMERATOR_H_INCLUDED */