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\SpatialContext\mgIGetSpatialContexts.h" 00023 00024 class FdoIGetSpatialContexts; 00025 00026 BEGIN_NAMESPACE_OSGEO_FDO_COMMANDS_SPATIALCONTEXT 00027 public __gc __interface ISpatialContextReader; 00028 00029 /// \ingroup (OSGeoFDOCommandsSpatialContext) 00030 /// \brief 00031 /// The IGetSpatialContextsImp class is a concrete implementation of IGetSpatialContexts. 00032 /// The IGetSpatialContexts interface defines the GetSpatialContexts command, 00033 /// which enumerates the existing spatial contexts. 00034 private __gc class IGetSpatialContextsImp : public NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp, 00035 public NAMESPACE_OSGEO_FDO_COMMANDS_SPATIALCONTEXT::IGetSpatialContexts 00036 { 00037 public: 00038 /// \brief 00039 /// Gets a Boolean flag that indicates if the GetSpatialContexts command 00040 /// will return only the active spatial context or all spatial contexts. The 00041 /// default value of this flag is false, return all spatial contexts. 00042 /// 00043 /// \return 00044 /// Returns Boolean value 00045 /// 00046 __property System::Boolean get_ActiveOnly(); 00047 00048 /// \brief 00049 /// Sets a Boolean flag that indicates if the GetSpatialContexts command 00050 /// will return only the active spatial context or all spatial contexts. The 00051 /// default value of this flag is false, return all spatial contexts. 00052 /// 00053 /// \param value 00054 /// Input the Boolean flag 00055 /// 00056 /// \return 00057 /// Returns nothing 00058 /// 00059 __property System::Void set_ActiveOnly(System::Boolean value); 00060 00061 /// \brief 00062 /// Executes the GetSpatialContexts command returning an ISpatialContextReader. 00063 /// 00064 /// \return 00065 /// Returns nothing 00066 /// 00067 NAMESPACE_OSGEO_FDO_COMMANDS_SPATIALCONTEXT::ISpatialContextReader* Execute(); 00068 00069 public private: 00070 IGetSpatialContextsImp(System::IntPtr unmanaged, System::Boolean autoDelete) : NAMESPACE_OSGEO_FDO_COMMANDS::ICommandImp(unmanaged, autoDelete) 00071 { 00072 00073 } 00074 00075 inline FdoIGetSpatialContexts* GetImpObj(); 00076 }; 00077 00078 END_NAMESPACE_OSGEO_FDO_COMMANDS_SPATIALCONTEXT 00079 00080
Comments or suggestions? Send us feedback. |