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 00020 #pragma once 00021 00022 class FdoWmsOvPhysicalSchemaMapping; 00023 00024 BEGIN_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS_OVERRIDE 00025 public __gc class OvClassCollection; 00026 00027 /// <summary> 00028 /// OvPhysicalSchemaMapping is the concrete class that 00029 /// defines the physical schema mappings for a WMS Provider logical schema. 00030 /// </summary> 00031 public __gc class OvPhysicalSchemaMapping : public NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping 00032 { 00033 public: 00034 /// <summary>Constructs a new managed physical schema mapping object.</summary> 00035 OvPhysicalSchemaMapping(); 00036 00037 /// <summary>Constructs a physical schema mapping instance using the 00038 /// result returned from IConnection::CreateSchemaMapping OR using the result of 00039 /// executing an IDescribeSchemaMapping command. This constructor is provided 00040 /// in order that clients are provided a mechanism to downcast from the FDO 00041 /// PhysicalSchemaMapping base class to an FDO Provider specific class 00042 /// that derives from PhysicalSchemaMapping. This constructor is the only 00043 /// mechanism provided by the FDO Managed API that will allow the client to correctly 00044 /// construct a provider specific PhysicalSchemaMapping class. 00045 /// NOTE: If the Provider name associated to the input parameter schemaMapping does not 00046 /// correspond to the provider name of the expected FDO Provider, and InvalidArgumentException 00047 /// will be thrown. 00048 /// </summary> 00049 OvPhysicalSchemaMapping(NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMapping* schemaMapping, System::Boolean autoDelete); 00050 00051 /// <summary>Retrieves the list of classes for whom physical schema mappings have been specified.</summary> 00052 /// <returns>Returns the set of classes as a Class Collection.</returns> 00053 __property NAMESPACE_OSGEO_FDO_PROVIDERS_WMS_OVERRIDE::OvClassCollection* get_Classes(); 00054 00055 public private: 00056 OvPhysicalSchemaMapping(System::IntPtr unmanaged, System::Boolean autoDelete); 00057 00058 inline FdoWmsOvPhysicalSchemaMapping* GetImpObj(); 00059 }; 00060 00061 END_NAMESPACE_OSGEO_FDO_PROVIDERS_WMS_OVERRIDE