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 "FDO\Commands\mgICommandImp.h" 00022 #include "FDO\Commands\Schema\mgIDescribeSchemaMapping.h" 00023 00024 class FdoIDescribeSchemaMapping; 00025 00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA 00027 public __gc class PhysicalSchemaMappingCollection; 00028 00029 /// \ingroup (OSGeoFDOCommandsSchema) 00030 /// \brief 00031 /// The IDescribeSchemaMappingImp class is a concrete implementation of IDescribeSchemaMapping. 00032 /// The IDescribeSchemaMapping interface defines the DescribeSchemaMapping command, which 00033 /// describes the logical to physical schema mappings for feature schemas 00034 /// available from the connection. The DescribeSchemaMapping 00035 /// command can describe the mappings for a single schema or all schemas available from 00036 /// the connection. The Execute operation returns an PhysicalSchemaMappingCollection 00037 /// object. 00038 private __gc class IDescribeSchemaMappingImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 00039 public NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::IDescribeSchemaMapping 00040 { 00041 public: 00042 /// \brief 00043 /// Gets the name of the schema for which to describe 00044 /// schema mappings. 00045 /// 00046 /// \return 00047 /// Returns the schema name 00048 /// 00049 __property System::String* get_SchemaName(); 00050 00051 /// \brief 00052 /// Sets the name of the schema to describe. This function is optional; if not 00053 /// specified, execution of the command will describe the mappings for 00054 /// all schemas. 00055 /// 00056 /// \param value 00057 /// Input the schema name 00058 /// 00059 /// \return 00060 /// Returns nothing 00061 /// 00062 __property System::Void set_SchemaName(System::String* value); 00063 00064 /// \brief 00065 /// Gets the current "include default mappings" setting. 00066 /// 00067 /// \return 00068 /// Returns True if Execute() will include default mappings. 00069 /// 00070 __property System::Boolean get_IncludeDefaults(); 00071 00072 /// \brief 00073 /// Sets the "include default mappings" setting. 00074 /// 00075 /// \param includeDefaults 00076 /// Input True: Execute() will return 00077 /// all mappings for the feature schema(s). 00078 /// False: Execute() will not include default logical to physical 00079 /// mappings, only those mappings that have been overridden will 00080 /// be returned. 00081 /// 00082 /// \return 00083 /// Returns nothing 00084 /// 00085 __property System::Void set_IncludeDefaults(System::Boolean includeDefaults ); 00086 00087 /// \brief 00088 /// Executes the DescribeSchemaMapping command and returns a 00089 /// PhysicalSchemaMappingCollection. If the specified schema name does not exist, 00090 /// the Execute method throws an exception. 00091 /// 00092 /// \return 00093 /// Returns the schema mapping collection for the requested feature schemas. 00094 /// 00095 NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA::PhysicalSchemaMappingCollection* Execute(); 00096 00097 public private: 00098 IDescribeSchemaMappingImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete) 00099 { 00100 00101 } 00102 00103 inline FdoIDescribeSchemaMapping* GetImpObj(); 00104 }; 00105 00106 END_NAMESPACE_OSGEO_FDO_COMMANDS_SCHEMA 00107 00108
Comments or suggestions? Send us feedback. |